I want to write rewrite rule for page url that have no .php extension..
for example http://www.3gphone.in/brands.php into http://www.3gphone.in/brands
Here is my code, but it is not working..
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^([^/]+)/$ $1.php