How to Setup a Sitemap in Magento 2

How to Setup a Sitemap in Magento 2

Introduction

A sitemap is a website’s content model created to make it easier for search engines to crawl and users to navigate the website. It is a URL inclusion protocol that complements the URL exclusion protocol; robots.txt. The feature is an important XML file that accommodates and organizes links to all pages on your website. The sitemap enables webmasters to add critical details about each URL such as when it was updated, its relevance in relation to other URLs, how often it changes, and much more. The additional information allows search engines to crawl your website more intelligently, thereby increasing chances of ranking higher.

Setting up a sitemap in your Magento 2 website allows you to implement the incredible tool with the document file that lists your website’s URLs. It offers the utility directions and allows your store visitor to locate a product with ease and aids search engines by pointing out the pages that are ready for crawling.

This tutorial will help you set up a sitemap in a Magento 2 website in four easy steps.

Prerequisites

  • Before configuring your sitemap in the Magento 2 store make sure that the feature is enabled.

If the above condition is met, then you are ready to go.

Step 1: Setting The Desired Frequency And Priority

The first thing when setting up a sitemap in Magento to is stipulating the desired content updates’ Frequency and Priority.

Log in to the Admin Panel and click Stores, then select Configuration.

How to Setup a Sitemap in Magento 2

Expand the Catalog section and select XML Sitemap

How to Setup a Sitemap in Magento 2

Next, click Categories Options and set the Frequency as desired.

How to Setup a Sitemap in Magento 2

The Frequency section gives you multiple options including Yearly,Monthly, Weekly, Daily, Hourly, Always, and Never. In addition, the Categories Options section gives you an option to enter a Priority value between 0 and 1 where 1 represents the highest priority.

Next, open the Products Options and set the ideal Frequency and Priority as required, then click the arrow on the Add Images into Sitemap. Select one of the available options (Base Only, None, and All). The options allow you to determine the degree that images are added to the sitemap.

How to Setup a Sitemap in Magento 2

Now, select and expand CMS Pages Options and set the desired  Frequency and Priority.

How to Setup a Sitemap in Magento 2

Click Save Config to implement the changes

How to Setup a Sitemap in Magento 2

Step 2: Completing The General Settings

Expand the General Settings section. Set the Enabled option to YES, then enter the remaining details as follows:

  • Start Time: Select the time, in the order Second,Minute, and Hour,when sitemap update should start.
  • Frequency: Select one option from Daily, Weekly, and Monthly
  • Error Email Recipient: Provide an email of the person to get notifications when errors occur during the Sitemap updates.
  • Error Email Sender: Customize the email sender by selecting one of the following options: General Contact, Sales Representative, Customer Support, or Custom email.
  • Error Email Template: Select a template for error notification email.

How to Setup a Sitemap in Magento 2

Step 3: Configuring The File Limits Of Your Sitemap

Next, click Sitemap File Limits section and set the options as follows:

  • Maximum No of URLs per File: Provide the number of the utmost files you want to be included in your sitemap. The default upper limit is 50000.
  • Maximum File Size: what is the largest acceptable size assigned to the sitemap. Enter the figure in bytes. By default, 10,485,760 bytes is the largest acceptable size.

How to Setup a Sitemap in Magento 2

Step 4: Configuring The Required Search Engine Submission Options

This is the final step to setting up a sitemap in Magento 2. Expand the Search Engine Submission Settings options. Set the Enable Submission to Robots.txt option to YES.

How to Setup a Sitemap in Magento 2

Click Save Config to implement the changes

How to Setup a Sitemap in Magento 2

Conclusion

That is it! You have successfully configured a sitemap in your Magento 2 store. We hope this tutorial was helpful and your sitemap is properly set up to boost the performance of your website on search engine rankings.

Check out the top 3 Magento hosting services:

Kamatera
$4.00 /mo
Starting price
Visit Kamatera
Rating based on expert review
  • User Friendly
    3.5
  • Support
    3.0
  • Features
    3.9
  • Reliability
    4.0
  • Pricing
    4.3
Hostinger
$2.99 /mo
Starting price
Visit Hostinger
Rating based on expert review
  • User Friendly
    4.7
  • Support
    4.7
  • Features
    4.8
  • Reliability
    4.8
  • Pricing
    4.7
Ultahost
$2.50 /mo
Starting price
Visit Ultahost
Rating based on expert review
  • User Friendly
    4.3
  • Support
    4.8
  • Features
    4.5
  • Reliability
    4.0
  • Pricing
    4.8
  • Click this link and all your queries to best hosting will end.

How To Integrate Google Adwords and Google Analytics with Magento?

This guide will help you setup Google Adwords and Google Analytics in Magento to
less than a minute
Idan Cohen
Idan Cohen
Marketing Expert

How To Send Email In Magento 2?

This tutorial will help you create and send custom email using email template Ma
less than a minute
Bruno Mirchevski
Bruno Mirchevski
Hosting Expert

How To Create a Custom Widget In Magento 2

This tutorial is compiled to help you create custom widgets in Magento to enable
less than a minute
Michael Levanduski
Michael Levanduski
Expert Hosting Writer & Tester

How to Create a New Magento Theme

This tutorial will help you create a new theme in your Magento store.
less than a minute
Michael Levanduski
Michael Levanduski
Expert Hosting Writer & Tester
HostAdvice.com provides professional web hosting reviews fully independent of any other entity. Our reviews are unbiased, honest, and apply the same evaluation standards to all those reviewed. While monetary compensation is received from a few of the companies listed on this site, compensation of services and products have no influence on the direction or conclusions of our reviews. Nor does the compensation influence our rankings for certain host companies. This compensation covers account purchasing costs, testing costs and royalties paid to reviewers.
Click to go to the top of the page
Go To Top