Set up custom error pages with content from Umbraco
Setting up custom error pages for Umbraco can be a bit of a pain sometimes. Especially if you want the content to be editable through the CMS, and use the same templates you use for your content pages.
I came up with a nifty solution and thought I'd share.
The project demonstrates how you can set up custom error pages in a few easy steps. If possible the content and templates for these pages will be loaded from Umbraco. Of course there is also a fallback scenario for those cases when an error occurs in Umbraco itself.
Features:
Configure content of the error pages in Umbraco
Configure templates of the error pages in Umbraco
Returns appropriate http status codes
Works in multi domain setup
Handle 404's the easy way (no more messing with custom content finders)
Set up custom error pages with content from Umbraco
Setting up custom error pages for Umbraco can be a bit of a pain sometimes. Especially if you want the content to be editable through the CMS, and use the same templates you use for your content pages.
I came up with a nifty solution and thought I'd share.
You can find the full explanation and a sample project here: https://github.com/dimi3tron/Umbraco.CustomErrors
The project demonstrates how you can set up custom error pages in a few easy steps. If possible the content and templates for these pages will be loaded from Umbraco. Of course there is also a fallback scenario for those cases when an error occurs in Umbraco itself.
Features:
is working on a reply...