Right sitemap.xml

File sitemap.xml is an xml file containing a complete site map. This file allows you to specify all pages of the site and some of their properties to improve the operation of search robots.

Sitemap.xml consists of the following parts

  • pointer version and encoding of xml file
    • — the opening of the container of the description of one page
      • https://crazysquirrel.ru/ — absolute address page
      • 2013-06-28 — last modification date of the page (should be in W3C Datetime format.)
      • daily — the frequency of page changes (always,hourly,daily,weekly,monthly,yearly,never)
      • 1 — the importance of a page in the General website content (value from 0 to 1)
    • — closure of the container of the description of one page
  • — container closure of the list of pages

Any sitemap should contain:

  • (only one first line)
  • containing (at least one)
  • and (the number and order of opening/closing)

The optimal solution is when the sitemap contains specifying and
An example file sitemap.xml (shortened version):

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="https://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://crazysquirrel.ru/</loc>
<priority>1</priority>
</url>
<url>
<loc>https://crazysquirrel.ru/sitemap_generator</loc>
<priority>0.71</priority>
</url>
</urlset>

Check sitemap.xml you can use the tools of Yandex.

Generate sitemap.xmlfor your site.

View and leave comments