Its better to hide the index file extension as part of security. We can do this by adding few parameters on respective htaccess files.
1) How to remove the.php extension from the URL?Options +FollowSymLinks
Options +Indexes
RewriteEngine on
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^([^.]+)$ $1.php [NC,L]
2) How to remove the.html extension from the URL ?
Options +FollowSymLinks
Options +Indexes
RewriteEngine on
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^([^.]+)$ $1.html [NC,L]
Cheersss!!!!!!!!!!!!!