[Solved] CodeIgniter/CI 3 - 404 Page not found (with or without subdirectory) problem
Check the following if you have 404 Page Not Found error when you deploy your CI application to Linux, while there is no problem under MS Windows.
- Check if your controller file name and class name inside that file have identical (not ONLY the same, but Identical) name. For example, if your controller class name is MyController, your controller file name must be: MyController.php. mycontroller.php does not work, Mycontroller.php does not work. It MUST BE MyController.php, identical to class name MyController.
Hope it helps.