How to Configure Magento 2 Sitemap

The Most Popular Extension Builder for Magento 2

With a big catalog of 234+ extensions for your online store

Configuring the sitemap in Magento 2 Admin allows you to apply an awesome Magento tool with a document file which contains all of website’s URL and possibly direct people to any page on Magento stores quickly. In addition to the utility of direction, Magento 2 sitemap is also an easy way to point what pages are ready for crawling to any search engines, that is very useful for your better SEO.

Moreover, for the visitors, the sitemap is the same as a traditional geographical map in the real world because the Magento sitemap will help them visit pages they are looking for without wasting time looking around a website. Thus, configuring the sitemap on your store is very necessary, but it is not required if a store is too small and uncomplicated in the page organization.

Before configuring the sitemap, ensure that the sitemap is enabled, see the previous topic. When everything is ready, start following these 4 steps.

Explore how to generate XML and HTML Sitemap

Magento 2 Sitemap: 4 steps to set-up your website’s sitemap

Step 1: Configure the Frequency and Priority of Content Updates

  • On the Admin panel, click Stores. In the Settings section, select Configuration.
  • Select XML Sitemap under Catalog in the panel on the left
  • Open the Categories Options section, and continue with following:

How to Configure Magento 2 Sitemap

  • In the Frequency field, select one of the following:
    • Always
    • Hourly
    • Daily
    • Weekly
    • Monthly
    • Yearly
    • Never
  • In the Priority field, enter a value between 0.0 and 1.0. Set Zero if the priority is the lowest

  • Open the Products Options section.

How to Configure Magento 2 Sitemap

  • In the 2 first fields: complete the Frequency and Priority settings as mentioned above
  • In the Add images into Sitemap field, select one of the following to determine the extent that images are included in the sitemap

    • None
    • Base Only
    • All
  • Open the CMS Pages Options section, complete the Frequency and Priority settings as mentioned above

  • When complete, click Save Config.

Step 2: Sitemap Generation Settings

  • Open the Generation Settings section.

How to Configure Sitemap

  • Set Enabled field into Yes and follow the guide below

    • In the Start Time field, choose the hour, minute and second that update the sitemap
    • In the Frequency field, choose one of the following
      • Daily
      • Weekly
      • Monthly
    • In the Error Email Recipient field, enter the email address of the person who will be received notification whenever an error occurs during a sitemap update.
    • In the Error Email Sender field, choose one of the following:
      • General Contact
      • Sales representative
      • Customer support
      • Custom email
    • In the Error Email Sender field, choose the template used for the error notification.
  • Open the Sitemap File Limits section.

How to Configure Magento 2 Sitemap

  • In the Maximum No of URLs Per File field, enter the maximum number of URLs per file. The default limit is 50,000.
  • In the Maximum File Size field, enter the maximum file size in bytes. The default size is 10,485,760 bytes.

Step 4: Complete the Search Engine Submission Settings

How to Configure Magento 2 Sitemap

  • Open the Search Engine Submission Settings section.

  • In the Enable Submission to Robots.txt field, select Yes to provide instructions to search engines that crawl your site by using a robots.txt file.

  • When complete, click Save Config.

Read How to configure Robots.txt in Magento 2

The bottom line

Now you know how to use Magento 2 sitemap to boost up the SEO performance for your website. In addition, you can add Google XML Sitemap, HTML sitemap to your Magento 2 store, available on Github for free. We hope you can configure Magento 2 Sitemap with ease and contact us in case of any problems. Also, please check out the SEO-related posts below for more information.

Discover Mageplaza XML, HTML Sitemap extension

Related Post

Looking for
Customization & Development Services?

8+ years of experiences in e-commerce & Magento has prepared us for any challenges, so that we can lead you to your success.

Get free consultant
development service

Explore Our Products:

People also searched for

Subscribe

Stay in the know

Get special offers on the latest news from Mageplaza.

Earn $10 in reward now!

Earn $10 in reward now!

comment
iphone
go up