5

Wanting to move static/single templates in to a directory pages and thus, the path to my 404 template is now pages/404.html. I don't necessarily need dynamic content as asked here. Is there a config setting I can use to point the default 404 URI behavior to that template?

6

Yes, use errorTemplatePrefix.

'errorTemplatePrefix' => "pages/",
| improve this answer | |
1

Here's more than you ever wanted to know on 404 and error templates in Craft CMS: Handling Errors Gracefully in Craft CMS

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.