Created
August 29, 2012 03:48
-
-
Save jorgepinon/3506612 to your computer and use it in GitHub Desktop.
ExpressionEngine htaccess exclude list method
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 | |
# exclude list method: http://expressionengine.com/wiki/Remove_index.php_From_URLs/#Include_List_Method | |
RewriteCond $1 !^(admin|css|images|js|templates|themes|uploads|favicon\.ico|robots\.txt|index\.php|googleWebmasterFile\.html|sitemap\.html) [NC] | |
RewriteRule ^(.*)$ index.php?/$1 [L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment