Brijesh Patel Last Update - 2023-07-04
Configuring the sitemap in Magento 2 Admin allows you to apply an awesome Magento tool with a document file which contains all of the website’s URL and possibly direct people to any page on Magento stores quickly. In addition to the utility of direction, the 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 during the adventure around the real world because the Magento sitemap will help them visit pages easily they are looking for instead of losing or wasting much time going 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.
Stores
In the sectionSettings
, select.Configuration
XML Sitemap
under Catalog
in the panel on the leftCategories Options
section, and continue with following:
Frequency
field, select one of the following:
In the fieldPriority
, enter a value between 0.0 and 1.0. Set Zero if the priority is the lowest
Products Options
.Frequency and Priority
settings as mentioned aboveIn the Add images into Sitemap
field, select one of the following to determine the extent that images are included in the sitemap
Open the CMS Pages Options
section, complete the Frequency and Priority
settings as mentioned above
Save Config
Set Enabled
field into Yes
and follow the guide below
Start Time
field, choose the hour, minute and second that update the sitemapFrequency
field, choose one of the following
Error Email Recipient
, enter the email address of the person who will be received notification whenever an error occurs during a sitemap update.Error Email Sender
field, choose one of the following:
Error Email Sender
, choose the template used for the error notification.
Maximum No of URLs Per File
, enter the maximum number of URLs per file. The default limit is 50,000.Maximum File Size
, enter the maximum file size in bytes. The default size is 10,485,760 bytes.
Open the sectionSearch Engine Submission Settings
.
In the fieldEnable Submission to Robots.txt
, select toYes
provide instructions to search engines that crawl your site by using a robots.txt file.
When complete, click Save Config
Ref: Magento 2 User Guide