Open .htaccess file and paste below code at the end, replace IP with your server IP
# Block WordPress xmlrpc.php requests from other IPs <Files xmlrpc.php> order deny,allow deny from all allow from 104.25.x.x </Files>
Published by Navdeep Singh
I'm working as Linux Administrator since 2017 and Redhat certified since 2016 in RHCSA, RHCE.
I have a blog where i post solution and i started YouTube channel as well to help people in their Linux,Windows related stuff. View all posts by Navdeep Singh