Sitemap index will have duplicated sitemap urls if you have more than one channel
lruozzi9 opened this issue · comments
Lorenzo Ruozzi commented
This is due to the SitemapIndexBuilder, the indexProvider::providers array will never be cleared after one channel, so it will continue to add providers to them, this will so generate duplicated references to the same sitemap URL provider.
Stefan Doorn commented
Lorenzo Ruozzi commented
Whops, it just looks like the same problem! I will try to upgrade the plugin.
Lorenzo Ruozzi commented
It works! Thanks, @stefandoorn.
Stefan Doorn commented
Great!