Title: WP Shield
Author: drupalmatts
Published: <strong>24 Nofeembar, 2019</strong>
Last modified: 17 Sebteembar, 2026

---

Raadi kaabayaal

![](https://ps.w.org/wp-shield/assets/banner-772x250.png?rev=2199969)

![](https://ps.w.org/wp-shield/assets/icon.svg?rev=2199969)

# WP Shield

 Qore [drupalmatts](https://profiles.wordpress.org/drupalmatts/)

[Soo Rog](https://downloads.wordpress.org/plugin/wp-shield.1.7.zip)

 * [Faahfaahin](https://so.wordpress.org/plugins/wp-shield/#description)
 * [Dibu-eegisyo](https://so.wordpress.org/plugins/wp-shield/#reviews)
 *  [Rakibaad](https://so.wordpress.org/plugins/wp-shield/#installation)
 * [Horumarinta](https://so.wordpress.org/plugins/wp-shield/#developers)

 [Taageero](https://wordpress.org/support/plugin/wp-shield/)

## Sharraxaad

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.

## Sawir-shaashado

[⌊Admin settings showing control of shield⌉⌊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⌉[

How the http authorization appears when enabled

## Rakibaad

 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
    ```

## SBI

TBD

## Dibu-eegisyo

Ma jiraan wax dibu-eegis ah oo ku saabsan kaabahan.

## Ka-qaybgalayaasha & Horumariyayaasha

“WP Shield” waa softiweer il furan. Dadka soo socda ayaa wax ku biiriyay kaabahan.

Ka-qaybgalayaasha

 *   [ drupalmatts ](https://profiles.wordpress.org/drupalmatts/)

[Ku tarjun “WP Shield” luqaddaada.](https://translate.wordpress.org/projects/wp-plugins/wp-shield)

### Ma xiisaynaysaa horumarinta?

[Baadh koodka](https://plugins.trac.wordpress.org/browser/wp-shield/), fiiri [bakhaarka SVN](https://plugins.svn.wordpress.org/wp-shield/),
ama iska qor [diiwaanka horumarinta](https://plugins.trac.wordpress.org/log/wp-shield/)
adigoo adeegsanaya [RSS](https://plugins.trac.wordpress.org/log/wp-shield/?limit=100&mode=stop_on_copy&format=rss).

## Isbeddellada

#### 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

#### 1.7

 * Checked for php8.4 deprecations
 * Fixed bug on the admin screen to check for the Checked option in Database
 * Updated title on admin screen
 * Added screenshots

## Meta

 *  Version **1.7**
 *  Last updated **3 todobaad kahor**
 *  Active installations **20+**
 *  WordPress version ** 4.6 ama ka sareeya **
 *  Tested up to **7.1.3**
 *  PHP version ** 7.4 ama ka sareeya **
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-shield/)
 * Tags
 * [development](https://so.wordpress.org/plugins/tags/development/)[environments](https://so.wordpress.org/plugins/tags/environments/)
   [security](https://so.wordpress.org/plugins/tags/security/)
 *  [Aragti Sare](https://so.wordpress.org/plugins/wp-shield/advanced/)

## Qiimeynta

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/wp-shield/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-shield/reviews/)

## Ka-qaybgalayaasha

 *   [ drupalmatts ](https://profiles.wordpress.org/drupalmatts/)

## Taageero

Ma heysaa waxaad dhahdo? Caawimaad ma u baahan tahay?

 [Eeg madasha taageerada](https://wordpress.org/support/plugin/wp-shield/)

## Ku deeq

Ma jeclaan lahayd inaad taageerto horumarinta kaabahan?

 [ Ugu deeq kaabahan ](http://N/A)