I'm using the following code on a web server, from hostgator, but I can not hide the .php
extension. How do I resolve this?
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php