Copied to clipboard

Flag this post as spam?

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


  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    Apr 06, 2015 @ 13:56
    Alex Skrypnyk
    0

    500 Error Page

    Hi,

    We are using Umbraco 7.2.4 and IIS 8.5, what is the right way to handle 404 and 500 errors? The response should have right StatusCode. 404 works fine with Umbraco errors, what about 500 status code?

    Thanks, Alex

  • Valerie 67 posts 163 karma points
    Apr 07, 2015 @ 12:03
    Valerie
    100

    You can use a static error file in the root of the site (with it's own internal styles) and use the CustomErrors section of the web config to redirect to it.

        <customErrors mode="RemoteOnly" defaultRedirect="~/500.html" />

Please Sign in or register to post replies

Write your reply to:

Draft