Open PoojaJangam3714 opened 11 months ago
@PoojaJangam3714 I don't know if this helps but on my lower environments I removed the 'Everyone' group to limit access. I noticed when I did that, the job would return 0 results. So, it might be a connectivity issue.
@mikemalloy-commscope The user running the scheduled job has the Administrators access on the CMS. The same role is also the level to which the Sitemaps configuration is set to in code.
I had a similar issue with sitemap generation, but I was able to fix it by giving the "Read" scope to the "Everyone" role. As per my understanding, a page needs to have Read on everyone to be part of the sitemap.
Think by default sitemap should include pages with public access. Might be good idea to include skipped pages in log, but could grow log entry significantly. Maybe just include number of pages skipped..?
We are using the Geta.SEO.Sitemaps 3.1.1 in Episerver CMS 12.19. The following is the configuration -
When the scheduled job is run there are no errors shown, even when we are using debug = true, and the job runs successfully -
But as seen in the image above and confirmed from the created sitemap.xml there are zero entries on the xml file. image
Please help on this as we are unable to figure out why the xml is empty at times and populated at others when there are no changes in configuration and code.