How to remove controller name "home" for my index page in 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: How to remove controller name "home" for my index page in URL? (/showthread.php?tid=45878) |
How to remove controller name "home" for my index page in URL? - El Forum - 10-10-2011 [eluser]term25[/eluser] hi, i would like to know how can I remove the name of my controller for the homepage. My default controller has a name home.php And when I access my site it look like this: Code: http://example.com/home but I need: Code: http://example.com/ Is this possible to set in routes.php? How? Thanks in advance for any advice. |