Login | Sign up | Toll-Free: 1-800-752-0455
 
 

Forum

 

3 posts by 2 authors in: Forums > CMS Builder Community
Last Post: 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

Thanks Deborah!

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

cheers, zicky