We have been using Sitecore with SXA. Website is hosted in the Azure environment and we have a Traffic Manager which points to 2 CD URLs. Recently we moved to live environment since my project is kind of migration. We switched our website to old website name but sitemap URL are still pointing to Traffic Manager URL.

How to resolve this?


1 Answer 1


By default, the sitemap uses the Host Name defined in the Basic section in the Site Grouping Site Settings item of your site to connect to site and generate sitemap xml.

You can find it through Content Editor by navigating to /sitecore/content/....[sxa site]/Settings/Site Grouping/[sxa site]:

enter image description here

"Host Name" or "Target Host Name" are still pointing new website, just change it and you should be fine.

More information about sitemap in SXA can be found here.

You can also check setup of your sites through SXA Site Manager.

  • Target hostname resolves the issue :)
    – arjunan
    May 17, 2018 at 3:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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