Re: How to stop Yandex, Blocking Yandex.RU
Yandex is the most popular search engine in Russia. Your bandwidth can go through the roof if this bot targets your website.
Unfortunately for many, the robots.txt file is ignored so blocking Yandex using the official method is not an option.
If you have a busy forum or website with hundreds of pages you may find that the Yandex Bot is starting to take up more of your site resources by indexing up to 90 pages every 15 minutes often leaving connections open or failing to close them properly.
You can easily disable the Yandex.ru Bot by placing the following in your .htaccess file:
SetEnvIfNoCase User-Agent "^Yandex*" bad_bot Order Deny,Allow Deny from env=bad_bot
Using this method saves you the trouble of having to find blocks of Yandex IP addresses and block them individually which would only work for a limited time.