Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/styllloz/public_html/qa-include/qa-base.php on line 1175

Warning: session_start(): Cannot start session when headers already sent in /home/styllloz/public_html/qa-include/app/users.php on line 162

Warning: Cannot modify header information - headers already sent by (output started at /home/styllloz/public_html/qa-include/qa-base.php:1175) in /home/styllloz/public_html/qa-include/app/users.php on line 1267

Warning: Cannot modify header information - headers already sent by (output started at /home/styllloz/public_html/qa-include/qa-base.php:1175) in /home/styllloz/public_html/qa-include/app/page.php on line 356
How to open access to Zen for indexing in robots.tx? - code-flow.club | Q&A

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


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
18 views
Good day!

have proposal moderation on Yandex Zen, they write to me that access to the robot 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://сайт.ru
Sitemap: https://сайт/sitemap_index.xml

True I know that now I need a 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: https://сайт/sitemap_index.xml
by | 18 views

1 Answer

0 like 0 dislike
If you make robots like that, then Yandex will ignore all directives are placed above the string "User-agent: Yandex".

Or open the indexing feed for all bots, or repeat to Yandex directives first.
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
3 answers
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
110,608 questions
257,186 answers
0 comments
35,181 users