Creating Error pages for Sitecore SXA site

There are lot of blogs which tell us how to create static error pages for Sitecore SXA sites.

I know that everyone follows the Sitecore Documentation here –

But everyone doesn’t know is that this is not straight forward every time. We faced some weird issues in our project and had to use a little trick which I would like to share with you.

First remember that Page Not Found Link is content manageable and the Server Error Page is not. What I mean is that if you create 404 page then you can update it’s content at runtime in Sitecore whereas for Error 500 page, you can update the content in Sitecore but you need few additional steps before you could see it on Frontend.

Trick for Server Error Page to work:

  1. Go to /sitecore/content/{Tenant}/{Site}/Settings/Site Grouping/DemoSite
  2. Publish your website completely or you will face publishing issue in error handling.
  3. Select the tab from top navigation “ERROR HANDLING”
  4. Click on Generate static page.

Reference Link:

Hope it helps!!

Thank you.. Keep Learning.. Keep Sitecoring.. 🙂

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s