A
A
Airat Kadyrmaev2018-03-20 12:30:19
robots.txt
Airat Kadyrmaev, 2018-03-20 12:30:19

How to open Zen access to indexing in robots.tx?

Good afternoon!
passed the moderation on Yandex Zen, they write to me that access to the robot is closed! and sent me this
User-agent: Yandex
Allow: /feed
Allow: */feed
And my robots looks like this:
User-agent: *
Disallow: /wp-admin*
Disallow: /wp-includes
Disallow: /wp-content/ plugins
Disallow: /wp-content/cache
Disallow: /trackback
Disallow: /feed
Disallow: /comments
Disallow: /author*
Disallow: /photo*
Disallow: */trackback
Disallow: */feed
Disallow: */comments
Disallow: /archives /
Disallow: /search/
Disallow: /xmlrpc.php
Disallow: /*?attachment_id=
Disallow: /*&attachment_id=
Host: https://site.ru
Sitemap: https://site/sitemap_index.xml
Do I understand correctly that now you need to make the file like this:?
User-agent: *
Disallow: /wp-admin*
Disallow: /wp-includes
Disallow: /wp-content/plugins
Disallow: /wp-content/cache
Disallow: /trackback
Disallow: /feed
Disallow: /comments
Disallow: /author *
Disallow: /photo*
Disallow: */trackback
Disallow: */feed
Disallow: */comments
Disallow: /archives/
Disallow: /search/
Disallow: /xmlrpc.php
Disallow: /*?attachment_id=
Disallow: /*&attachment_id=
User-agent: Yandex
Allow: /feed
Allow: */feed
Host: https://
sitemap site: https://site/sitemap_index.xml

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
igorux, 2018-03-20
@ayrat33

If you make robots like this, then Yandex will ignore all directives located above the "User-agent: Yandex" line.
Either open feed indexing for all bots, or repeat all directives for Yandex from the beginning.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question