Skip to content

Instantly share code, notes, and snippets.

@territutich
Created May 31, 2016 20:50
Show Gist options
  • Save territutich/f1f067b3ff734f8d91c45544ae300539 to your computer and use it in GitHub Desktop.
Save territutich/f1f067b3ff734f8d91c45544ae300539 to your computer and use it in GitHub Desktop.
Add this to .htaccess to block xmlrpc.php helps to prevent brute force attacks on sites.
# Block WordPress xmlrpc.php requests
<Files xmlrpc.php>
order deny,allow
deny from all
</Files>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment