BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
WP Shield icon
Actively maintained Tested with WP 7.1 #47 in development

WP Shield

This plugin will allow you to secure your development, staging and UAT environments with an http authentication block that can be controlled in admin but also turned off via a declared variable in your config file. It…

Active installs20+10+ tier
Downloads · 30d143▲ +160% vs prev. 30d
Rating—0 reviews
Health score67/100Good
All-time downloads2.7KSince Nov 2019
Support resolved—No recent threads
RequiresWP 4.6PHP 7.4+
Downloads · 7d22▼ -76.8% week over week
Our verdict

Solid choice

WP Shield is a solid plugin choice in 2026, with a few things worth checking first. It runs on 20+ sites and was last updated 2 weeks ago, and scores 67/100 on our health check.

  • Actively developed — last update 2 weeks ago
  • Tested with the latest WordPress (7.1)
  • Small user base (20+ active installs)
  • Very few reviews so far

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

71522Jul 3Aug 16Sep 30
Yesterday2
Daily average (1y)2
Peak day30Sep 18, 2026
Last 12 months656

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where WP Shield stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
development >100 7,526 Best development plugins →
environments >100 4,312 Best environments plugins →
security >100 10,000 Best security plugins →

Version adoption

Share of active sites per release.

  • 1.651.9%
  • 1.748.2%

About WP Shield

From the official readme · v1.7

Description

This plugin will allow you to secure your development, staging and UAT environments
with an http authentication block that can be controlled in admin but also turned
off via a declared variable in your config file. It allows you to bring your Database
back to non-production environments without having to physically turn off the plugin each time.

Variable: define('WP_SHIELD_UN', '');

This simple line of code (recommended to add to a file ignored by your code management
software and required into your wp_config.php file) will override the enabled flag
if the plugin’s settings. Enable in production and add the above code. If that
require file doesn’t exist in your other environments, it will prompt users for the
set username and password.

Installation

  1. Download WP Shield from the WordPress plugin directory
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->’WP Shield’ screen to configure the plugin
  4. Enter the username and password you want use for the shield
  5. Check the enabled checkbox and Submit

NOTE: Depending on your setup you may need to add one of the following to your .htaccess
or apache conf file:

.htaccess

RewriteRule .* index.php [QSA,E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

Apache conf

SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

Changelog

No Update available

1.0

  • Initial release of the Plugin

1.2

  • Add code to bypass shield on WP-CLI calls

1.3

  • Update readme for authorization setup

1.4

  • Fix for caching of credentials

1.5

  • Tested and confirmed for WordPress 6.1

1.6

  • Tested and confirmed for WordPress 6.4

Full changelog on WordPress.org →

Screenshots

Admin settings showing control of shield
Admin settings showing control of shield
How the http authorization appears when enabled
How the http authorization appears when enabled

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.

Active installs badge Rating badge Health score badge

Best WP Shield alternatives

All development plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Query Monitor Query Monitor Query Monitor is the developer tools panel for WordPress and WooCommerce. by John Blackbourn 200K+ ★★★★★★★★★★ 4.9 (469) 3 months ago 71
2 Yoast Test Helper Yoast Test Helper This plugin makes testing Yoast SEO, Yoast SEO add-ons and integrations and resetting the… by Yoast 60K+ ★★★★★★★★★★ 4.9 (12) 1 month ago 82
3 What The File What The File What The File is the best tool to find out what template parts are used to display the page… by Barry Kooij 40K+ ★★★★★★★★★★ 4.9 (882) 7 months ago 63
4 Stop Emails Stop Emails Stop all outgoing emails sent from WordPress. by Sal Ferrarello 5K+ ★★★★★★★★★★ 5 (12) 9 months ago 56
5 Monkeyman Rewrite Analyzer Monkeyman Rewrite Analyzer Making sense of the rewrite mess. Display and play with your rewrite rules. by Jan Fabry 1K+ ★★★★★★★★★★ 5 (26) 15 years ago 44
6 WP Secure Maintenance WP Secure Maintenance Want to lock your site for Maintenance or Development? Then this is the right Plugin by Saad Iqbal 1K+ ★★★★★★★★★★ 3.6 (5) 2 years ago 33
7 Display Environment Type Display Environment Type Displays WordPress 5.5's environment type setting in the admin bar and the "At a Glance"… by Stoil Dobreff 1K+ ★★★★★★★★★★ 5 (4) 10 months ago 49
8 What Template What Template Adds the current page's template name to the admin bar. by Brian Alexander 1K+ ★★★★★★★★★★ 5 (3) 2 years ago 34
9 WP PHP Console WP PHP Console An implementation of PHP Console as a WordPress plugin. Use Chrome Dev Tools to debug your… by Fulvio Notarstefano 500+ ★★★★★★★★★★ 4.7 (19) 6 years ago 38
10 Ray Ray Easily debug WordPress sites using Ray. by freekmurze 400+ ★★★★★★★★★★ 5 (10) 10 months ago 54

FAQ

WP Shield: quick answers

Straight answers, pulled from live WordPress.org data.

Live data from WordPress.org · checked Oct 1, 2026

Is WP Shield free?

Yes. WP Shield is free to download and use from the official WordPress.org plugin directory.

Is WP Shield safe to use in 2026?

WP Shield is a solid plugin choice in 2026, with a few things worth checking first. It runs on 20+ sites and was last updated 2 weeks ago, and scores 67/100 on our health check.

How many websites use WP Shield?

WP Shield is active on 20+ WordPress websites and has been downloaded 2,722 times since it launched in November 2019. It was downloaded 143 times in the last 30 days.

Does WP Shield work with WordPress 7.1?

Yes. The developer has tested WP Shield up to WordPress 7.1.2, the latest release. It requires WordPress 4.6 or newer.

What PHP version does WP Shield need?

WP Shield requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was WP Shield last updated?

The latest version, 1.7, was released on September 17, 2026 (2 weeks ago).

Who makes WP Shield?

WP Shield is developed and maintained by drupalmatts.

What are the best alternatives to WP Shield?

The most popular alternatives to WP Shield are Query Monitor (200K+ installs), Yoast Test Helper (60K+ installs) and What The File (40K+ installs).

Powered by PageForge

Want thousands of pages that rank like these? Build them in an afternoon.

This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.

  • CSV, Google Sheets & API data sources
  • AI content, schema & internal links per page
  • Works with Elementor, Gutenberg, Yoast & Rank Math
  • Free on WordPress.org — no credit card
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.