Restrict Website Access
Restrict Website Access

Restrict Website Access

5/5 (3 ratings) 100 active installs Updated Nov 3, 2026
Plugin settings screen showing enable option, heading, rich Description editor, password, logo upload, and layout selection.

Plugin settings screen showing enable option, heading, rich Description editor, password, logo upload, and layout selection.

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.
  • Red “Restricted” admin-bar indicator for site administrators when protection is enabled, linking directly to the plugin 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/