Created
September 9, 2014 12:03
-
-
Save qt91/fe712d50307b4a05edb2 to your computer and use it in GitHub Desktop.
File htaccess remove "index.php" in Codeigniter
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
DirectoryIndex index.php | |
RewriteEngine on | |
RewriteCond $1 !^(index\.php|images|css|js|robots\.txt|favicon\.ico) | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*)$ ./index.php/$1 [L,QSA] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment