Currently i am using the below .htaccess for removing the .php extension
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php
I want to show the page www.example.com/login.php when typing www.example.com/login and want to show www.example.com/profile=username when typing www.example.com/username
Any suggestion or answers thanks in advance
http://www.9lessons.info/2009/11/pretty-urls-with-htaccess-file.html