1

In BOLT config.yml file I have set the

notfound: index.php

So that every not found exception takes user to the homepage but for some reason it's not working for me. e.g: http://meubleshouse.com/some-invalid-url

Any idea what I am doing wrong here?

Faisal Ashfaq
  • 2,545
  • 4
  • 28
  • 41

1 Answers1

3

That's not how it works, since it expects either:

  • The name of a .twig file from your theme folder
  • Or you'll want to create a 'page' called something like '404 not found', and then put it in config as notfound: page/404-not-found.
Bopp
  • 664
  • 3
  • 5