I would like to make my "links.php" URL be accessible by simply typing in mydomain.com/forums/links without the ".php" on the end.
Is there a rewrite that won't clash with the vBSEO .htaccess that can be inserted in .htaccess ... or is this the simplest way to do this?
Here's my .htaccess file:
Thanks!RewriteEngine On
RewriteCond %{HTTP_HOST} ^hometheatershack.com
RewriteCond %{REQUEST_URI} ^/forums/
RewriteRule (.*) http://www.hometheatershack.com/forums/$1 [R=301,L]
RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} (admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.*)$ $1 [L]
RewriteCond %{QUERY_STRING} !vbseourl=
RewriteCond %{REQUEST_FILENAME} !chat
RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]



LinkBack URL
About LinkBacks





Reply With Quote
