Welcome Guest, Not a member yet? Register   Sign In
CI routers configuration
#1

[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!
#2

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




Theme © iAndrew 2016 - Forum software by © MyBB