-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sitemap Job runs successfully but has zero entries #99
Comments
@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..? |
I posted a PR that should help address this A workaround would be to create and use your own |
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.
The text was updated successfully, but these errors were encountered: