Magento Commerce, 2.2.x

Using a Site Map

A site map improves the way your store is indexed by search engines, and is specifically designed to find pages that might be overlooked by web crawlers. A site map can be configured to index all pages and images.

When enabled, Magento creates a file called sitemap.xml that is saved to your installation in the location that you specify. The configuration gives you the ability to set the frequency of the updates, and the priority for each type of content. Your site map should be updated as frequently as the content on your site changes, which might be daily, weekly, or monthly.

While your site is in development, you might include instructions in the robots.txt file for webcrawlers to avoid indexing the site. Then before the launch, you can change the instructions to allow the site to be indexed.

For technical information, see: Add sitemap and robots.txt in the developer documentation.

Site Map in Grid
  • Column Descriptions




    The sequential record number of the current site map.


    The file name of the site map.


    The location where the site map resides on the server. For example:


    Places the site map file in a directory called “sitemap,” one level below the root of the Magento installation.


    Places the site map file at the base path, or root of the Magento installation.

    Link for Google

    The URL of the site map that is to be submitted to Google and other search engines.

    Last Generated

    Indicates the date and time the site map was last generated.

    Store View

    The store view where the site map applies.



    Regenerates the site map.