If you are using a web server running Apache you can easily remove extensions from the url by using the Rewrite command inside of your .htaccess file. What this allows you to do is change the URL for the asset that is being requested. You may want to do this for a few reasons -
This would change http://www.example.com/index.php to http://www.example.com/index
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]
This would change http://www.example.com/index.html to http://www.example.com/index
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.html [NC,L]
This would change http://www.example.com/index.php to http://www.example.com/index.html
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+).html$ $1.php [NC,L]
This would change http://www.example.com/index.html to http://www.example.com/index.php
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+).php$ $1.html [NC,L]
This would change http://www.example.com/index.php to http://www.example.com/index.butt
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+).butt$ $1.php [NC,L]
Another great resource http://alexcican.com/post/how-to-remove-php-html-htm-extensions-with-htaccess/