vbseo sitemap htaccess problem

miojamo

New Member
Hi

My htaccess file looks like this:

Code:
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]

Rewrite rule is not working for sitemap file. I've noticed that if I comment this line:

RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ x2yzseo.php [L,QSA]

It works fine. Is it really needed?

Thanks
 
Did you have vBSEO installed? if so you were suposed to open the sitemap htaccess and add it to the buttom of your current htaccess code.

did you CHMOD it?
 
Slugger00001 said:
Did you have vBSEO installed? if so you were suposed to open the sitemap htaccess and add it to the buttom of your current htaccess code.

did you CHMOD it?

Yes I have and add it.

I did CHMOD data directory. Sitemap files beeing created but rewrite rule doesn't work if I don't comment the line.
 
Back
Top