Title: Very basic content restriction
Author: curlybracket
Published: <strong>2013 年 3 月 19 日</strong>
Last modified: 2014 年 9 月 23 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/very-basic-content-restriction.svg)

# Very basic content restriction

 作者：[curlybracket](https://profiles.wordpress.org/veganist/)

[下载](https://downloads.wordpress.org/plugin/very-basic-content-restriction.1.4.zip)

 * [详情](https://cn.wordpress.org/plugins/very-basic-content-restriction/#description)
 * [评价](https://cn.wordpress.org/plugins/very-basic-content-restriction/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/very-basic-content-restriction/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/very-basic-content-restriction/#developers)

 [支持](https://wordpress.org/support/plugin/very-basic-content-restriction/)

## 描述

This plugin redirects non authenticated users to a page of your choice or, as per
default, to the login page.
 Posts, categories, feeds, tags, taxonomies, author 
pages and search results are restricted to authenticated (connected) users. Only
pages are public. So if you have a homepage defined, then this page will be accessible.

## 安装

 1. Upload `very-basic-content-restriction` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Configure the redirection link on the options page. If left empty, users will be
    redirected to your default WP login page.

## 常见问题

Q: Can i restrict only some pages and allow others?
 A: No, a per page or per category
configuration is not possible.

## 评价

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

### 󠀁[Exactly what I was looking for](https://wordpress.org/support/topic/exactly-what-i-was-looking-for-194/)󠁿

 [Anonymous User 13912904](https://profiles.wordpress.org/anonymized-13912904/) 
2016 年 9 月 3 日

Indeed very basic but exactly what I was looking for. Thank you for this basic and
very useful plugin. Cheers, Dirk

 [ 阅读所有3条评价 ](https://wordpress.org/support/plugin/very-basic-content-restriction/reviews/)

## 贡献者及开发者

「Very basic content restriction」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「Very basic content restriction」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/very-basic-content-restriction)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/very-basic-content-restriction/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/very-basic-content-restriction/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/very-basic-content-restriction/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/very-basic-content-restriction/)。

## 更新日志

#### 1.0

 * Initial release

#### 1.1

 * Added is_archive() to forbidden pages.

#### 1.2

 * Compatibility with WP 3.8

#### 1.3

 * Better sanitization

#### 1.4

 * Simple code improvements
 * retrieve wp-login URL automatically, so that this would also work with plugin
   which modify the default URL

## 额外信息

 *  版本 **1.4**
 *  最后更新：**12 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.3 或更高版本 **
 *  已测试的最高版本为 **4.0.38**
 *  语言
 * [English (US)](https://wordpress.org/plugins/very-basic-content-restriction/)
 * 标签
 * [access](https://cn.wordpress.org/plugins/tags/access/)[content restriction](https://cn.wordpress.org/plugins/tags/content-restriction/)
   [member only](https://cn.wordpress.org/plugins/tags/member-only/)[restrict](https://cn.wordpress.org/plugins/tags/restrict/)
   [restricted access](https://cn.wordpress.org/plugins/tags/restricted-access/)
 *  [高级视图](https://cn.wordpress.org/plugins/very-basic-content-restriction/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  3 条 5 星评价     ](https://wordpress.org/support/plugin/very-basic-content-restriction/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/very-basic-content-restriction/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/very-basic-content-restriction/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/very-basic-content-restriction/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/very-basic-content-restriction/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/very-basic-content-restriction/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/very-basic-content-restriction/reviews/)

## 贡献者

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

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/very-basic-content-restriction/)