CodeIgniter Forums
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/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: How to remove controller name "home" for my index page in URL? (/thread-45878.html)



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.