AEM OOTB Sitemap.xml loc is not appending domain | Community
Skip to main content
Level 6
Jun 7, 2023 5:23 AM UTC
Solved

AEM OOTB Sitemap.xml loc is not appending domain

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.
HeenaMadan
HeenaMadanAccepted solution
New Participant
Jun 7, 2023 10:33 AM UTC

2 replies

HeenaMadan
HeenaMadanAccepted solution
New Participant
Jun 7, 2023 10:33 AM UTC

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

Translate
Nirmal_Jose
Employee
Jun 7, 2023 8:22 AM UTC

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

Translate