Yes, but the latest version is in the downloads area HERE on vBSEO.com. Since you're running vBSEO, you need it.
This is a discussion on Sitemap location within the General Discussion forums, part of the vBSEO Google/Yahoo Sitemap category; Yes, but the latest version is in the downloads area HERE on vBSEO .com. Since you're running vBSEO , you ...
Yes, but the latest version is in the downloads area HERE on vBSEO.com. Since you're running vBSEO, you need it.
I did as you said but the file is not found
Post the contents of the .htaccess file in the root of your site.
Thanks
Code:# Comment the following line (add '#' at the beginning) # to disable mod_rewrite functions. # Please note: you still need to disable the hack in # the vBSEO control panel to stop url rewrites. RewriteEngine On # Some servers require the Rewritebase directive to be # enabled (remove '#' at the beginning to activate) # Please note: when enabled, you must include the path # to your root vB folder (i.e. RewriteBase /forums) #RewriteBase / #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com #RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301] RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] RewriteCond %{QUERY_STRING} !vbseourl= RewriteCond %{REQUEST_FILENAME} !(admin/|mod/|chat|cron) RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L] RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$ RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !(admin|mod|clientscript|cpstyles|images)/ RewriteRule ^(.+)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
That is the vBSEO .htaccess file. The .htaccess that goes in your root needs to be the one that comes with vBSEO Sitemap, as I noted earlier.
Also, the line that contains this:
vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
will need to be changed to:
/forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
All the content of the sitemap generator htaccess file is already there and yes I will change that.
EDIT: it shouldn't be changed.that .htaccess file is in forum root
The .htaccess you posted above should be the one in your FORUM root. It contains all the vBSEO rules.
The one for your SITE root should only have a couple of lines, to handle the vBSEO Sitemap rewrites.
So the sitemap htaccess content should be in site root htaccess.RIght
In your situation, yes.
Ok it works now but it seems kinda stupid because it says:
<loc>http://www.zikihideout.com/sitemap_1.xml.gz</loc>
though the real sitemap is in http://www.zikihideout.com/forums/vbseo_sitemap/data/sitemap_1.xml.gz
That is only one of your sitemaps. As the site grows, more will be created since you can only have a maximum of 50k URLs per file. Submitting the index file will always include all of your sitemaps.
The purpose of having them created in the data directory is to keep your site root clean and neat. The .htaccess rules allow them to appear to be in the root.
But there is no sitemap at http://www.zikihideout.com/sitemap_1.xml.gz !
Crap nvm.....![]()
The thread can be now closed.Thanks for the great support!How can I write a testimonial??