Title: WP Shield
Author: drupalmatts
Published: <strong>24 نومبر 2019</strong>
Last modified: 6 ڊسمبر 2023

---

پلگ انس ڳولھيو

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

ھي پلگ ان **WordPress جي جديد 3 وڏين رليزز** سان آزمايو نه ويو آھي. اهو ٿي سگهي 
ٿو وڌيڪ برقرار يا سپورٽ نه ٿي سگهي ۽ ٿي سگهي ٿو مطابقت جا مسئلا جڏهن ورڈپریس جي 
وڌيڪ تازي ورزن سان استعمال ڪيو وڃي.

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

# WP Shield

 کان: [drupalmatts](https://profiles.wordpress.org/drupalmatts/)

[ڊائون لوڊ ڪريو](https://downloads.wordpress.org/plugin/wp-shield.1.6.zip)

 * [تفصيل](https://snd.wordpress.org/plugins/wp-shield/#description)
 * [جائزو](https://snd.wordpress.org/plugins/wp-shield/#reviews)
 *  [تنصيب](https://snd.wordpress.org/plugins/wp-shield/#installation)
 * [ترقي](https://snd.wordpress.org/plugins/wp-shield/#developers)

 [سھائتا](https://wordpress.org/support/plugin/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 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.

## انسٽاليشن

 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
 6. Add the following code to your wp_config.php file:
 7.     ```
        if(file_exists('shield-settings.php')) {
          include('shield-settings.php');
        }
        ```
    

For production environments:
 7. Add the above snippet of code to the shield_settings.
php file in the root of your WordPress installation.

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

## FAQ

TBD

## جائزا

ھن پلگ ان لاءِ ڪي به رايا ناھن.

## تعاون ڪندڙ & ڊولپرز

“WP Shield” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو آھي.

تعاون ڪندڙ

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

[ترجمو ڪريو “WP Shield” توهان جي ٻولي ۾.](https://translate.wordpress.org/projects/wp-plugins/wp-shield)

### ڊولپمينٽ ۾ دلچسپي؟

[ڪوڊ براؤز ڪريو](https://plugins.trac.wordpress.org/browser/wp-shield/)، چيڪ ڪريو
[SVN مخزن](https://plugins.svn.wordpress.org/wp-shield/)، يا رڪنيت حاصل ڪريو [ڊولپمينٽ لاگ](https://plugins.trac.wordpress.org/log/wp-shield/)
پاران [RSS](https://plugins.trac.wordpress.org/log/wp-shield/?limit=100&mode=stop_on_copy&format=rss).

## لاگ تبدیل ڪريو

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

## ميٽا

 *  Version **1.6**
 *  Last updated **3 سالَ اڳ**
 *  Active installations **20+**
 *  WordPress version ** 4.6 يا وڌيڪ **
 *  Tested up to **6.4.10**
 *  PHP version ** 7.4 يا وڌيڪ **
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-shield/)
 * Tags
 * [development](https://snd.wordpress.org/plugins/tags/development/)[environments](https://snd.wordpress.org/plugins/tags/environments/)
   [security](https://snd.wordpress.org/plugins/tags/security/)
 *  [ترقي يافته ڏيک](https://snd.wordpress.org/plugins/wp-shield/advanced/)

## درجه بندي

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/)

## تعاون ڪندڙ

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

## سھائتا

چوڻ لاءِ ڪجهه آهي؟ مدد گهرجي؟

 [ڏسو سپورٽ فورم](https://wordpress.org/support/plugin/wp-shield/)

## عطيو

ڇا توھان ھن پلگ ان جي ترقي ۾ مدد ڪرڻ چاھيو ٿا؟

 [ هن پلگ ان ڏانھن مدد ڪريو ](http://N/A)