Removing index.php from url |
[eluser]mvnkarun222[/eluser]
I cant able to remove index.php my htaccess code is <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /CI RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php?/$1 [L] <-- do not forget the ? after index.php! </IfModule> <IfModule !mod_rewrite.c> # If we don't have mod_rewrite installed, all 404's # can be sent to index.php, and everything works as normal. ErrorDocument 404 /index.php </IfModule> My folder is in http://localhost/CI/ |
Messages In This Thread |
Removing index.php from url - by El Forum - 12-26-2013, 04:08 AM
|