---
metadata:
  - name: generator
    content: Diplodoc Platform v5.63.0
alternate:
  - https://yandex.com/support2/site/en/create-setup/snippet.md
  - https://yandex.com/support2/site/ru/create-setup/snippet.md
  - href: https://yandex.com/support2/site/en/create-setup/snippet.md
    type: text/markdown
    title: Markdown version
  - href: https://yandex.com/support2/site/en/llms.txt?revision=fdf0ccd9e6e35aff21d37793dd61932022695bb8
    rel: describedby
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/support2/site/en/llms.txt?revision=fdf0ccd9e6e35aff21d37793dd61932022695bb8

# Snippets

A snippet is a block of information about a webpage that is shown in search results. The snippet includes the title and description of the page, and may also contain additional information about the site.

## Filter headings {#elems_1}

Snippet headings in search results are based on the headings of the corresponding pages. Because of that, they often contain repetitions:

![](../_assets/snippets-headers-badeg-marked.png)

To filter the text of snippet headings and remove repetitions:

1. Select the search on the [My search boxes](http://site.yandex.ru/searches/?lang=en) page and go to the **Snippets** section.

1. In the **List of phrases** form, enter the repeated fragments that you want to cut out from the headings (one phrase per line).

    {% note info %}

    When searching for matches, spaces at the beginning and end of lines are taken into account.

    {% endnote %}

    For the snippets in the example, you can select the filter phrases "example.com ::" and "example.com :: reference section ::".

    ![](../_assets/snippets-headers-formeg.png)

Yandex Site Search will delete the specified phrases from snippet headings. If multiple matches are found, the longest one is deleted.

As a result, the original example will look like this:

![](../_assets/snippets-headers-goodeg.png)


<a href="../troubleshooting/feedback.html">
  <span class="button">Contact support</span>
</a>


<!-- source: en/_includes/yellow-button-styles.md -->

<!-- endsource: en/_includes/yellow-button-styles.md -->

