Skip to content

Issue with Sitemaps After Upgrading to Optimizely CMS 12 #127

@ShaikhFarhin

Description

@ShaikhFarhin

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions