Can you show me how will look robots.txt when I block only yandex bot,allow Google bot and block Yandex bot.
How block only Yandex bot
web crawlers;googlebot;robots.txt;yandex
There are many Yandex bots. If you want to block all the Yandex bots then:User-agent: YandexDisallow: /However, if you only want to block the main indexing YandexBot then:User-agent: YandexBotDisallow: /Source:https://yandex.com/support/webmaster/controlling-robot/robots-txt.xmlYou don't need to do anything for Googlebot (or any other bot) if you want the other bots to crawl your site, since allow (crawling) is the default action.