file extensions with php

11th Apr 2005

you can drop the file extension in your url's to leave nice and clean addresses like theletter.co.uk/contact instead of theletter.co.uk/contact.php. To do this using the technique I'm just about to detail, you need to have access to your .htaccess file. Simply pop this line into your file:
Options +MultiViews
and you should be able to omit the .php at the end of each url.

web design