404 Error on default controller |
I am using CI3 for a client's website.
After working on localhost under windows platform, the site is working fine. Accessing the site on localhost as http://localhost/folder goes to the default controller page. Transferring the files, setting database options online and trying access via http://domain.com/ results to a 404 error. I can't even access the home page via http://domain.com/index.php. What's working is http://domain.com/controller or http://domain.com/controller/function... or any option under routes, but not homepage. My .htaccess: Code: <IfModule mod_rewrite.c> My routes: PHP Code: $route['default_controller'] = 'Main'; Kindly assist. PS: I tested with CI2 and it works with the above options. |
Welcome Guest, Not a member yet? Register Sign In |