Geta / geta-optimizely-sitemaps

Search engine sitemaps.xml for Optimizely CMS 12 and Commerce 14
Apache License 2.0
10 stars 14 forks source link

Splitting sitemaps into multiple files #96

Open kaspars-ozols opened 1 year ago

kaspars-ozols commented 1 year ago

There is a constraint defined in sitemap specs - a single sitemap file should not contain more than 50,000 URLs and must be no larger than 50MB. The package seems to ignore this and always generate a single sitemap file.

This becomes a problem in sites with a lot of content / large catalogs. Should implement sitemap splitting in accordance with the spec:

https://www.sitemaps.org/protocol.html#index