Magento 2 by default does not support multiple XML sitemaps or the ability to split up your sitemaps into multiple XML sitemaps for products, images, reviews, categories, CMS pages. 

Magento 2 comes only with the ability to configure and generate a basic single XML Sitemap per store view.

Top search engine like Google, recommends the size of a single XML sitemap to 50MB (uncompressed) and 50,000 URLs max per single sitemap.

If you have an XML Sitemap that has or will have 50.000 URLs, or if you want to better organize your XML sitemaps per page (categories, productS, CMS Pages, images), better track indexing issue per page, ensure that search engines better crawl and index your pages, you will have to divide it into multiple XML sitemaps. You can create a sitemap_index.xml file to list each of your sitemaps per page and submits that single index file (sitemap_index.xml) to search engines like Google, Bing, etc.

Why Splitting up Your Magento 2 XML Sitemaps?

Splitting up your Magento 2 XML sitemap into multiple sitemaps has a lot of benefits such as: avoid crowding pages in a single XML sitemap, online visibility enhancement, efficiency categorized the content of your sites per XML sitemap, better organize your pages (eg. category, product, CMS pages) per XML sitemap, ensure that search engines properly crawl and index your pages, easily track the indexing issues per pages (categories, CMS, products), and more

If you want to split up or divide your Magento 2 XML Sitemap into multiple XML Sitemaps, you can try this Magento 2 XML Sitemap Splitter Extension. It comes with a bunch of great features to helps you easily generate, split/divide, and properly manage your XML sitemaps. The extension will generate, split up your single sitemap into multiple XML sitemap for products, categories, CMS pages and list them in the sitemap_index.xml file as follow: 

Magento 2 Multiple XML Sitemaps

Feel free to check the Magento 2 XML Sitemap Splitter Extension page, user guide, and try the live demos.

Conclusion

We hope you find helpful this article about splitting up XML sitemaps in Magento 2. Feel free to share this article or leave a comment below. Your opinion is much appreciated!

Tags: xml sitemap splitter for magento 2 sitemap