Monthly Archives: February 2019

  1. Magento 2 XML Sitemap Configuration

    Configuring XML SItemap for your Magento 2 website you help Google identify, crawl and analyze your website links better. Google ranks not only the website as the unity of pages but separate web pages as well.

    So having an XML sitemap on your website contributes to your SEO improvements. You can easily configure the it for your Magento 2 store manually. However, you can as well configure the Magento 2 XML sitemap autogeneration.

    So, in this article you will learn:

    How to configure Magento 2 Sitemap?
    How to add XML sitemap in Magento 2?
    How to configure Magento 2 Sitemap Auto-generation?

    How to configure Magento 2 Sitemap?

    In order to configure XML sitemap in Magento 2 take the following steps:

    1. Go to Stores > Configuration > Catalog > XML Sitemap. There are several options you have to configure the XML sitemap for.

    Magento 2 XML Sitemap Configuration

    2. Set Frequency and Priority which you want Categories to be indexed with in Categories Options.

    Magento 2 Sitemap Category Options

    3. Complete Frequency and Priority settings for product Options and decide whether you want to Add Images into Sitemap.

    Magento 2 Sitemap Product Options

    4. Enter Frequency and Priority for indexing your Magento 2 store CMS Pages.

    Magento 2 XML Sitemap CMS Pages Options

    5. Complete General Settings.

    • Enable the Sitemap generation.
    • Set the Frequency and Start Time you want the XML sitemap to be updated at. 
    • Enter the Error Email Recipient who will receive the notification in case there is some errors while sitemap updating.
    • Select the Error Email Sender and Template to be used as the XML sitemap updating error notification.

    Magento 2 Sitemap Generation Settings

    6. Set the Site Map File Limits.

    • Indicate the maximum number of URLs you want to be included in the sitemap in the Maximum No of URLs per FIle.
    • Enter the Maximum File Size to set the maximum size of the sitemap file in bytes.

    Magento 2 XML Sitemap File Limits

    7. Enable Submissions to Robots.txt in order to guide search crawlers on how to index your website better.

    Magento 2 Sitemap Search Engine Settings

    How to Add XML Sitemap in Magento 2?

    In order to Add new XML sitemap in Magento 2 take the following steps:

    1. Go to Marketing > Seo & Search > Site Map

    Magento 2 XML Sitemap Configuration

    2. Choose an existing sitemap to edit or if you don't have any XML sitemap yet press the Add Sitemap button.

    Magento 2 XML Sitemap Configuration

    Read more »
  2. Magento 2 Blog XML Sitemap Configuration

    To configure Magento 2 Blog XML sitemap please, first of all, make sure that Magento default XML sitemap has been configured properly.

    Once you have configured Magento XML sitemap for products, categories, CMS pages, blog sitemap will be generated automatically and will be available by the same path as your default XML sitemap but with "blog_" prefix.

    Example 1

    Default XML Sitemap URL:  https://domain.com/sitemap.xml
    Blog XML Sitemap URL:  https://domain.com/blog_sitemap.xml

    Example 2

    Default XML Sitemap URL:  https://domain.com/pub/en_sitemap.xml
    Blog XML Sitemap URL:  https://domain.com/pub/blog_en_sitemap.xml

    Note that you will not see and additional sitemap item in the sitemap grid in the admin panel, the blog sitemap XML will be generated automatically in the background together with the regular sitemap.

    Once a blog sitemap is generated we strongly recommend adding its link to the robots.txt as it is done at Magefan (https://magefan.com/robots.txt).

    Read more »
^Top
Chat