Quote:
Originally Posted by cdement
I did follow the instructions correctly the .htaccess file was uploaded and my server supports mod_rewrite, but still nothing seems to work the way it should.
Update:
I figured it out! Not sure why this worked, but I put the full url in the rewrite rule. So now it looks like this:
Code:
RewriteEngine On
RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ http://www.MYSITE.com/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
After doing that I was able to access and submit the sitemaps to google and google was able to accept them through these urls:
Code:
http://www.MYSITE.com/sitemap_index.xml.gz
http://www.MYSITE.com/sitemap_forum_1.xml.gz
http://www.MYSITE.com/sitemap_archive_1.xml.gz
http://www.MYSITE.com/sitemap_group_1.xml.gz
http://www.MYSITE.com/sitemap_member_1.xml.gz
http://www.MYSITE.com/sitemap_tags_1.xml.gz
|
Probably you only needed to enable "RewriteBase /" directive within your .htaccess file. I'm glad you finally got it working.