Page snippets

What is a snippet?

A snippet is a block of information about a document displayed in the search results. A snippet includes the header, description or annotation of the document, and may also contain additional information about the site.

The snippet allows the user to get an idea of the document's contents, or even get the desired information without opening the document.

How do I change the site header and description in the search results?

In most cases, the page header and description in the search results are formed based on the page content. The header is taken from the title element in the HTML code of the page. Description is taken from the page text, taking into account the Open Graph and markup, as well as the content of the Description meta tag.

Example of using Open Graph

To add information for snippet generation, specify the page header in the head element of the page HTML code. Specify the site header in the og: title and og: site_name properties.

    <meta property="og:title" content="Files / Updated localization of Far Cry 4 /" />
    <meta property="og:site_name" content="Dictionaries and encyclopedias on Academic" />

The description can be also gathered from other sources:

  • Yandex.Catalog and Yandex.Market. To exclude Yandex.Catalog descriptions, add the robots meta tag with the noyaca value to the page HTML code.

  • Text of the page links published on other site pages or on the third-party resources.

Thus, the page description is formed from the text that is most informative and relevant to the search query.

What are breadcrumbs?

Large sites with a clear structure can have breadcrumbs displayed under the snippet (a number of links to sections in which the page is found). This navigation chain lets the user estimate the amount of information and the type of content on the site. They can go to the needed section in one click.

To recognize the structure of the site and choose the titles, Yandex uses the sitelinks algorithm. We recommend giving your site a clear and simple structure. You don't have to do anything special to enable this functionality.

To form breadcrumbs, the following conditions used by our algorithms must be met:

  • Breadcrumbs are formed only for large sites.

  • Breadcrumbs are built strictly by directories: the sections tree must match the URLs. For an address such as </bx>/index.php?cat=7873&item=6787 breadcrumbs aren't formed, but they are generated for addressed in the format /cat7873/item6787.

  • The names are picked up from the title element and the page link text. We recommend providing a short page title in thetitle element and in the links. It is preferable that the title and link text match.

Which pages have dates in snippets?

The publication date is shown if it is important for the user. For example, it is important for news reports or blog entries. It helps the user understand whether they are interested in the text.

The date can be identified in different ways. For example, Yandex.News and Yandex.Blogs are used as data sources.

In addition, Yandex receives the dates from page URLs. The date can be included in the URL using a pattern, such as /yyyy/mm/dd/ or /yyyy-mm-dd/.

If you have a news feed on your site and you want our algorithms to identify the dates of the news stories, configure the URL formation so that it shows the date explicitly (for example, use one of the patterns above). The search robot will extract the dates while indexing the pages. No further actions are required on your side.

What special information can be shown in the snippets?

In some cases a snippet can contain additional information configured by the webmaster. This makes the snippet more informative and provides additional details about the site and company.

At the moment, you can add and edit the following snippet information:

The full list is available in the What types of data can I send right now?.