Copied to clipboard

Flag this post as spam?

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


  • Phil Dye 149 posts 325 karma points
    Jan 13, 2012 @ 12:17
    Phil Dye
    0

    Localised 404 pages in 4.7.1.1

    I understand some stuff was changed/fixed in 4.7.1.1 relating to localised error404 pages, but this still isn't working for me?

    I have in umbracoSettings.config

     

                <error404>
                    <errorPage culture="de-DE">1651</errorPage>
                    <errorPage culture="fr-FR">1651</errorPage>
                    <errorPage culture="default">1139</errorPage>
                </error404>

    but all locale sites (which otherwise work fine) hit node 1139. Using umbDebugShowTrace shows;

    NotFoundHandler 'umbraco.handle404 found node matching de/foobar with id: 1139

    and only later on;

    Culture changed to en-US

    On valid existing pages, the culture is correctly de-DE for example.

    I've also tried using uComponents MultiSitePageNotFoundHandler, but that's not working for me either, just 

    Trying NotFoundHandler 'uComponents.Core.NotFoundHandlers.MultiSitePageNotFoundHandler'...

    and nothing else relevant

    There are lots of topics relating to this type of problem, but I can't seem to find a definitive working solution!

    Phil

     

     

  • Phil Dye 149 posts 325 karma points
    Jan 13, 2012 @ 13:29
    Phil Dye
    0

    OK, looking at the source, it looks like the inbuilt handler will never match when not using multiple domains anyway (just subfolders as multiple root nodes), as the culture isn't set until after this point.

    I'll therefore use the uComponents handler, so need to work out why that isn't working...

    Phil

Please Sign in or register to post replies

Write your reply to:

Draft