Created
October 13, 2015 07:27
-
-
Save Itachi261092/1cbdaac1d7348b97ea45 to your computer and use it in GitHub Desktop.
[HTACCESS] Replace "*/index.php" or "*/index" URL 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
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{REQUEST_URI} ^/index$ [OR] | |
RewriteCond %{REQUEST_URI} ^/index[.]+(\w+)$ | |
RewriteRule . / [R=301,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment