Last active
August 29, 2015 14:27
-
-
Save orlovmax/8b5a3fc632e2a715f032 to your computer and use it in GitHub Desktop.
.htaccess redirect all stuff to index
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_URI} !^/$ | |
| RewriteRule .* / [L,R=302] |
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_URI} !^/$ | |
| RewriteCond %{REQUEST_URI} !^/local$ | |
| RewriteRule .* / [L,R=302] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment