Password Protect Pages

August 17, 2021

Password Protect Pages Plugin

Restrict access to specific pages to only logged in users.

A simple plugin that allows you to restrict access to certain pages on your website to only logged in users quickly and easily. This plugin can be useful to those who do not need overly complicated membership systems, and to those who want to password protect a group of pages but don’t want to password protect each page individually, forcing the users to log into each one.

It is simple to use. First select whether you want to password protect all pages by default, and want to choose which pages are public. Or choose to allow all pages to be public by default, and choose which pages are password protected.

When non-logged in users try to access a password protected page they will be redirected to the WordPress login screen. Once logged in, they will be redirected back to the requested page and will not be asked to log in again on subsequent pages.

Installation

  1. Upload password-protect-pages.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Navigate to Settings –> Password Protect Pages to configure the plugin options

Screenshots

  1. Password Protect Some: choose which pages to protect. Enter page IDs separated by commas

    Password Protect Some: choose which pages to protect. Enter page IDs separated by commas

  2. Password Protect All: choose which pages to allow to be public. Enter page IDs separated by commas

    Password Protect All: choose which pages to allow to be public. Enter page IDs separated by commas

FAQ

How do I find the ID of a page?

You can read an explanation of how to do that here: https://jessnunez.dev/how-to-find-page-id/

Changelog

1.0

  • Initial release

Details

  • Version: 1.3.0
  • Active installations: 300
  • WordPress Version: 3.0.1
  • Tested up to: 5.8.10

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars