REST API Shield & XML-RPC Blocker WordPress Plugin Skip to content
REST API Shield & XML-RPC Blocker icon

WordPress plugin

REST API Shield & XML-RPC Blocker

A security plugin that controls XML-RPC access and specific WordPress REST API endpoints from anonymous users.

By teamredfox10+ active installs
Active installs
10+
Version
1.0
Last updated
Nov 5, 2025
Tested up to
WordPress 6.8.13
Requires
WP 6.8 · PHP 7.4

Health check

Is REST API Shield & XML-RPC Blocker safe to rely on?

Our reading of the public WordPress.org data: maintenance, compatibility, ratings and support.

No update in over a year

Last updated on November 5, 2025. It may not be compatible with current WordPress or PHP, and unfixed issues are a security risk.

Not yet tested with the latest WordPress

Tested up to WordPress 6.8.13. It often still works, but check on staging first.

Requires PHP 7.4 or newer

Check your hosting PHP version before installing. Modern PHP is faster and receives security fixes.

Rank tracker

Where REST API Shield & XML-RPC Blocker ranks in WordPress.org search

Its position in WordPress.org plugin search for its tags and name, refreshed weekly so you can see how its visibility changes.

WordPress.org search positions for REST API Shield & XML-RPC Blocker
KeywordPositionChangeTrendCurrent #1
rest api shield

Checked against the top 100 WordPress.org search results.

Overview

What REST API Shield & XML-RPC Blocker does

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.

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.

Description from the author's listing. Read the full listing on WordPress.org

Screenshots

REST API Shield & XML-RPC Blocker in action

The 'API Security Settings' section added to the 'Settings' -> 'General' page in the admin area.
The 'API Security Settings' section added to the 'Settings' -> 'General' page in the…
REST API route Blacklist configuration screen.
REST API route Blacklist configuration screen.
XML-RPC complete blocking and custom response settings.
XML-RPC complete blocking and custom response settings.

FAQ

REST API Shield & XML-RPC Blocker: questions and answers

What is REST API Shield & XML-RPC Blocker?

REST API Shield & XML-RPC Blocker is a WordPress plugin by teamredfox. A security plugin that controls XML-RPC access and specific WordPress REST API endpoints from anonymous users.

Is REST API Shield & XML-RPC Blocker free?

REST API Shield & XML-RPC Blocker is listed in the WordPress.org plugin directory, so the version there is free to download and use. Some authors also sell paid add-ons or a premium edition with more features and support.

How many websites use REST API Shield & XML-RPC Blocker?

WordPress.org reports 10+ active installations of REST API Shield & XML-RPC Blocker. That figure counts sites running the WordPress.org version and is rounded down by WordPress.org.

Is REST API Shield & XML-RPC Blocker still maintained?

REST API Shield & XML-RPC Blocker was last updated on November 5, 2025. The current version is 1.0. Check the changelog on WordPress.org and test updates on a staging site before applying them to a live site.

What does REST API Shield & XML-RPC Blocker require?

REST API Shield & XML-RPC Blocker requires WordPress 6.8 or newer and PHP 7.4 or newer. It has been tested up to WordPress 6.8.13.

Can Codefreex set up or customize REST API Shield & XML-RPC Blocker?

Yes. Codefreex installs, configures and customizes WordPress plugins including REST API Shield & XML-RPC Blocker, fixes conflicts and performance problems, and builds custom features when a plugin does not do exactly what you need. Send your site URL for a free review.

Free expert review

Need REST API Shield & XML-RPC Blocker set up, customized or fixed?

Tell us about your site and what you need this plugin to do. A senior WordPress developer replies within one business day with a plan and a quote.

Built this plugin yourself? We help WordPress product teams with development, support load and growth. Talk to us