AEM OOTB Sitemap.xml loc is not appending domain | Community
Skip to main content
Level 6
June 7, 2023
Solved

AEM OOTB Sitemap.xml loc is not appending domain

  • June 7, 2023
  • 2 replies
  • 1518 views

I am using the OOTB sitemap generator with Scheduler. I want to have https://domain/shortenpath. But it gives full path and without a domain and how to customize it to include a domain as well.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by HeenaMadan

You need to use sling mapping config in /etc/map/https/project

 

Refer https://experienceleague.adobe.com/docs/experience-manager-learn/sites/seo/sitemaps.html#absolute-sitemap-urls

2 replies

Nirmal_Jose
Adobe Employee
Adobe Employee
June 7, 2023

Hi @ronnie09 ,

 

You need to use sling mapping to enable absolute URLs. Its detailed in the documentation at [1].

You may have to club the sling mapping config with the apache rewrite URLs to cover all the scenarios.

 

 

[1] - https://experienceleague.adobe.com/docs/experience-manager-learn/sites/seo/sitemaps.html#absolute-sitemap-urls

HeenaMadan
Community Advisor and Adobe Champion
HeenaMadanCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
June 7, 2023