This almost works well, but the trouble is my error configuration means the umbraco 404 response is trumped by the IIS level settings, and triggers a second 404 url by which time the original language context has been lost
The 500 rule is so the YSODs are replaced with a ‘friendly message’.
I actually only want the httpErrors config to Replace 500, it would be great if I could “pass through” the 404 from Umbraco but alas the MS team don’t allow it to be set per status code ☹
is it possible for a 404 page to reflect the language variant in umbraco 8?
Hello
In a 1:1 multilingual umbraco 8 site with 3 variants, the ideal goal for my 404 not found page is:
(i.e. the first segment in the bad url can still be used to determine language context.)
I have defined a “IContentLastChanceFinder” content finder as per https://our.umbraco.com/documentation/reference/routing/request-pipeline/IContentFinder
This almost works well, but the trouble is my error configuration means the umbraco 404 response is trumped by the IIS level settings, and triggers a second 404 url by which time the original language context has been lost
The 500 rule is so the YSODs are replaced with a ‘friendly message’. I actually only want the httpErrors config to Replace 500, it would be great if I could “pass through” the 404 from Umbraco but alas the MS team don’t allow it to be set per status code ☹
Anyone have any working solutions?
Thanks heaps
Andrew
btw sorry this is in the wrong group "Using Umbraco And Getting Started" - i can never work out how to post to a certain category i.e. Umbraco 8
would still be great to hear peoples thoughts/ideas here. :)
I always use this package and use a content page as 404. This way it works with variants out of the box:
https://our.umbraco.com/packages/backoffice-extensions/umbraco-page-not-found-manager/
ok thanks will check it out :)
is working on a reply...
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.