Skip to content

Instantly share code, notes, and snippets.

@jprieton
Created April 6, 2016 15:39
Show Gist options
  • Save jprieton/6b8859b91e100025d41421db804ead8c to your computer and use it in GitHub Desktop.
Save jprieton/6b8859b91e100025d41421db804ead8c to your computer and use it in GitHub Desktop.
Block any attempted XML-RPC requests
## Block any attempted XML-RPC requests
<Files xmlrpc.php>
order deny,allow
deny from all
## allow from 123.123.123.123
</Files>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment