Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dan White 206 posts 510 karma points c-trib
    Feb 18, 2015 @ 01:45
    Dan White
    0

    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.

  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Feb 19, 2015 @ 12:41
    Jeroen Breuer
    0

    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

  • 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.

Please Sign in or register to post replies