Custom error-handling for foreign pages
Hello,
I am wondering if anyone can please enlighten me on creating custom error handling implementation in Sitefinity for foreign pages. For instance when I navigate to an invalid URL that doesn't exist in English (which is the default language of my site). Such as http://www.mysite.com/xxxxxx it goes to error page 404 as normal. However when I navigate to the German version of the same page and browse an invalid URL like http://www.mysite.de/xxxxxx. It redirects to a blank page although in the console log I can see the status code 404 printed.
My Pages: Errors(Group page) with children Error 404(en-gb, en-us, de, it, fr, es, cn), Error 401(en-gb, en-us, de, it, fr, es, cn), Error 500(en-gb, en-us, de, it, fr, es, cn)
Thanks in advance
My web.config settings:
<customErrors mode="Off" defaultRedirect="~/errors/error-404"> <error statusCode="401" redirect="~/errors/error-401"/> <error statusCode="404" redirect="~/errors/error-404"/> <error statusCode="500" redirect="~/errors/error-500"/> </customErrors>