How do I implement... a 404 page?

rl2rl2
edited October 2017 in Share
Okay so I've started out by creating a new page in the CMS which I have given the location as 'not found' and attach the 404_error layout template to it. However, if I go to http://localhost:3000/asdfghjkl I get an unstyled 404 Page Not Found page with message 'The page you requested was not found.'

I've worked out that the browser is loading fuel/application/views/errors/html/error_404.php

So I tried renaming the location to 'error_404' as well through the CMS this too did not work.

What is the correct way to tell Fuel to load the 404 page I have created from the CMS directly?

Comments

Sign In or Register to comment.