/ Published in: Apache
.htaccess
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
RewriteEngine On RewriteCond %{SCRIPT_FILENAME} !-d RewriteRule ^([^\.]+)$ $1.php [NC,L]
URL: http://css-tricks.com/snippets/htaccess/remove-file-extention-from-urls/