I recently added
Options +Multiviews

to my .htaccess file so that URLs on my site would be


rather than


It's working fine, but I now wish to redirect bookmarked users and robots that request the old URLs.

I've tried

Redirect /features/cars.php

but this gives file not found: presumably as you can't redirect to the same place.
Does anyone know how to do this?

thanks in advance

I now suspect it's a job for mod_rewrite: after all you can change the URL to have the www in if the user doesn't type it:
RewriteCond %{HTTP_HOST} ^mydomain.co.uk
RewriteRule (.*) http://www.mydomains.co.uk/$1 [R=301,L]

So how do I Rewrite all filename.php requests on my site to filename

(no .php)?

Finally, I found a reference for this. Ok I'm fairly new to this. I'm assuming I need apache with my hosting.

Where can I find a good reference for learning how to have all the files on my website say www.website.com/file/filename.php to just say www.website.com/file/filename ?

I noticed it has something to do with a htaaccess file..

can anyone explain or send me in the right direction?