Leave a Reply

2 comments

  1. Since it looks as there is no referrer you could block the attempts with .htaccess.
    Something like this:

    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9} /.*/wp-login.php.* HTTP/ [NC]
    RewriteCond %{HTTP_REFERER} ^-?$
    RewriteRule .* - [F,NS]
    

    There are different variations on that, you could even just trying using REQUEST_URI instead.

    RewriteCond %{REQUEST_URI} wp-login.php [NC]
    RewriteCond %{HTTP_REFERER} ^-?$
    RewriteRule .* - [F,NS]
    

    Or if you’re the only person logging into your site you could lock it down even more like so:

    RewriteCond %{REQUEST_URI} wp-login.php [NC]
    RewriteCond %{REMOTE_ADDR} !^xxx.xxx.xxx.xxx$
    RewriteRule .* http://example.com [R=301,L]
    

    Where xxx.xxx.xxx.xxx is your static IP Address. Can be modified to just work for Class A, B, or C if you have a dynamic IP Address.

    Where example.com is your TLD. That way they’re just redirected to your home page.