Quote:
Originally Posted by Kirk93
I'm getting errors with this.
sitemap_index.xml.gz is located in /vbseo_sitemap/data/..., but when I link to it the search engines can't find the additional xml's because they're reportedly supposed to be in the root folder.
How do I fix this aside from manually adding each one? Thanks for your help by the way. 
|
You are correct the actual file locations for all sitemaps are in /vbseo_sitemap/data/ but that is not where you link to them. You link to the index file in the forum root.
Code:
http://www.yoursitename.com/forums/sitemap_index.xml.gz
The index sitemap file does not reside there but it and all other sitemap files are accessed there. For this to work correctly, this line should be in your forum root .htaccess .
Code:
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]