Copied to clipboard

Flag this post as spam?

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


  • Laurence Gillian 597 posts 1214 karma points
    Jul 19, 2013 @ 16:02
    Laurence Gillian
    0

    Displaying a friendly error page for all URLs

    With the default install of Umbraco when a page errors that is not a .aspx page, the ugly IIS 404 error page will be set. Regardless of if you have configured one in Umbraco.

    To avoid this add the following code to your web.config, in the <system.webServer> section.

    <!-- Push 404 errors to a page that doesn't exist, so the Umbraco error page triggers -->
    <httpErrors errorMode="Custom">
            <remove statusCode="404" subStatusCode="-1" />
            <error statusCode="404" prefixLanguageFilePath="" path="/non-existing-page.aspx" responseMode="ExecuteURL" />
    </httpErrors>
  • Stefan Kip 1606 posts 4098 karma points c-trib
    Jul 19, 2013 @ 16:11
    Stefan Kip
    0

    I'm not really sure if this has got anything to do with the Url Tracker?

  • Laurence Gillian 597 posts 1214 karma points
    Jul 19, 2013 @ 16:22
    Laurence Gillian
    0

    Just a useful bit of information, if you are working on migration project, e.g. lots of old PHP urls.

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Jul 19, 2013 @ 16:23
    Stefan Kip
    0

    Aight, it's great you want to share information and experience, but I don't think this is the correct place to do so...
    A blog or general forum topic is more suitable imo, because I'm trying to keep this forum clean.

  • 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