Hurry! Save upto 90% | April 2024 X

How to solve the file name related issues in PHP CodeIgniter?


In spite of carefully uploading all necessary files, the homepage sometimes shows a 404, not found error. There are many probable reasons for this error. The most likely however, is the name of your home controller.

Please follow the steps below to check with the issue:

  1. Click open routes.php inside the config folder.
  2. The name of the default controller is home.
  3. Go to the Controllers folder.
  4. If the first letter is in lower case. Change it to the upper case.
  5. Now, refresh the page.
  6. It works.
  7. File names are case sensitive.