Expand my Community achievements bar.

Adobe Summit is live! Tune in to take part in the premier digital experience event.
SOLVED

AEM OOTB Sitemap.xml loc is not appending domain

Avatar

Level 7

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.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
2 Replies

Avatar

Employee Advisor

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-si...

Avatar

Correct answer by
Community Advisor

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

 

HeenaMadan_0-1686133970782.png

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