London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
Hello Farhin,
I have Geta.Optimizely.Sitemaps running on multiple clients using CMS 12 including some with multiple websites and I can see that sitemaps are generated for all websites when the job runs on a scheduled basis or when it is run manually. As this is a new DLL with a different namespace, have you tried removing your sitemap configurations and readding them within the Geta Sitemaps interface?
This is an example of the configuration we are using:
services.AddSitemaps(x =>
{
x.EnableLanguageDropDownInAdmin = true;
x.EnableRealtimeCaching = true;
x.EnableRealtimeSitemap = false;
}, p => p.RequireRole(OptimizelyIdentityDefaults.Roles.ContentAdmins, Roles.Administrators));
I have over 50 sites set up in Optimizely, and we are in the process of upgrading to CMS 12. After upgrading to Optimizely 12, one of the packages I upgraded was Geta SEO. Since the upgrade, all existing sitemap entries are empty. Is this a configuration error or an issue related to the upgrade?
Here is my SEO configuration in CMS 12:
public void ConfigureServices(IServiceCollection services)
{
services.AddSitemaps(siteMapOption =>
{
siteMapOption.EnableLanguageDropDownInAdmin = true;
}, policy =>
{
policy.RequireRole(Roles.CmsAdmins);
});
}
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
app.UseEndpoints(endpoints =>
{
endpoints.MapControllers();
endpoints.MapRazorPages();
endpoints.MapContent();
});
}
When I run the "Generate Search Engine Sitemaps" scheduled job, it only generates the sitemap for the current site I'm working on. Do i have to manually add them again in CMS 12?