How to Password Protect a WordPress Page

Web Hosting in Pakistan

This article describes how to protect a WordPress page with a password.


You can password-protect a WordPress page so the general public cannot see it. This will prevent most humans from being able to easily find it or view its content.

However, this method does not prevent the page from being indexed by search engines, and it does not encrypt the page's content. Therefore, you should not use this method for page content that you absolutely must keep private.

To password-protect a WordPress page, follow these steps:

  1. Log in to WordPress as the administrator.
  2. Under Dashboard, click Posts, and then click Add New.
  3. Write your post.
  4. Under Publish, next to Visibility, click Edit. The post visibility options appear.
  5. Click Password protected.
    • The Private option keeps the page hidden from the public completely.
  6. In the Password text box, type a password.
  7. Click OK, and then click Publish. Now when visitors go to the page's URL, they must type the correct password to view its content.

Was this answer helpful?

 Print this Article

Also Read

How to Configure Date and Time Settings in WordPress

This article describes how to configure and customize the WordPress date and time settings....

How to Add CAPTCHA Protection to a WordPress Site

This article describes how to add CAPTCHA protection to a WordPress site using the Google CAPTCHA...

How to debug WordPress

This article describes several settings you can use to help debug WordPress.DEBUGGING WORDPRESS...

How to Configure a Cron Job for WordPress

This article describes how to configure a cron job for WordPress. THE VIRTUAL WORDPRESS “CRON...

How to install and configure the WooCommerce plugin

This article describes how to install the WooCommerce plugin for WordPress. WooCommerce enables...

Web Hosting in Pakistan

Powered by WHMCompleteSolution