Copied to clipboard

Flag this post as spam?

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

  • jigar 170 posts 233 karma points
    May 07, 2021 @ 08:27

    404 now working for Umbraco Backoffice e.g /umrbaco/xyz

    Hi All,

    We are running a website on Umbraco version 8.5.4 and there are some issues with the 404 page.

    Following is the scenario working as per expectation and shows a 404 page from content tree not working as per expectation and stand error page as shown in below image

    We have the following rules in umbracoSetting.config


    And we have the following rules on the web.config.

        <httpErrors existingResponse="PassThrough">
      <remove statusCode="500" subStatusCode="-1" />
      <remove statusCode="400" subStatusCode="-1" />
      <remove statusCode="404" subStatusCode="-1" />
      <remove statusCode="403" subStatusCode="-1" />
      <error statusCode="500" path="/500.html" responseMode="ExecuteURL" />
      <error statusCode="400" path="/en/404" responseMode="ExecuteURL" />
      <error statusCode="404" path="/en/404" responseMode="ExecuteURL" />
      <error statusCode="403" path="/en/404" responseMode="ExecuteURL" />

    So basically when /umbraco is there the 404 redirections are not working as per expected behavior.

    Image given below.

    enter image description here

    Many thanks, Jigar

    P.S:- The same set of configurations works well on V7 websites.

  • Erik Eelman 79 posts 318 karma points
    May 07, 2021 @ 09:42
    Erik Eelman

    Hi Jigar,

    I've got this working using the customErrors section in the web.config:

    enter image description here

Please Sign in or register to post replies

Write your reply to: