RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ $1.php [L,QSA]
This works when i am typing in the url like www.anything.com/home, but when i click one of the link of the webpage i created, it shows the .php extension. Please Help!!!