showTag('security');

Block XMLRPC access in WordPress

<Files xmlrpc.php>
<IfModule !mod_authz_core.c>
order deny,allow
deny from all
allow from <IP ADDRESS>
</IfModule>
<IfModule mod_authz_core.c>
Require ip <IP ADDRESS> <IP ADDRESS>
</IfModule>
</Files>

Showing 10 lines of 16 total lines in this snippet.