Disable XML-RPC-API
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
Use with caution
Disable XML-RPC-API works, but test it on a staging site before relying on it in 2026. It runs on 100K+ sites, is rated 4.2/5 and was last updated 10 months ago, and scores 49/100 on our health check.
- Proven at scale on 100K+ active sites
- Only tested up to WordPress 6.9 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Disable XML-RPC-API stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| disable xml-rpc | #2 |
| disable xmlrpc | #3 |
| pingback | #9 |
| stop brute force attacks | #16 |
| xmlrpc | #5 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 4.2 from 43 reviews
About Disable XML-RPC-API
From the official readme · v2.1.7Description
Protect your website from xmlrpc brute-force attacks,DOS and DDOS attacks, this plugin disables the XML-RPC and trackbacks-pingbacks on your WordPress website.
PLUGIN FEATURES
(These are options you can enable or disable each one)
- Disable access to xmlrpc.php file using .httacess file
- Automatically change htaccess file permission to read-only (0444)
- Disable X-pingback to minimize CPU usage
- Disable selected methods from XML-RPC
- Remove pingback-ping link from header
- Disable trackbacks and pingbacks to avoid spammers and hackers
- Rename XML-RPC slug to whatever you want
- Black list IPs for XML-RPC
- White list IPs for XML-RPC
- Some options to speed-up your wordpress website
- Disable JSON REST API
- Hide WordPress Version
- Disable built-in WordPress file editor
- Disable wlw manifest
- And some other options
What is XMLRPC
XML-RPC, or XML Remote Procedure Call is a protocol which uses XML to encode its calls and HTTP as a transport mechanism.
Beginning in WordPress 3.5, XML-RPC is enabled by default. Additionally, the option to disable/enable XML-RPC was removed. For various reasons, site owners may wish to disable this functionality. This plugin provides an easy way to do so.
Why you should disable XML-RPC
Xmlrpc has two main weaknesses
- Brute force attacks:
Attackers try to login to WordPress using xmlrpc.php with as many username/password combinations as they can enter. A method within xmlrpc.php allows the attacker to use a single command (system.multicall) to guess hundreds of passwords. Daniel Cid at Sucuri described it well in October 2015: “With only 3 or 4 HTTP requests, the attackers could try thousands of passwords, bypassing security tools that are designed to look and block brute force attempts.” - Denial of Service Attacks via Pingback:
Back in 2013, attackers sent Pingback requests through xmlrpc.php of approximately 2500 WordPress sites to “herd (these sites) into a voluntary botnet,” according to Gur Schatz at Incapsula. “This gives any attacker a virtually limitless set of IP addresses to Distribute a Denial of Service attack across a network of over 100 million WordPress sites, without having to compromise them.”
Installation
- Upload the disable-xml-rpc directory to the
/wp-content/plugins/directory in your WordPress installation - Activate the plugin through the ‘Plugins’ menu in WordPress
- XML-RPC-API is now disabled!
To re-enable XML-RPC, just deactivate the plugin through the ‘Plugins’ menu.
Changelog
1.0.0
- Initial release
1.0.1
- Fix bugs
1.0.5
- Remove pingback link tag in header
- Add ability to fix htaccess file permission
1.0.6
- Fix warnings for htaccess permission
1.0.7
- Fix blank page when using W3 Total Cache and some other cache plugins
1.0.8
- Fix code conflict with Autoptimize plugin
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Disable XML-RPC-API alternatives
All disable xml-rpc plugins →FAQ
Disable XML-RPC-API: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Disable XML-RPC-API free?
Yes. Disable XML-RPC-API is free to download and use from the official WordPress.org plugin directory.
Is Disable XML-RPC-API safe to use in 2026?
Disable XML-RPC-API works, but test it on a staging site before relying on it in 2026. It runs on 100K+ sites, is rated 4.2/5 and was last updated 10 months ago, and scores 49/100 on our health check.
How many websites use Disable XML-RPC-API?
Disable XML-RPC-API is active on 100K+ WordPress websites and has been downloaded 843,038 times since it launched in October 2020. It was downloaded 6,630 times in the last 30 days.
Does Disable XML-RPC-API work with WordPress 7.1?
Disable XML-RPC-API is officially tested up to WordPress 6.9.12, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Disable XML-RPC-API last updated?
The latest version, 2.1.7, was released on February 4, 2026 (10 months ago).
Who makes Disable XML-RPC-API?
Disable XML-RPC-API is developed and maintained by Amin Nazemi.
What are the best alternatives to Disable XML-RPC-API?
The most popular alternatives to Disable XML-RPC-API are Simple Disable XML-RPC (1K+ installs), AB WP Security (10+ installs) and Senpai Software (10+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card


