We are using cookies to give you the best experience on our website. Learn more.
Magento 2 XML Sitemap Extension
With XML Sitemap Extension for Magento 2 you can create different types of XML sitemaps for your site. XML sitemaps contain valuable information about the pages, images, and videos on a site, and the relationships between them. This information helps search engines optimize crawling of your site.
XML sitemap and canonical url
In the XML sitemap, you only need to specify the version of the page that should appear in the search results. Therefore, XML sitemaps created with XML Sitemap Extension for Magento 2 use canonical page urls. We recommend using in conjunction with Magento 2 Canonical URL Extension.
Pictures and videos in XML sitemap
The configuration settings allow you to add product and category images, as well as product videos to the XML sitemap. All or just a basic product picture can be added. The configuration settings also specify which product images should be used, cached or original.
Statistics for XML sitemap
For each entity in the XML sitemap, the number of URLs, images and videos is counted.
"Out of Stock" Products in XML sitemap
Configuration settings allow to exclude "Out of Stock" Products page information from XML sitemap.
Robots Meta Tag contains NOINDEX
If Magento 2 Meta Robots Extension is installed, then information about pages whose Robots Meta Tag contains the NOINDEX directive is excluded from the XML sitemap.
PageMap in XML sitemap
PageMap structured data (thumbnail DataObject) is added to XML sitemap.
Automatic generation of XML sitemaps on a schedule
The configuration settings allow you to generate scheduled XML sitemaps automatically using the cron.
Compatibility
XML Sitemap Extension for Magento 2 is compatible with Magento 2 Canonical URL Extension, Magento 2 Meta Robots Extension.
CLI commands for XML sitemaps
XML Sitemap Extension for Magento 2 adds CLI commands for viewing listing, deleting and generating XML sitemaps. Specify sitemap IDs when running the command to delete or generate XML sitemaps, then the command will be executed for the specified sitemaps, otherwise it will be executed for all XML sitemaps.
For full SEO customization on your website, use the Magento 2 SEO Extension.