Title: Restrict Website Access
Author: Zohaib Ali
Published: <strong>2025 年 2 月 12 日</strong>
Last modified: 2026 年 5 月 19 日

---

搜索插件

![](https://ps.w.org/restrict-website-access/assets/banner-772x250.png?rev=3239430)

![](https://ps.w.org/restrict-website-access/assets/icon-128x128.png?rev=3239430)

# Restrict Website Access

 作者：[Zohaib Ali](https://profiles.wordpress.org/zohaibalimemonx/)

[下载](https://downloads.wordpress.org/plugin/restrict-website-access.1.0.2.zip)

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

 [支持](https://wordpress.org/support/plugin/restrict-website-access/)

## 描述

**Restrict Website Access** is a powerful and easy-to-use WordPress plugin that 
allows you to protect your website with a password-based access control system. 
Whether you’re working on a private project, developing a new website, or simply
want to restrict public access to your site. With **Restrict Website Access**, you
can easily set up a password protection system that restricts access to your entire
site, ensuring only authorized users can access your content. This is perfect for
developers, business owners, or anyone who needs to keep their site hidden while
it’s under construction or during private phases of a project.

Key features include:

 * Password protection for your entire website
 * Simple setup with no coding required
 * Ideal for private or under-development websites
 * Easy-to-use interface with straightforward options

This plugin ensures that your site stays secure while you’re working on it or if
you want to limit public access for any reason. Protect your WordPress site effortlessly
with **Restrict Website Access**.

### Source Code

The unminified versions of custom JavaScript and CSS files created for this plugin
are included in the plugin package under the `includes/admin` and includes/public/
directory.
 For third-party libraries used in this plugin, please refer to their
official repositories:

 1. Notyf:

 * Source: https://github.com/caroso1222/notyf
 * License: MIT License
 * Location: `includes/admin/library/notyf/`
 * CDN (CSS): – https://cdn.jsdelivr.net/npm/notyf@3/notyf.min.css.
 * CDN (JS): – https://cdn.jsdelivr.net/npm/notyf@3/notyf.min.js

## 安装

**From Your WordPress Dashboard**

 1. Go to Plugins > **Add New**
 2. Search for **Restrict Website Access**
 3. Click on **Install Now** Button
 4. Click on **Activate Now** Button to use the plugin on your site.

**From WordPress.org**

 1. Download **Restrict Website Access** from the WordPress Plugin Directory.
 2. Upload the **restrict-website-access** folder to the /wp-content/plugins/ directory.
 3. Activate **Restrict Website Access** plugin from your Plugins page.

## 评价

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

### 󠀁[Great little and simple plugin to limit website access](https://wordpress.org/support/topic/great-little-and-simple-plugin-to-limit-website-access/)󠁿

 [GregW](https://profiles.wordpress.org/gwmbox/) 2026 年 5 月 20 日

Does what it says and works very simply. Settings are basic and easy to follow. 
Looking forward to some additions and tweaks of which I have suggested in a support
topic. EDIT: My suggestions have all been added to the plugin, awesome work.

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

### 󠀁[Easy and straight forward](https://wordpress.org/support/topic/easy-and-straight-forward-11/)󠁿

 [geoffreymerck](https://profiles.wordpress.org/geoffreymerck/) 2025 年 11 月 21
日

I came across this extension and I am using it for a website which is currently 
under development. It is easy to use, simple settings, no bloat ! Thank you ! 🙂

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/restrict-website-access/reviews/)

## 贡献者及开发者

「Restrict Website Access」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Zohaib Ali ](https://profiles.wordpress.org/zohaibalimemonx/)

[帮助将「Restrict Website Access」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/restrict-website-access)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.0

 * Initial release on WordPress.org.

#### 1.0.1

 * Minor UI improvements

#### 1.0.2

 * Made Elements Editable
 * Added Layout Option

## 额外信息

 *  版本 **1.0.2**
 *  最后更新：**1 周前**
 *  活跃安装数量 **40+**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/restrict-website-access/)
 * 标签
 * [limit access](https://cn.wordpress.org/plugins/tags/limit-access/)[page lock](https://cn.wordpress.org/plugins/tags/page-lock/)
   [page restrict](https://cn.wordpress.org/plugins/tags/page-restrict/)[password-protected](https://cn.wordpress.org/plugins/tags/password-protected/)
 *  [高级视图](https://cn.wordpress.org/plugins/restrict-website-access/advanced/)

## 评级

 5 星（最高 5 星）。

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

[Your review](https://wordpress.org/support/plugin/restrict-website-access/reviews/#new-post)

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

## 贡献者

 *   [ Zohaib Ali ](https://profiles.wordpress.org/zohaibalimemonx/)

## 支持

最近两个月解决的问题：

     总计 1，已解决 1

 [查看支持论坛](https://wordpress.org/support/plugin/restrict-website-access/)