REST API Shield & XML-RPC Blocker
A security plugin that controls XML-RPC access and specific WordPress REST API endpoints from anonymous users.
Consider an alternative
REST API Shield & XML-RPC Block… shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 1 year ago, and scores 32/100 on our health check.
- Small user base (10+ active installs)
- Very few reviews so far
- No update in over a year
- Only tested up to WordPress 6.8 (latest is 7.1)
Daily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Version adoption
Share of active sites per release.
About REST API Shield & XML-RPC Blocker
From the official readme · v1.0Description
This plugin is designed to fundamentally strengthen the security of your WordPress site.
By default, WordPress exposes REST API endpoints like the user list (/wp/v2/users) even to unauthenticated users (anonymous users). This poses a risk of information leakage and can serve as a stepping stone for brute-force attacks by enabling username enumeration.
Using this plugin, you can finely adjust the following security settings from the “Settings” -> “General” page in the administration area.
Key Security Features
REST API Anonymous Access Restriction:
-
Core endpoints (such as users, comments, media) and broad routes added by plugins can be specified as a blacklist.
-
Routes necessary for blog display (such as wp/v2/posts) can be specified as a whitelist to exempt them from restrictions.
-
Configure the HTTP status code (e.g., 403 Forbidden) and a custom error message to return upon access denial, preventing attackers from gaining insight into your site structure.
Complete XML-RPC Blocking:
-
Completely disable the XML-RPC functionality (xmlrpc.php) at the core WordPress level.
-
When an attacker attempts access, the plugin responds with a specified HTTP status code and a custom error message, deceptively denying access.
This plugin is highly recommended for all WordPress sites that require enhanced security.
Installation
-
Download the ZIP file and go to the WordPress admin menu “Plugins” > “Add New” > “Upload Plugin” to install it.
-
OR, unzip the downloaded file and upload the contents to the /wp-content/plugins/ directory.
-
Activate “REST API Shield & XML-RPC Blocker” in the WordPress admin menu “Plugins”.
-
Navigate to the “API Security Settings” section at the bottom of the “Settings” > “General” page to adjust your configuration.
Changelog
Initial release. No special upgrade notice is needed for this version.
1.0.0
-
Initial Release.
-
Added XML-RPC enable/disable and custom response configuration features.
-
Added REST API anonymous access restriction feature (Blacklist/Whitelist).
-
Added configuration for custom error messages and HTTP status codes.
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.
FAQ
REST API Shield & XML-RPC Blocker: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is REST API Shield & XML-RPC Block… free?
Yes. REST API Shield & XML-RPC Block… is free to download and use from the official WordPress.org plugin directory.
Is REST API Shield & XML-RPC Block… safe to use in 2026?
REST API Shield & XML-RPC Block… shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 1 year ago, and scores 32/100 on our health check.
How many websites use REST API Shield & XML-RPC Block…?
REST API Shield & XML-RPC Block… is active on 10+ WordPress websites and has been downloaded 524 times since it launched in October 2025. It was downloaded 56 times in the last 30 days.
Does REST API Shield & XML-RPC Block… work with WordPress 7.1?
REST API Shield & XML-RPC Block… is officially tested up to WordPress 6.8.13, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does REST API Shield & XML-RPC Block… need?
REST API Shield & XML-RPC Block… requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was REST API Shield & XML-RPC Block… last updated?
The latest version, 1.0, was released on November 5, 2025 (1 year ago).
Who makes REST API Shield & XML-RPC Block…?
REST API Shield & XML-RPC Block… is developed and maintained by teamredfox.
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



