How to password-protect WordPress pages

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

Password-protecting a WordPress page

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.
Get WordPress Hosting

Article Details

  • Level: Beginner

Other Articles in This Category

Show More

Related Articles

Show More

Did you find this article helpful? Then you'll love our support. Experience the A2 Hosting difference today and get a pre-secured, pre-optimized website. Check out our web hosting plans today.

We use cookies to personalize the website for you and to analyze the use of our website. You consent to this by clicking on "I consent" or by continuing your use of this website. Further information about cookies can be found in our Privacy Policy.