![]() |
Removing index.php from url - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Removing index.php from url (/showthread.php?tid=60002) |
Removing index.php from url - El Forum - 12-26-2013 [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/ |