Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
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

4 Replies

Avatar

Level 2

Hi @Anish-Sinha 

 

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

Level 1

Thanks a lot fro help! If you are promoting your sat, then I advise you to read the review of services for estimating the amount of traffic on the website https://ninjareports.com/website-traffic-estimators/. Here you will find a list, a rating of Seo services that exist on the market today)

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.