Quote:
Originally Posted by iojam
|
I am having horrible problems trying to get the mod rewrite to move my sitemap_index.xml.gz to the forum root.
I tried the mod_rewrite check as stated above using this code
Code:
RewriteEngine on
RewriteRule testpage\.html http://www.google.com [R]
and didn't work so I contacted my host and he said that its written incorrectly. He put this code in instead, and it worked.
Code:
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^testpage.html$ http://www.google.com [NC,L,R=307]
I was forwarded to google's site.
In the VBSEO instructions I'm supposed to put to put this in my .htaccess file to move the sitemap_index.xml.gz file:
Code:
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
but since the google code was written incorrectly for it to work on my site, maybe the other RewriteRule code is written incorrectly as well.
I can see sitemap_index.xml.gz in my /vbseo_sitemap/data/ folder (
and the folder has 777 permissions) and the generator and pings all work.
I'm really frustrated and hope someone can help me out.
TriMe