내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
해결됨

\/var/sitemaps is empty in author

Avatar

Employee

 

 

Hello All,

 

I am working on generating sitemap, I am using aem sdk as well as AEMaaCS to generate sitemap, I have enabled sitemapgeneratorimpl config to "allOnDemand": true and checked the sitemap generator checkbox in the page property. but when i try to hit the url in author with sitemap.xml, its not showing the sitemap, its empty and also /var/sitemaps folders seems to be empty. can anyone help on this issue why its not generating the sitemap? even checked with wknd site and our project site, both having same issue

 

do anyone have any idea that i am missing out something?

 

Amsalek4_0-1712589610184.png

 

 

 

 

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 2

Hi @Amsalek4 
Is 'Generate Sitemap' checked in the page properties? and if you config to "allOnDemand": true will not generate static sitemap.xml in /var/sitemaps 

charlie_yc_0-1712624030847.png

 

원본 게시물의 솔루션 보기

3 답변 개

Avatar

Community Advisor and Adobe Champion

Hi, 

The sitemap is generated under /var/sitemaps only if you are using the scheduled version. The on-demand option won't generate the files under /var, as per my understanding. If you follow the instructions in this video: https://experienceleague.adobe.com/en/docs/experience-manager-learn/sites/seo/sitemaps, you should be good. The only thing you need to double-check is that you don't have children pages enabled (checked) as part of the sitemap, as that may be causing what you are seeing.

Hope this helps



Esteban Bustamante

Avatar

정확한 답변 작성자:
Level 2

Hi @Amsalek4 
Is 'Generate Sitemap' checked in the page properties? and if you config to "allOnDemand": true will not generate static sitemap.xml in /var/sitemaps 

charlie_yc_0-1712624030847.png

 

Avatar

Community Advisor

@Amsalek4 

Check if your pages are published. the sitemap generator will only consider published pages.

Also ensure that you have set the page property sling:sitemapRoot to true on your target root.

 


Amanath Ullah