Created
June 2, 2014 06:29
-
-
Save rafaelfoster/dfc112499c44155c6a58 to your computer and use it in GitHub Desktop.
Apache - Conf to remove .php from url
This file contains hidden or 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
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule (.*) $1.php [L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment