Skip to content

Instantly share code, notes, and snippets.

@yoren
Created January 28, 2014 13:42
Show Gist options
  • Save yoren/8667867 to your computer and use it in GitHub Desktop.
Save yoren/8667867 to your computer and use it in GitHub Desktop.
Blacklist suspicious IPs in .htaccess in WordPress
<Files wp-login.php>
order deny,allow
deny from 123.123.123.123
allow from all
</Files>
@yoren
Copy link
Author

yoren commented Jan 28, 2014

Replace 123.123.123.123 with the IP you want to block.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment