Yesterday, I blogged about htaccess and a custom 404 page. Also in that article, I hinted that your framework should create your 404 page for you.

CodeIgniter is my favorite PHP framework, and I quickly explain how to create a custom 404 page.

Okay this is so easy I don't even know why I'm blogging about it. This is how you create a Codeigniter 404 page.

Go into your Application/errors directory and create a file called error_404.php. That's it.

Reference

Comments

Prosunjit Biswas
Nice post, I find it very helpful. Thank you man.
Post Reply
Name *
Email (For verification & Replies)
URL
Code   
Submit Comment
Cancel
Show/Hide Comment form