Geta Optimizely Sitemap scheduler

Vote:
 

Hi everyone,

Currently I am using Geta Optimizely Sitemap package https://api.nuget.optimizely.com/packages/geta.optimizely.sitemaps/3.1.2 to generate sitemap.xml.

I found an issue where the sitemap is not generated if the content does not have read only permission for Everyone role as shown below.

 

After digging the package code, I found there's a logic for the above purpose in the Geta.Optimizely.Sitemaps.Utils.ContentFilter class > IsAccessibleToEveryone method.

I am not sure if this forum is the right place to ask this, but just in case someone experience the same behavior and could be know if that's by design.

If anyone has info about this behavior and share it, it would be appreciate it. I tried to find the info in the nuget package page as above but unfortunately there's no info states about it.

 

Thanks,

Hadi

#336000
Jan 23, 2025 17:24
Manoj Kumawat - Jan 27, 2025 14:53
Did you try to override it via custom GetaSitemapcontroller?
Vote:
 

You can also try asking the Geta team directly by creating an issue in the GitHub repo here: https://github.com/Geta/geta-optimizely-sitemaps 

Looking at the README in the repo, you may also be able to change that behavior via a custom ContentFilter (but I haven't dug too deep into it).

That said -- if the page doesn't have the read permission for the "Everyone" role, then Google (or other search engines) won't be able to index the page. So, does it really need to be in the XML Sitemap?

#336042
Jan 24, 2025 19:30
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.