A Sitemap is a plain text XML file that contains link to all of the pages on your website. It is used by the Search Engines to properly crawl and index your website. In Magento 1.x this option was called Google Sitemaps and was located in the Catalog menu. However, things have changed in Magento 2.

Create sitemap.xml in Magento 2

First using Add Sitemap in Marketing > SEO & Search > Site Map

Configure sitemap.xml in Magento 2

To access your Sitemap’s configuration page, you will need to access your website’s admin area and navigate to Stores>Configuration.

How to Generate a Sitemap in Magento 2

From there access the Catalog>XML Sitemap section.

How to Generate a Sitemap in Magento 2

Here you will have to expand all of the individual parts of the configuration page:

How to Generate a Sitemap in Magento 2

For Categories, Products and CMS options you will have frequency and priority of creation of new entries as well as an option to add the images of products into the sitemap.

How to Generate a Sitemap in Magento 2

 

In the Generation Settings you will be able to Enable Sitemap Generation and set a time of the day for it (if you choose a daily frequency for example).

How to Generate a Sitemap in Magento 2

In the Sitemap File Limits section, you can choose the limit of URLs per file and the maximum size of a file (in bytes). Last but not least, you will have to decide, if you want to If you add a reference of your sitemap to your robots.txt file. This will make search engines find it automatically.

How to Generate a Sitemap in Magento 2

Once you have configured the XML Sitemap schedule and options, click the Save Config button at the top right corner of the page. Congratulations, you have improved the SEO of your Magento 2 based Store.

0 Likes
251 Views

You may also like

Leave A Comment

Please enter your name. Please enter an valid email address. Please enter message.