Password protect a WordPress page

To password protect a WordPress page, you have two main options:

Using WordPress Built-in Feature

  1. Go to the page you want to protect in your WordPress dashboard.
  2. In the “Publish” settings, click on “Visibility” and select “Password protected”[1][3].
  3. Enter a password in the field that appears.
  4. Update or publish the page.

When visitors try to access this page, they’ll be prompted to enter the password before viewing the content.

Using a Plugin

For more advanced features, you can use a plugin like Password Protect WordPress (PPWP) or Passster:

PPWP Plugin

  1. Install and activate the PPWP plugin from the WordPress repository.
  2. Edit the page you want to protect.
  3. In the sidebar, you’ll see a new PPWP section where you can set passwords and user roles[3][5].

Passster Plugin

  1. Install and activate the Passster plugin.
  2. Go to the page you want to protect.
  3. At the bottom of the “Page” tab, find the “Passster” box.
  4. Click “Activate Protection” and enter a password[4].

Additional Features with Plugins

Using plugins offers more advanced features:

  • Multiple passwords per page
  • Password protection by user roles
  • Custom design for password prompt
  • Cookie lifetime settings
  • Protection for specific sections of a page[2][4]

Remember, password protection doesn’t secure images or uploaded files that are directly linked. For full media protection, consider using additional plugins like Prevent Direct Access Gold[5].

By using these methods, you can easily control access to specific content on your WordPress site, enhancing privacy and security for sensitive information.

Citations:
[1] https://www.reddit.com/r/Wordpress/comments/zsvea1/password_protect_specific_part_of_website/
[2] https://www.malcare.com/blog/password-protect-wordpress-site/
[3] https://www.elegantthemes.com/blog/wordpress/password-protect-page-wordpress
[4] https://wpmarmite.com/en/wordpress-password-protect-page/
[5] https://wordpress.org/plugins/password-protect-page/
[6] https://wordpress.org/plugins/password-protected/
[7] https://wordpress.com/go/tutorials/create-a-password-protected-page/
[8] https://www.siteground.com/kb/password-protect-wordpress-page/