CodeIgniter Forums

Full Version: problem with redirect
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

Hello guys,

I want to redirect the admin user to (here main is the controller)
and normal users to (here main is the controller)

i was able to redirect to , from a controller ->

but when i try to redirect admin user to , its not working. I am getting the 404- page not found message.

it seems CI is interpreting the 'foldername' as a controller and 'admin' as its function here?. we are not able to redirect to inner folders?..

please let me know what can be done to redirect to this inner folder

Thank you,

El Forum

[eluser]Yoosuf Muhammad[/eluser]
use routing

refer following link