Add the following lines to your syte's .htaccess fileā¦
.htaccess
<Files xmlrpc.php> Order Deny,Allow Deny from all </Files>