Deny xmlrpc.php file but don't log the failed requests
snippet in htaccess

Deny xmlrpc.php file but don't log the failed requests

user5855

RewriteRule ^(xmlrpc\.php) - [F,L,NC]