Restrict Website Access

外掛說明

Restrict Website Access lets you protect your entire WordPress site with a password-based access screen. It is useful when a site is private, under development, in staging, or temporarily not intended for public access.

Key features:

  • Password protection for the entire public-facing website.
  • Simple setup with no coding required.
  • Useful for private, staging, and under-development websites.
  • Editable access-screen content and layout options.
  • Lightweight interface with straightforward settings.

Logged-in WordPress users can continue working in the dashboard while public visitors are shown the password screen when protection is enabled.

Source Code

The plugin’s custom JavaScript and CSS source files are included in the distributed plugin under includes/admin/ and includes/public/.

The plugin also bundles the third-party Notyf library:

  • Project: Notyf
  • Source: https://github.com/caroso1222/notyf
  • License: MIT
  • Bundled location: includes/admin/library/notyf/

安裝方式

From the WordPress Dashboard

  1. Go to Plugins > Add New.
  2. Search for Restrict Website Access.
  3. Click Install Now.
  4. Activate the plugin.
  5. Go to Settings > Restrict Website Access and configure access protection.

Manual Installation

  1. Upload the restrict-website-access folder to /wp-content/plugins/.
  2. Activate Restrict Website Access from the Plugins screen.
  3. Go to Settings > Restrict Website Access and configure the plugin.

使用者評論

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.
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 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Restrict Website Access〉的開發相關工作。

參與者

將〈Restrict Website Access〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.2

  • Added editable access-screen elements.
  • Added a layout option.
  • Confirmed compatibility with WordPress 7.1.

1.0.1

  • Minor user-interface improvements.

1.0.0

  • Initial release on WordPress.org.