Home Plugins wee remove xmlrpc methods
Remove XML-RPC Methods logo

Remove XML-RPC Methods

by Walter Ebert on WordPress.org

Remove all WordPress methods from the XML-RPC API to increase security.

(2)

This plugin does more than just using the xmlrpc_enabled hook, because that is only used “To disable XML-RPC methods that require authentication”.

Activating this plugin will also disable pingbacks, trackbacks, and Really Simple Discovery (RSD), because these rely on XML-RPC.

It works with any webserver, because it does not use the .htaccess file.

Testing the plugin

From the command line you can test if the plugin is working correctly using cURL. Replace the example.com link to match your website:

curl -d 'system.listMethods' https://example.com/xmlrpc.php

This should only return the following methods:
system.multicall
system.listMethods
system.getCapabilities

Active installations1K+
Weekly downloads
38-29.63%
Version1.4.1
Last updated11/25/2024
WordPress version4.6
Tested up to6.7.2
PHP version5.4.0
Tags
securityxml-rpcxmlrpc