Custom 404 Error Page in Sitecore Headless Topology using SXA
Hi Friends, Sitecore SXA is a heaven for developers as it comes with out of the box features with most projects require like custom 404 error page. In this blog I will show you full implementation and will also discuss issue like 200 status code on 404 error page. Custom 404 Implementation Step by Step in Sitecore SXA 1. Make a Custom 404 page to be shown 2. Verify Sitecore.XA.Foundation.ErrorHandling.dll it should be in your bin with his config also loaded. 3. Go to setting item in Sitecore and update this Page not found field with your custom page Save the changes, and load the cm page in integrated mode. Now you can see your custom 404 page. But wait if you check in network tab the status code of your page it will be shown as 200 GET to fix this issue, add this setting to your config and load this in your sitecore CM and CD. <setting name="RequestErrors.UseServerSideRedirect" value="true" /> and now your custom 404 page will show 404 error code. Happy S