I have the following in my .htaccess file, and it removes the .php of the URL for 'friendly urls'.


RewriteEngine on
RewriteCond %{REQUEST_URI} !(\.[^./]+)$
RewriteCond %{REQUEST_fileNAME}...