My issue is actually close to this one: Umbraco V6 404 not handled properly according to culture
I have 2 directories with different culture:
Content
EN
page1
page2
404
FR
page1
404
When I go from a FR page to a 404, the culture is back in english.
It looks like it's url-based, and probably with a 404 the engine can't find a link so it sets the culture as default but I would like to maintain this culture when the user meets a 404 page.
my config:
<error404>
<errorPage culture="en-US">1187</errorPage>
<errorPage culture="fr-FR">1189</errorPage>
</error404>
How can I do that ?
I use one-level path in domains.
Example of urls:
I use umbraco 7.2.5
After some reading on different forums I found that this is a common issue. But there is one post on the Umbraco Wiki that maybe can help you out.
This post contains information about writing your own 404 handler
. Just create a new class that inherist from the umbraco.interfaces.INotFoundHandler
interface which defines two properties and one method that needs to be included in your class.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With