Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How to use sitemap using OOTB sitemap generator on AEM 6.5.12

Avatar

Level 2

I'm trying to generate on demand sitemap generation on AEM 6.5.12. I tried going through the video that is provided by Adobe 

 

https://experienceleague.adobe.com/docs/experience-manager-learn/sites/seo/sitemaps.html?lang=en

Over there they have showed that after doing certain simple configurations like checking the checkbox with on demand and then going to the page under which we want sitemap to be generated we can again use checkbox to select in page properties. 

 

divanshug96_0-1651050842120.png

and then if we enter the page url with .sitemap.xml it should show the sitemap for that specific page hierarchy in xml format 

 

After trying those steps I'm getting all the paths but not in xml 

 

I followed https://www.theaemmaven.com/post/aem-apache-sling-sitemap

which talks about sling bundle that is ootb open source sling project that is getting used to achieve the functionality and when I ran the bundle in debug mode. I found that it is also just sending back traversed path. I'm looking out if I'm doing something wrong because I don't want to depend on custom solution to generate xml out of those path unless we don't have OOTB way to achieve it.

 

Do let me know if someone has implemented it

 

@kautuk_sahni 

1 Accepted Solution

Avatar

Correct answer by
Level 1

Hi @divanshug96 I have also tried and seeing the page listing all the paths but not in xml format.


But when I tried view source of the page then I can see it in the expected format of sitemap XML. Please check once.

Need to find is there any fix needed or the behavior we see is fine. If any one of us find it let we share please.

View solution in original post

3 Replies

Avatar

Level 2

Hi @anish-s 

 

I tried it using that way also which is same way actually what is mentioned in linked url in my post but it is still generating only the urls as plain text not inn xml format

Avatar

Correct answer by
Level 1

Hi @divanshug96 I have also tried and seeing the page listing all the paths but not in xml format.


But when I tried view source of the page then I can see it in the expected format of sitemap XML. Please check once.

Need to find is there any fix needed or the behavior we see is fine. If any one of us find it let we share please.