Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Absolute URLs instead of relative URLs for XML Sitemap

Avatar

Level 1

Hello everyone,

 

Today, I checked our sitemap: https://www.elektro27.de/de/de.sitemap.xml

Unfortunately, AEM generates relative URLs, but we need absolute URLs.

 

RobinBl1_0-1716889990155.png

 

What are the possibilities to get absolute URLs?

 

Thank you for any help.

King regards

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @RobinBl1 

Have you reviewed the video on this page: Experience League that explains how to set up sitemaps at different paths? You can achieve this using AEM's out-of-the-box (OOTB) sitemap generator. Additionally, as outlined here: Sling Sitemap, you need to set sling:sitemapRoot = true for the /cards and /resources pages within the page properties.

Check the below ref for more info - Solved: How to create custom Sitemap url's on AEM 6.5 ? - Adobe Experience League Community - 667293

 

View solution in original post

2 Replies

Avatar

Community Advisor

Hi @RobinBl1 
Which utility are you using to generate sitemap? OOTB, sling sitemap or custom implementation?

 



Arun Patidar

Avatar

Correct answer by
Community Advisor

Hi @RobinBl1 

Have you reviewed the video on this page: Experience League that explains how to set up sitemaps at different paths? You can achieve this using AEM's out-of-the-box (OOTB) sitemap generator. Additionally, as outlined here: Sling Sitemap, you need to set sling:sitemapRoot = true for the /cards and /resources pages within the page properties.

Check the below ref for more info - Solved: How to create custom Sitemap url's on AEM 6.5 ? - Adobe Experience League Community - 667293