Return to Snippet

Revision: 57697
at June 6, 2012 13:25 by wiryanm


Initial Code
RewriteEngine On
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^([^\.]+)$ $1.php [NC,L]

Initial URL
http://css-tricks.com/snippets/htaccess/remove-file-extention-from-urls/

Initial Description
.htaccess

Initial Title
Remove .php from URL

Initial Tags
htaccess

Initial Language
Apache