How do I implement... a 404 page?
  • 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?
  • Try using 404_error instead of error_404.
  • Thank you, that works.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!