Click here to Skip to main content
15,868,164 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
0
down vote
favorite
I am developing eCommerce site in CodeIgniter. I am facing problem in opening the pages of Admin. I have set the default_controller for the main site. Now you how can I open the pages of Admin. I want that when I type http://localhost/ecom/admin then it will open like this http://localhost/ecom/account/login. I have used custom routing in route.php file like this $route['account/login'] = 'admin/login_controllers'; $route['account/dashboard'] = 'admin/dashboard';

login_controllers and dashboard are controllers inside the Admin folder.

What I have tried:

<pre>When I try to open http://localhost/ecom/admin then it shows 404 Page Not Found. Try to solve my problem.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900