CodeIgniter has a built in 404 catch, however it displays a pretty plain page of just some text in a box. It would be much nice if you were able to display your own custom 404 page that was in your sites styling.
There is an option to edit the routes file and updated the $route['404_override'] variable to point to a custom 404 page of your own, however this is only ever called if it the controller isn’t found. If the controller is found, but a method in it isn’t, the plain looking default 404 is used. Here’s a quick workaround. Read more…
