/var/sitemaps is empty in author | Community
Skip to main content
Adobe Employee
April 8, 2024
Solved

/var/sitemaps is empty in author

  • April 8, 2024
  • 3 replies
  • 1077 views

 

 

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?

 

 

 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by charlie_yc

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 

 

3 replies

EstebanBustamante
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
April 8, 2024

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
charlie_ycAccepted solution
Level 2
April 9, 2024

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 

 

AMANATH_ULLAH
Community Advisor
Community Advisor
April 9, 2024

@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