Best way to eliminate xmlrpc.php?

Posted by Prem Tiwari | Updated on

Since WordPress 3.5 this option (XML-RPC) is enabled by default, and the ability to turn it off from WordPress dashboard is gone.

Add this code snippet for use in functions.php:

Although it does what it says, it can get intensive when a site is under attack by hitting it.

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers