Created
July 28, 2016 06:11
-
-
Save s2ar/91d62e79ee807629372c2a58bc52723a to your computer and use it in GitHub Desktop.
Redirect from index.php to
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
# Redirect from index.php to / | |
RewriteCond %{THE_REQUEST} index.php [NC] | |
RewriteCond %{REQUEST_URI} !/bitrix/admin/.* [NC] | |
RewriteRule (.*?)index\.php/*(.*) /$1$2 [R=301,NE,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment