Decrease sitemap size to 25,000 objects
authorjoshuaruesweg <ruesweg@woltlab.com>
Fri, 23 Jul 2021 17:45:26 +0000 (19:45 +0200)
committerjoshuaruesweg <ruesweg@woltlab.com>
Fri, 23 Jul 2021 17:45:26 +0000 (19:45 +0200)
commit46fe50ffa1d2922884822bbbd08da81a7e26faf8
tree15b74e7b2eb262c7e4df6e4692a59f37a3c54ee7
parent8a552e32e0fe4392317c068207ea2dde6c8a29fb
Decrease sitemap size to 25,000 objects

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.
wcfsetup/install/files/lib/system/worker/SitemapRebuildWorker.class.php