You should open the .htaccess file in the main directory of WordPress and put a couple of strings of code like in example below.
<Files xmlrpc.php>
order deny,allow
deny from all
</Files>
Or you can open it for an IP address
<Files xmlrpc.php>
order deny,allow
deny from all
allow from 192.168.0.1
</Files>
Top comments (0)