Removing index.php file from URI - 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 file from URI (/showthread.php?tid=44478) |
Removing index.php file from URI - El Forum - 08-15-2011 [eluser]Tanvir[/eluser] Hello, I am new to codeigniter. Every time I type the URL, I have to put the index.php/controller name . How can I get rid of this index.php URI part. I want to use the URI this way- ..localhost/mySite/controller name . I tried deleting the index.php from $config['index_page'] = 'index.php'; and then typing localhost/mySite/controller name, but it didnt work. I need to add the index.php URI part to get to the controller class. Removing index.php file from URI - El Forum - 08-16-2011 [eluser]wr5aw[/eluser] Have a look at this - http://codeigniter.com/wiki/mod_rewrite/ |