I have been working with CodeIgniter for quite a while now and I\'m currently doing a project for a client that would like a custom 404 pag
My fast approach to solving the problem is to create a function in an autoloaded helper file in the project i'm working on. This helper just redirects to the custom 404 page. So i just call show_my_404() instead of show_404()
function show_my_404(){
//Using 'location' not work well on some windows systems
redirect('controller/page404', 'location');
}