I have Vbseo installed. It's actually the x2yzseo version. Now I am trying to get the sitemap plugin to work, but for some reason it's not generating the sitemap properly. The plugin says that the sitemap was generated, but it is not there. This is what my htaccess looks like.
Is it possible that the sitemap isn't working because of the name of vbseo that is changed to x2yzseo.php ?
I tried removing the underscore after urllist|sitemap. Didn't work.
I also tried to change:
To this:
But that didn't work either. Please help, I would like to get google to start indexing my sitemaps.
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 x2YZSEO 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)?)$ x2yzseo_sitemap/x2yzseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron)
RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ x2yzseo.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ x2yzseo.php [L,QSA]
Is it possible that the sitemap isn't working because of the name of vbseo that is changed to x2yzseo.php ?
I tried removing the underscore after urllist|sitemap. Didn't work.
I also tried to change:
Code:
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron)
RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ vbseo.php [L,QSA]
To this:
Code:
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron|vbseo_sitemap/)
RewriteRule ^(.*\.php(/.*)?)$ vbseo.php [L,QSA]
But that didn't work either. Please help, I would like to get google to start indexing my sitemaps.
Thanks.