Created
April 7, 2015 23:56
-
-
Save oliworx/62566e27f7dbff9ec439 to your computer and use it in GitHub Desktop.
.htaccess to redirect all requests to index.php with original request as query string
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
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*)$ /index.php?$1 [L,PT] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment