Disable XML-RPC-API
View on WordPress.orgScores higher than 79% of indexed plugins
About
A simple and lightweight plugin to disable XML-RPC API, X-Pingback and pingback-ping in WordPress 3.5+ for a faster and more secure website
What It Does
Disable XML-RPC-API shuts down the XML-RPC endpoint on WordPress 3.5+ sites, blocking pingbacks and X-Pingback headers that are commonly abused for DDoS reflection and brute force amplification. In practice it adds a few filters to drop XML-RPC requests before they hit the application layer, which reduces server load and closes off a legacy attack surface. It does not affect the REST API or the admin dashboard.
Who It's For
This plugin suits site owners who do not use the WordPress mobile app, Jetpack, or third-party tools that rely on XML-RPC for remote publishing. It is a good fit for small business sites, blogs, and corporate intranets that have noticed brute force attempts targeting xmlrpc.php in their logs. Agencies hardening multiple client sites will also appreciate the zero-configuration approach.
Who Should Skip It
If you publish remotely using the WordPress mobile app, a desktop client like MarsEdit, or services such as IFTTT that require XML-RPC, installing this will break those workflows. You should also skip it if you already run a web application firewall or security plugin that disables XML-RPC, since stacking these tools adds no real benefit.
The Bottom Line
Disable XML-RPC-API is a competent, actively maintained plugin that does one job well and has earned a solid 82.49 quality score. Its main drawback is the absence of any visible support channel, so users troubleshooting a conflict are largely on their own. For most sites that do not depend on XML-RPC, it is a sensible, low-risk addition to a hardening checklist.
Related Plugins
Pick SiteGuard when you need XML-RPC protection as part of a broader security suite that also covers login lockdown, CAPTCHA, and IP whitelisting.
Choose Disable XML-RPC if you want a nearly identical feature set but with twice the install base and a slightly higher quality score.
Choose No Self Ping if your only concern is stopping self-pingbacks in your comments and you do not need a full XML-RPC lockdown.
Pick Stop XML-RPC Attacks if you want a tool that lets you allow specific IP addresses through to XML-RPC while blocking everyone else.
Pick Disable XML-RPC Pingback if you want a lightweight option that blocks pingbacks only and leaves the rest of the XML-RPC surface intact.