codeigniter 404 page not found on live server

codeigniter 404 page not found on live server

laravel 404 page not found on live server

MVC 404 page not found on live server

if you are using MVC with OOPS Concept when your code in localhost on windows it running but when upload to live server OS is linux error 404 page not found on live server. It could be due to the simple fact that the server runs Linux which is case sensitive for file names

Changing the first letter to uppercase on the file’s name and class name works.

file: controllers/Login.php

class: class Login extends CI_Controller { … }

The file name, as the class name, should starts with capital letter. This rule applys to models too