Copied to clipboard

Flag this post as spam?

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


  • AbsolutelyN 85 posts 433 karma points
    Dec 13, 2019 @ 08:22
    AbsolutelyN
    0

    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.

  • Lars Heesakkers 38 posts 194 karma points
    Dec 13, 2019 @ 14:04
    Lars Heesakkers
    0

    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).

  • AbsolutelyN 85 posts 433 karma points
    Dec 13, 2019 @ 14:45
    AbsolutelyN
    0

    Thanks Lars, surprised there is no better way when you have multiple websites with different UIs in a single IIS site.

Please Sign in or register to post replies

Write your reply to:

Draft