Problem with _remap function (trying to redirect) [SOLVED] |
[eluser]BrianDHall[/eluser]
www.root.com/username wouldn't work unless you were using a special route. _remap is only called if the constructor is called, so you'd need www.root.com/home to activate remap, and www.root.com/home/username to get it to redirect to profile/username. www.root.com/username causes CI to look for the username controller unless you have routed it in some special way, which of course doesn't exist so 404. |
Welcome Guest, Not a member yet? Register Sign In |