Sitemap | Community
Skip to main content
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 sherinregi-1

Hi @keerthi0555 

Based on your sites traffic and update frequency you can go with on demand or scheduled one. If you prefer on demand update the config Apache Sling Sitemap – Sitemap Generator Manager  by enabling the ondemand flag and replicate to publishers.

 

In case you prefer the scheduled generation better caching and utilization of resources update the config org.apache.sling.sitemap.impl.SitemapScheduler~weretail.cfg.json in publish runmode folder and replicate the same.

 

Hope it helps

3 replies

kautuk_sahni
Employee
November 1, 2023

@keerthi0555 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni
sherinregi-1
sherinregi-1Accepted solution
New Participant
October 30, 2023

Hi @keerthi0555 

Based on your sites traffic and update frequency you can go with on demand or scheduled one. If you prefer on demand update the config Apache Sling Sitemap – Sitemap Generator Manager  by enabling the ondemand flag and replicate to publishers.

 

In case you prefer the scheduled generation better caching and utilization of resources update the config org.apache.sling.sitemap.impl.SitemapScheduler~weretail.cfg.json in publish runmode folder and replicate the same.

 

Hope it helps

EstebanBustamante
New Participant
October 30, 2023

Hi,

 

You can just add an OSGI configuration for the scheduler which is bound to your publisher run mode. Please check these resources which explain this use case step by step:

https://medium.com/@toimrank/aem-sitemap-creation-4877b3a8391a
https://experienceleague.adobe.com/docs/experience-manager-learn/sites/seo/sitemaps.html?lang=en 

 

Esteban Bustamante