Title: Network Privacy
Author: Ron Rennick
Published: <strong>27 Tháng 6, 2010</strong>
Last modified: 29 Tháng 7, 2015

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://s.w.org/plugins/geopattern-icon/network-privacy.svg)

# Network Privacy

 Bởi [Ron Rennick](https://profiles.wordpress.org/wpmuguru/)

[Tải về](https://downloads.wordpress.org/plugin/network-privacy.0.1.5.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/network-privacy/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/network-privacy/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/network-privacy/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/network-privacy/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/network-privacy/)

## Mô tả

This plugin adds 2 privacy options in a single install and 3 in a network install.
In a network install the network administrators (Super admins) have the option to
set the privacy setting for the entire network. When the privacy is set for the 
entire network, the extra privacy options are not shown on individual site’s Settings-
> Privacy.

_Features_

In a single site WordPress install adds the following privacy options:

 * I would like my site to be visible only to Site subscribers.
 * I would like my site to be visible only to Site administrators.

In a WordPress network activated on an individual site adds the following privacy
options:

 * I would like my site to be visible only to Registered network users.
 * I would like my site to be visible only to Site subscribers.
 * I would like my site to be visible only to Site administrators.
 * I would like my site to be visible only to Site contributors (and above)

When Network Activated or in the mu-plugins folder in a WordPress network adds the
following:

 * A privacy selector in the Network Admin -> Settings page to allow individual 
   site privacy or the 3 above across to network.

Support can be obtained through:

[Try the WordPress Forums first](https://wordpress.org/support/plugin/network-privacy)

[Twitter](http://twitter.com/wpmuguru)

[Ron & Andrea](http://ronandandrea.com/contact/)

### To Do

 * Update the robots.txt process to use the constants/functions for wp-content, 
   wp-includes and wp-admin directories (in case those items are in a non-standard
   location, or the install is in a subdirectory)

## Cài đặt

 1. To install in the mu-plugins folder Upload `ra-network-privacy.php` to the `/wp-
    content/mu-plugins/` directory. It will be listed in your “Must Use” plugins list
    and always active.
 2. To install in the plugins folder Upload the `network-privacy` folder to the `/wp-
    content/plugins/` directory. It will be listed in your regular plugins list.
 3. Activate the plugin through the ‘Plugins’ menu in WordPress

## Hỏi đáp

  Why did I receive an email from Google saying the my CSS and JS files are blocked?

By default, this plugin generates a robots.txt file that blocks bot access to the
following directories:

 * `''`
 * `'/wp-admin'`
 * `'/wp-includes'`
 * `'/wp-login.php'`
 * `'/wp-content/plugins'`
 * `'/wp-content/cache'`
 * `'/wp-content/themes'`
 * `'/trackback'`
 * `'/comments'`

If you are having issues with this, you can filter the list of directories that 
are blocked in the robots.txt file by using the `ra_network_privacy_robots_disallow`
filter. If you want to allow access to specific directories or files, you can also
use the `ra_network_privacy_robots_allow` filter to populate the array of allowed
items.

## Đánh giá

![](https://secure.gravatar.com/avatar/e9bfc6bfa914b1b6d2e0dc60f10b07e813ca849cd9ecd2918c9024ab56433e74?
s=60&d=retro&r=g)

### 󠀁[Every staging site should have this](https://wordpress.org/support/topic/every-staging-site-should-have-this/)󠁿

 [Pieter Bos](https://profiles.wordpress.org/senlin/) 3 Tháng 9, 2016

Golden oldie that I use on all my staging sites. Although originally developed for
Multisite, it works brilliant on standalone sites too, for which I mostly use the
plugin.

![](https://secure.gravatar.com/avatar/c14426d75336e4930816d416df44f017cc22916378303116a46bf02ea0d79487?
s=60&d=retro&r=g)

### 󠀁[works as described](https://wordpress.org/support/topic/works-as-described-165/)󠁿

 [midpod](https://profiles.wordpress.org/midpod/) 3 Tháng 9, 2016

works as described using on a single install

![](https://secure.gravatar.com/avatar/853615b1c770250628fd093de89d99f1df1ebfa6d22c7c54669e80a94dde6950?
s=60&d=retro&r=g)

### 󠀁[Worked quickly and easily](https://wordpress.org/support/topic/worked-quickly-and-easily-1/)󠁿

 [Kardon](https://profiles.wordpress.org/kardontech/) 3 Tháng 9, 2016

Other privacy plugins where causing weird login and session problems. Switched to
this one and everything works perfectly from the start. Thanks!

 [ Đọc tất cả 7 đánh giá ](https://wordpress.org/support/plugin/network-privacy/reviews/)

## Người đóng góp & Lập trình viên

“Network Privacy” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ Ron Rennick ](https://profiles.wordpress.org/wpmuguru/)
 *   [ Curtiss Grymala ](https://profiles.wordpress.org/cgrymala/)
 *   [ scribu ](https://profiles.wordpress.org/scribu/)

[Dịch “Network Privacy” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/network-privacy)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/network-privacy/), check
out [SVN repository](https://plugins.svn.wordpress.org/network-privacy/), hoặc theo
dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/network-privacy/)
qua [RSS](https://plugins.trac.wordpress.org/log/network-privacy/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 0.1.5

 * add `ra_network_privacy_robots_disallow` filter to allow filtering the list of
   directories that are disallowed by robots.txt
 * add `ra_network_privacy_robots_allow` filter to allow adding specific directories
   that should allow bot access (empty array by default)

#### 0.1.4

 * add ‘ra_network_privacy_caps’ filter
 * change default cap for administrators from add_users to promote_users
 * insert fix for BuddyPress [thanks to Simon Wheatley](https://wordpress.org/support/topic/plugin-network-privacy-problem-with-buddypress)

#### 0.1.3

 * Fix bug in “Network Users” option

#### 0.1.2

 * update to be compatible with WP 3.3
 * remove Edit site option due to hook changes in WP

#### 0.1.1

 * fix login redirect check for public & non public sites

#### 0.1

 * Original version.

## Meta

 *  Phiên bản **0.1.5**
 *  Cập nhật lần cuối **11 năm trước**
 *  Số lượt cài đặt **300+**
 *  Phiên bản WordPress ** 3.3 hoặc cao hơn **
 *  Đã kiểm tra lên đến **4.2.39**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/network-privacy/)
 * Thẻ
 * [network](https://vi.wordpress.org/plugins/tags/network/)[privacy](https://vi.wordpress.org/plugins/tags/privacy/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/network-privacy/advanced/)

## Đánh giá

 5 trên 5 sao.

 *  [  7 5-star reviews     ](https://wordpress.org/support/plugin/network-privacy/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/network-privacy/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/network-privacy/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/network-privacy/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/network-privacy/reviews/?filter=1)

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

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/network-privacy/reviews/)

## Những người đóng góp

 *   [ Ron Rennick ](https://profiles.wordpress.org/wpmuguru/)
 *   [ Curtiss Grymala ](https://profiles.wordpress.org/cgrymala/)
 *   [ scribu ](https://profiles.wordpress.org/scribu/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/network-privacy/)