Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Is there a best practice in Hybrid Framework for handling http errors (404, 500, etc)? Preferably one that maintains the url and status code.
Hello,
For 404 we always use SEO Checker because it's very easy to do 404's with that. For 500 you could have a look at this code: https://github.com/jbreuer/Hybrid-Framework-for-Umbraco-v7-Best-Practises/blob/master/Umbraco.Extensions/Controllers/Base/SurfaceRenderMvcController.cs#L67
Jeroen
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
How to handle http errors?
Is there a best practice in Hybrid Framework for handling http errors (404, 500, etc)? Preferably one that maintains the url and status code.
Hello,
For 404 we always use SEO Checker because it's very easy to do 404's with that. For 500 you could have a look at this code: https://github.com/jbreuer/Hybrid-Framework-for-Umbraco-v7-Best-Practises/blob/master/Umbraco.Extensions/Controllers/Base/SurfaceRenderMvcController.cs#L67
Jeroen
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.