Since upgraded from vb4 to vb5, most users has an old url with a .html at the end. I need to remove that before it called the routing.php. How to achieve this? I tried to add this in the .htaccess file:
Restarting apache does nothing. The issue is, the page redirects when I added the .html. I need it not to redirect.
Code:
# Main Redirect RewriteCond %{REQUEST_URI} !\.(gif|jpg|jpeg|png|css)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}.html -f # This is what I've added RewriteRule ^(.*)$ index.php?routestring=$1 [L,QSA]
Comment