Custom 404 Error Pages in Codeigniter (the easy way)
For those who have worked with the Codeigniter framework, you may have wanted to customize your error pages, specifically the 404. It looks like most of the developers on the forums are coming up with more complicated ways then necessary. The easiest way is to edit the following file:
/includes/application/errors/error_404.php
I opted for a customized background image, specific link and some modified copy. You could of course treat this like a view and do more dynamic things… but really? it’s a 404 page, let’s keep it simple people.
Here is an example of the one I put together: http://www.campuslive.com/somecrazyjibberishurl
No related posts.
Posted in Web Development2 comments to “Custom 404 Error Pages in Codeigniter (the easy way)”
Leave a comment
You need to log in to comment.
7:34 pm
Coder
Hi Jared, Nice bread, now how about some meat? Code for dumping the CI object to the screen for development debugging?Coder
8:48 pm
Christopher Cuizon
Dude your awesome nice and Easy… fast and quick ..