Created
March 16, 2015 12:12
-
-
Save corpsefilth/3e62d5cb76c863222d62 to your computer and use it in GitHub Desktop.
Rewrite all index.php out of url on front end but not backend in magento, add this to .htaccess file
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
## rewrite everything else to index.php | |
RewriteRule .* index.php [L] | |
RewriteCond %{REQUEST_URI} !^/index.php/admin/ | |
RewriteCond %{REQUEST_URI} !^/index.php/admin | |
RewriteRule ^index.php/(.*) /$1 [R=301,QSA,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment