The key to verification of the user in Yandex

The key to verification of the user in Yandex

  • Key requirements
  • How to place a key file
  • Questions and answers

In order to send the URL address to Yandex, it is necessary to confirm that you are the owner of the site for which the data is transmitted. For this, a special key is used, which you need to create and place a file with it on your site. At each request to the API, Yandex checks the key. The contents of the file and its location should be known only to you and the search engine.

Note: If your site has subdomains, for each subdomain you need to use a separate key.

The key can be formed manually. Also, some CMS can support Indexnow.

Requirements for the key to verify the site in Yandex

  • Coding is maintained only by UTF-8.

  • The minimum number of characters in the key is 8, the maximum is 128.

  • The key may contain the characters A-Z, A-Z, 0-9,-.

  • Use a TXT file or other formats with text data. The file should not contain a damping. Example:

How to place a file with a key on your website for verification in Yandex

You can place a file:

  • In the root directory of the site (recommended).
  • In any other catalog of the site. In this case, the file name should accurately match the key. For example, the file https://www.example.org/edd8dkmdnllxrei2lkhjyoh2kyqbjqbjqbkm3cbkt5fx.txt will contain the EDD8DKMDNLLXREI2LKYOHKM3CBKT5FX key.

In this case, with each request to the API, it will be necessary to specify the location of the file using the Keylocation variable. In the request, only those pages that are in the same catalog will be transmitted.

For example, the key http://example.com/catalog/key12457edd.txt will be valid for pages located in http://example.com/catalog/ and is invalid for the pages located in http://example.com/help/.

Questions and answers on the verification of the site in Yandex

How to check that the key is correct for the site in Yandex?

Send the addresses and check the answer code. Code 202 Accepted means the new key awaits the check. Make sure the key is correct, wait a while and send the address again.

If the code has changed to 200 OK, then the key is correct, and the addresses are successfully transmitted. If the code remains 202 Accepted, wait a bit and send the address again until the code becomes 200 OK.

If the code has changed to 4xx, see the description of errors in the table.

Is it possible to use several keys for verification in Yandex?

Yes, if you use several CMS, for each you need to create a separate key. Place different files with keys in the root directory of your site.

Can I use one key for several sites in Yandex?

Yes, you can re -use the same key on two or more domains.

When do you need to change the key for the site in Yandex?

The key is not necessary. However, you can change it if it has become known to third parties.

Contact us for questions on the verification of the site in Yandex

If you have a question about the work of the tool, choose the right option:

  • Pages do not fall into the search for Yandex.
  • The pages were sent to a reinstall, but did not appear in the search for Yandex.
  • It is necessary to remove indexed pages from the search for Yandex.
  • Another question about indexing your site using the Indexnow protocol in Yandex.

For questions, you can contact the company's SEO through email: info@seo.computer Or in WhatsApp: +79202044461 For consultations and help in solving problems.

ID 114

Send a request and we will provide a consultation on SEO promotion of your website