'default_controller' in codeingter3 HMVC is not working |
Hi, In my project, I am using CI3 HMVC. Now, I am facing problem with routing. I want users to type www.demosite.com and that take them or call my home module. I do not want to show like www.demosite.com/home. I want to show the url like www.demosite.com. for this, I set default controller in application/config/routes, like this
Code: $route['default_controller'] = "home"; also in my home module, I added a route folder where I wrote Code: $route['home'] = "home"; here is my .htaccess Code: AddType text/x-component .htc and here is my home controller Code: class Home extends MX_Controller{ When I run this, I got 404 error. Please help me to solve this problem. |
Welcome Guest, Not a member yet? Register Sign In |