Sometimes we need to remove the File Extension in our URL like .php and .html for a different reason. For me my reason to remove is for security reasons.
to do that go in your htaccess file and open it on your favorite text editor. mine is sublime text
RewriteRule ^contact$ contact.php [L]
RewriteRule ^about$ about.html [L]
in this case http://www.yourdomain.com/contact.php will now be http://www.yourdomain.com/contact