Copied to clipboard

Flag this post as spam?

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


  • Jonathan Roberts 372 posts 1005 karma points
    Sep 05, 2017 @ 11:03
    Jonathan Roberts
    0

    404 not working - still using error404 setting in Umbraco Setting config

    Hi,

    I have installed this onto a 7.4.3 site and the 404 error page is not working - it is still using error404 setting in Umbraco Setting config.

    Have I missed something?

    Thanks

    Jon

  • Jonathan Roberts 372 posts 1005 karma points
    Sep 06, 2017 @ 07:50
    Jonathan Roberts
    0

    Anyone have any ideas on this? Or is this old now?

  • John Houston 3 posts 92 karma points
    Nov 07, 2017 @ 22:21
    John Houston
    0

    Just been trying to get this to work myself and had the same issue with the error404 settings being used. Looking at the code on github it seems the handler is set as ContentLastChanceFinderResolver so runs after all the other 404 handlers.

    I removed the standard handle404 entry from the 404handlers.config file and that solved it for me.

    John

  • Matt Barlow | jacker.io 164 posts 727 karma points c-trib
    Nov 10, 2017 @ 11:08
    Matt Barlow | jacker.io
    0

    Also in the umbracoSettings.config there has to be at least one 404 default set.

      <errors>
            <error404>
                <errorPage culture="default">1</errorPage>
            </error404>
        </errors>
    

    Or it YSODs.

  • Matt Barlow | jacker.io 164 posts 727 karma points c-trib
    Nov 10, 2017 @ 11:25
    Matt Barlow | jacker.io
    0

    This works in the culture and hostnames, redirects fine:

    English site - site-en.com

    French site - site-fr.com

    but if you use this url structure it doesn't pick up the correct error page:

    English site - site.com/en

    French site - site.com/fr

  • 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