I am working codeigniter, Here I have website which contains frontend website and admin panel. Now I need to add admin panel in codeigniter. I need to get URLs as following:
This is for frontend http://example.com/frontend
This is for admin panel http://example.com/frontend/adminpanel
Can anyone help me how can I do this in codeigniter.
I tried creating a directory in the applications/controllers/adminpanel but it not working showing me 404 error.