Di file .htaccess tambahkan
SetEnvIfNoCase User-Agent "^Yandex*" bad_bot order allow, deny deny from env=bad_bot deny from 95.108.152.0/22 deny from 95.108.216.0/23 deny from 95.108.240.0/21 deny from 95.108.248.0/23 deny from 178.154.128.0/17 deny from 178.154.160.0/22 deny from 178.154.164.0/23 deny from 199.36.240.0/22 deny from 213.180.192.0/19 deny from 213.180.204.0/24 deny from 213.180.206.0/23 deny from 213.180.209.0/24 deny from 213.180.218.0/23 deny from 213.180.220.0/23 deny from 77.88.0.0/18 deny from 77.88.22.0/23 deny from 77.88.24.0/21 deny from 77.88.24.0/22 deny from 77.88.28.0/22 deny from 77.88.36.0/23 deny from 77.88.42.0/23 deny from 77.88.44.0/24 deny from 77.88.50.0/23 deny from 87.250.224.0/19 deny from 87.250.230.0/23 deny from 87.250.252.0/22 deny from 93.158.128.0/18 deny from 93.158.137.0/24 deny from 93.158.144.0/21 deny from 93.158.144.0/23 deny from 93.158.146.0/23 deny from 93.158.148.0/22 deny from 95.108.128.0/17 deny from 95.108.128.0/24 deny from 5.255.192.0/18 deny from 178.154.243.0/24 deny from 37.140.128.0/18 deny from 95.108.158.0/24
di file robots.txt tambahkan
User-agent: Yandex Disallow: /