Hello. I saw the updated htaccess file info, but noticed another change that was not mentioned and wanted to make sure I don't screw up.
Here is what I have in my htaccess file now
Here is what my change will look like:Code:RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron|rvoweather/) RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1 [L,QSA] RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images|rvoweather)/ RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]
My Question is: Do I need to update that last line (in red) to this:Code:RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|vbseo_sitemap/|cron|rvoweather/) RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA] RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images|rvoweather)/ RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]
or leave it as is? Thanks for your help.Code:RewriteRule ^(.+)$ vbseo.php [L,QSA]
Also: I noticed that the code I am supposed to change has another big difference:
My code:
The updated code:Code:RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1 [L,QSA]
Do I need to keep this with the 'archive' stuff in it? Not really sure what that line should be. Any help will be appreciated. Thanks folks.Code:RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
Cheers,
Bruce



LinkBack URL
About LinkBacks





Reply With Quote


