How to prevent xmlrpc attack on the WordPress?

To prevent xmlrpc attack in WordPress website just add below code to the .htaccess file of the user domain -

Redirect 301 /xmlrpc.php http://127.0.0.1

Hope this article helps!

Was this answer helpful?

 Print this Article

Also Read

sendmail cannot be called directly from a shell with the current user id

While sending email using sendmail scirpt, I was getting the error message as - sendmail:...

MySQL Error 28 - WordPress Error

While accessing the WordPress site and dashboard, I was getting the error as 'MySQL Error 28'....

Sorry, the domain is already pointed to an IP address that does not appear to use DNS servers associated with this server.

I was getting below error message in cPanel while creating addon domain from cPanel >>...

How to install PHP selector on cPanel with CloudLinux?

If your server installed cPanel with CloudLinux and you will see the below error message at...

Error displaying the error page: The cachelite Cache Storage is not supported on this platform. (Joomla error)

While accessing the Joomla site, I was getting error as - Error displaying the error page: The...

Powered by WHMCompleteSolution