Created
August 5, 2015 12:02
-
-
Save jopfre/0884790e65e4c1b150b2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#change $1.php to whatever extension you wish to remove | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^([^\.]+)$ $1.php [NC,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment