Contact Us

Handling error pages using Sitecore Experience Accelerator is relatively uncomplicated and trouble-free. Let us demonstrate here in a chronological, concise yet holistic manner, how SXA Error page configuration can be done smoothly.

Please follow below steps to configure error pages.

Step 1:

Verify the “customErrors” section in your web.config and ensure that “customErrors” mode is “On” as shown below without any defaultRedirect.

<customErrors mode ="On" />

Step 2: Create site-specific 500 error page.

1

Step 3: Now go to inside Error Handling section under sitecore/Content/Tenant/Site/Settings node and map your 500 Error error page.

2

Step 4: Publish all your changes

Step 5: Go to /sitecore/Content/Tenant/Site/Settings/Site Grouping/Site. Inside ribbon you will see the ‘Error Handling Tab’.

3

Step 6: Click on this tab and click on ‘Generate static error page’. It will generate static error page inside website root/ErrorPages folder.

Step 7: If you have CM-CD environment, then make sure to copy this new created folder with the error page to the CD environment.

Voila! You should now be able to see your customized error page for any 500 errors. With this, you can customize your error pages and not let your audience feel disconnected at any point. With the help of such SXA features, you are now all set to enhance and personalize your consumer digital experience. Reach out to us for more Sitecore queries.

Need Help?