SXA sitemap returns a 404 error


Description

With Sitecore Experience Accelerator (SXA), a request to the sitemap.xml page might result in a 404 HTTP error.

Note: This issue affects SXA 1.8.1 - 9.3.0 versions.

Solution

To resolve the issue, consider one of the following options: