I am using Sitecore 10 and Angular JSS without SXA, I did not install it, so my question is how I can generate an XML sitemap to our site?


To generate the sitemap, you will still need to go through the Sitecore Pipelines. The pipeline responsible for the sitemap would be httpRequestBegin.

Even if you are not using SXA, you may try to see how the sitemap has been implemented. Moreover, there are many online resources on how to implement sitemap on Sitecore, examples:

If you want to see how the sitemap is implemented in SXA, you can check the following namespace

Sitecore.XA.Feature.SiteMetadata.Pipelines.HttpRequestBegin.SitemapHandler, Sitecore.XA.Feature.SiteMetadata

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.