CodeIgniter Forums
CI routers configuration - 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: CI routers configuration (/showthread.php?tid=23267)



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.