Created
May 11, 2019 15:08
-
-
Save aniket-magadum/6e801d8270b555c68c24d463b17e81b2 to your computer and use it in GitHub Desktop.
.htaccess file for removing index.php from codeigniter . It uses the mod_rewrite PHP extension.
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
<IfModule mod_rewrite.c> | |
RewriteEngine on | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*)$ index.php/$1 [L,QSA] | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment