I'm really struggling to find a good solution to serving up a unique error (500) page for different sites within the same umbraco instance which each have different cultures. So I want a customer error for en-US and also en-GB which each have very different templates.
404's are easy in the umbraco.config but I can't find a solution for server errors. If anyone can point me to a solution it would be really appreciated.
500 pages are usually static files with no context whatsoever, this means that you are also not able to access Umbraco. The go-to way to resolve this is to show different content based on the current URL (using for example JavaScript).
v7 - Custom Server Error Page by Culture?
I'm really struggling to find a good solution to serving up a unique error (500) page for different sites within the same umbraco instance which each have different cultures. So I want a customer error for en-US and also en-GB which each have very different templates.
404's are easy in the umbraco.config but I can't find a solution for server errors. If anyone can point me to a solution it would be really appreciated.
Hi,
500 pages are usually static files with no context whatsoever, this means that you are also not able to access Umbraco. The go-to way to resolve this is to show different content based on the current URL (using for example JavaScript).
Thanks Lars, surprised there is no better way when you have multiple websites with different UIs in a single IIS site.
is working on a reply...