CodeIgniter Forums

Full Version: $route['404_override'] - why don't random URLs generate 404's ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

I'm using the 'new' routing feature - $route['404_override'].

If I understand correctly, this should re-route any request that's returned 404 to the state URL.

But when I enter some address...


I get an error page like this:

An Error Was Encountered

Unable to load your default controller. Please make sure the controller
specified in your Routes.php file is valid.

El Forum

What CI version you are using?