Messing with Bots

3 posts by 2 authors in: Forums > CMS Builder Community
Last Post: October 28, 2017   (RSS)

By Deborah - October 28, 2017

Zicky, I'm not sure of the pros/cons of the two PHP methods, but another way to block them is with htaccess. This covers both standard WP login urls

#block wp login bots
SetEnvIf Request_URI wp-login.php$ BackOffNow=1
SetEnvIf Request_URI ^/wp-admin/ BackOffNow=1
Order allow,deny
Allow from all
Deny from env=BackOffNow

~ Deborah

By Mikey - October 28, 2017

Thanks Deborah!

much cleaner approach... I'm going to put your suggestion into action!

cheers, zicky