Title: Administrator Only &#8211; Protect Your Site From Unauthorized Users
Author: Sorin Marta
Published: <strong>2024 年 3 月 10 日</strong>
Last modified: 2024 年 7 月 5 日

---

搜索插件

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

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

# Administrator Only – Protect Your Site From Unauthorized Users

 作者：[Sorin Marta](https://profiles.wordpress.org/sorinmarta/)

[下载](https://downloads.wordpress.org/plugin/administrator-only.zip)

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

 [支持](https://wordpress.org/support/plugin/administrator-only/)

## 描述

Administrator Only allows you to protect your front end pages or your REST API routes
with just a few clicks.

You can simply configure the plugin to enable the redirection, add the URL the unauthorized
users should be redirected to and if you need to, select which pages should not 
be protected.

If you enjoy using the plugin don’t forget to [⭐ star it on Github](https://github.com/tadamuscom/administrator-only).

Also if you have any questions, don’t hesitate to ask it in the forum or [contact us](https://tadamus.com/contact).

## 安装

1 – Install the plugin from the WordPress repository.

2 – Hover over _Tools_ and click on _Administrator Only_.

3 – Enable the redirect types you need.

4 – Add the redirection URLs for the redirect types you chose in the previous steps.

5 – If you need to allow access on some of the pages you can add their IDs in the
_Allowed Pages_ field.

6 – Save the settings

**Now your site is protected from unauthorized users!**

## 评价

此插件暂无评价。

## 贡献者及开发者

「Administrator Only – Protect Your Site From Unauthorized Users」是开源软件。 以下
人员对此插件做出了贡献。

贡献者

 *   [ Sorin Marta ](https://profiles.wordpress.org/sorinmarta/)
 *   [ Tadamus ](https://profiles.wordpress.org/tadamuscom/)

[帮助将「Administrator Only – Protect Your Site From Unauthorized Users」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/administrator-only)

### 对开发感兴趣吗?

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

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**2 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.2 或更高版本 **
 *  已测试的最高版本为 **6.6.5**
 *  PHP 版本 ** 8.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/administrator-only/)
 * 标签
 * [hide content](https://cn.wordpress.org/plugins/tags/hide-content/)
 *  [高级视图](https://cn.wordpress.org/plugins/administrator-only/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/administrator-only/reviews/)

## 贡献者

 *   [ Sorin Marta ](https://profiles.wordpress.org/sorinmarta/)
 *   [ Tadamus ](https://profiles.wordpress.org/tadamuscom/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/administrator-only/)