---
metadata:
  - name: generator
    content: Diplodoc Platform v5.56.0
alternate:
  - https://www.yandex.com/support/webmaster/en/robot-workings/sitemap.md
  - https://www.yandex.com/support/webmaster/tr/robot-workings/sitemap.md
  - href: en/robot-workings/sitemap.md
    type: text/markdown
    title: Markdown version
  - href: ../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://www.yandex.com/support/webmaster/en/llms.txt


# The Sitemap directive

If you use a [Sitemap](https://www.yandex.com/support/webmaster/en/controlling-robot/sitemap.md) file to describe your site's structure, indicate the path to the file as a parameter of the `Sitemap` directive (if you have multiple files, indicate all paths). Example:

```no-highlight
User-agent: Yandex
Allow: /
sitemap: https://example.com/site_structure/my_sitemaps1.xml
sitemap: https://example.com/site_structure/my_sitemaps2.xml
```

The directive is intersectional, meaning it is used by the robot regardless of its location in `robots.txt`.

The robot remembers the path to your file, processes your data and uses the results during the next visit to your site.


<div class="cut-button">

{% cut "Contact support" %}




<div style="padding: 15px;
      margin: 10px 0;
      background: #FFFFFF;
      border-radius: 10px;
      border: 1px solid var(--yc-color-line-generic);">
<iframe style="background: #FFFFFF;"
      height="700"
      width="100%"
      frameborder="0"
      src="https://forms.yandex.com/surveys/3759/?&theme=Ispolzovaniye fayla robots.txt&iframe=1&lang=en">
</iframe>
</div>




{% endcut %}

</div>


<!-- source: en/_includes/cut-button-style.md -->

<!-- endsource: en/_includes/cut-button-style.md -->

<!-- source: en/_includes/footer.md -->
<div width="100%" align="center" class="main-footer"> 
<br><br><br>
You can also go to 
<br><br>




[![](../_assets/logo/logo-pic.svg)](https://webmaster.yandex.com/) [![](../_assets/logo/logo-en.svg)](https://webmaster.yandex.com/)



</div>


<!-- source: en/_includes/styles/footer-style.md -->

<!-- endsource: en/_includes/styles/footer-style.md -->
<!-- endsource: en/_includes/footer.md -->
