Magento 2 XML Sitemap is a file where you list all pages, images of your site and submit them to a search engine for indexation and crawling.

Magento 2 HTML Sitemap is a page that lists all the important pages of your site, allowing visitors to better navigate your site. HTML Sitemap helps organize large websites, allows search engines to easily group your content,  finds internal linking opportunities, and identifies areas to improve the navigation of your Magento 2 site.

The main difference between HTML sitemaps and XML sitemaps is that HTML sitemaps focus on making your Magento 2 website more user-friendly for your visitors, while XML sitemaps are written for search engine crawlers.

How To Generate XML Sitemap In Magento 2?

Magento 2 by default supports XML Sitemap, allowing you to configure and generate a basic XML sitemap for single or multiple stores.

Learn How To Configure and Generate XML Sitemap in Magento 2

Unformnetly, Magento 2 does not support Multiple XML Sitemaps. If you have an XML sitemap that has or will have more than 50.000 URLs, more than 50MB (uncompressed). Or, if you're looking to divide your Magento 2 XML sitemap into multiple XML sitemaps for products, categories, CMS Pages, you can try this Magento 2 XML Sitemap Splitter Extension 

The XML Sitemap Splitter extension will generate, and divide your XML sitemap into separate 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.

How To Generate HTML Sitemap In Magento 2?

Magento 2 by default does not support HTML Sitemap. You can try this Magento 2 HTML Sitemap Extension to easily generate an HTML sitemap for your site. The extension is easy to configure and use. Feel free to check the user guide and try the live demos.

Here are examples of HTML Sitemap generated using Magento 2 HTML Sitemap Extension:

1. HTML Sitemap with product list moved into categories

HTML Sitemap

 

2. HTML Sitemap with product List separated from categories

HTML Sitemap

Conclusion

We hope you find helpful this article about generating XML & HTML 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