Last active
June 26, 2017 22:05
-
-
Save ivanfgm/d6fa3af5b2526ab6cd3967b95a11d89b to your computer and use it in GitHub Desktop.
htaccess file that redirects all traffic to index.php in apache.
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?path=$1 [NC,L,QSA] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment