Created
February 18, 2014 08:44
-
-
Save lyonsun/9067039 to your computer and use it in GitHub Desktop.
codeigniter, remove index.php from url, add this file under application root directory.
This file contains hidden or 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 | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*)$ index.php/$1 [L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment