Hi
My htaccess file looks like this:
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
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