Google allows up to 50,000 items in a single sitemap. This makes these sitemaps potentially very large. Even though Google allows up to 50 MB, too large sitemaps are still problematic, especially when it comes to troubleshooting in Google Webmaster Tools. Therefore, we minimise the limit of objects in a sitemap to 25,000 objects. This does not have any negative effects for Google as long as no more than 50,000 sitemaps are linked in the index sitemap.
/**
* The limit of objects in one sitemap file.
*/
- const SITEMAP_OBJECT_LIMIT = 50000;
+ const SITEMAP_OBJECT_LIMIT = 25000;
/**
* Prefix for stored data in the registry.