Remove ".php" extension from URL through .htaccess (test from localhost)
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]
refer:
https://www.youtube.com/watch?v=-qOiNowm0L4
http://www.websitecodetutorials.com/code/htaccess/canonicalization-htaccess-mod_rewrite-301-redirect-non-www-to-www-and-index-to-folder.php
EmoticonEmoticon