|
I'm having problems with what should be a simple URL rewrite.
This is what i have so far
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ $1.php [L]
RewriteRule ^contact/findadealer/([^/]*)\.html$ contact/findadealer.php?disID=$1 [L]
I want to show a friendly URL for:
/contact/findadealer.php?disID=37
e.g.
/contact/findadealer/37.html
I've tried different combinations in my htaccess file but none seem to work i just keep getting a 404 error.
Hope someone can help.
Cheers
Wayne
|