CodeIgniter Forums
CI routers configuration - 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: CI routers configuration (/thread-23267.html)



CI routers configuration - El Forum - 10-05-2009

[eluser]introvert[/eluser]
Hello,

I want to be able to call controller with arguments this way:

domain.com/username
domain.com/admin
etc..

So that this would basically call default controller with the username argument.

How is it possible to achieve that with CI?

Thanks for help!


CI routers configuration - El Forum - 10-05-2009

[eluser]bretticus[/eluser]
Use URI Routing or _remap. Read the manual for details.