Join 1,000,000+ using SeedProd to build Landing Pages in minutes!

Get Started

How to Password Protect Single Pages in WordPress (Step by Step)

Posted by Stacey Corrin on October 15, 2020

Do you want to create a private page in WordPress or protect one or more pages in WordPress with a password? It could be you only want site editors to see a certain page, or only friends and family to see a personal blog post.

Creating a protected page in WordPress, lets you hide content from visitors unless they have a password. This can be useful for member-only pages or pages meant for a certain audience.

You might think that creating a priate WordPress page is difficult, but there’s no need to worry. In this article, we’ll show you how to set up a WordPress password protect page, along with methods to protect your entire WordPress site.

Here’s a quick summary of what you’ll learn today:

Shall we get started?

How to Create a WordPress Password Protect Page

How to create a WordPress password protect page

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

  1. Log in to WordPress as an administrator.
  2. From the dashboard, head to Posts » All Posts.
  3. Click Edit on the page or post content you want to hide.
  4. In the top left corner under the Publish option Edit the visibility.
  5. From there select the Password Protected option to protect your page and enter a password.
  6. Then click Publish or Update.

Now when viewing the page or WordPress post you’ll have to enter a password.

protect posts with a wordpress password protect page

Here’s what your password protected content would look like from a visitor’s point of view. All they need to do is to enter the correct password to gain access.

Password Protected Page WordPress Example

All your WordPress password protect pages will now be appropriately marked as private in WordPress so you can easily see which are protected in the list view.

You can also use this method to password protect a PDF document. That way you can protect your PDF from people who shouldn’t have access.

List view of a WordPress password protect page

When setting up a locked page or post you may also notice the option to mark it as Private.

The Private visibility option in WordPress restricts the content to the person who created it or anyone logged in with the Editor or Administrator role. So this isn’t really a valid option when it comes to restricting content.

There is, however, a way to protect your entire site from unwanted visitors, which we’ll cover next.

How to Password Protect an Entire WordPress Site?

At the moment WordPress doesn’t have a way to lock down an entire site. You can only lock a post or WordPress page. Instead, you’ll need to install a WordPress password protect page plugin.

One of the best WordPress plugins for protecting or hiding the contents of an entire site is the SeedProd Coming Soon Pro Plugin. This plugin easily lets you hide sections or your whole site from visitors.

What’s more, you can add a coming soon page for visitors with limited access to see. Instead of having an unattractive locked page, you can ask them to:

To create a custom WordPress password protect page or to protect multiple pages with a password using SeedProd, follow these instructions.

First, download the SeedProd Coming Soon Pro plugin. Then, head to your account overview area after logging in.

Now click View License Key, Details, and Downloads.

Overview of seedprod account dashboard

From here, click the green button labeled Download Coming Soon Pro.

download seedprod coming soon pro plugin

Now head to Plugins » Add New in your WordPress admin panel, and click Upload Plugin.

Click Choose File to find the .zip file you downloaded on your computer, then click Install Now.

Upload SeedProd coming soon pro to WordPress

After you’ve installed the plugin, click Activate.

SeedProd doesn’t only give you the option to password protect WordPress sites as a whole but also lets you lock single pages and password protect parts of your site to create a private WordPress page.

To protect an entire site with a password go to Settings » Coming Soon Pro from your WordPress admin panel and select Enable Coming Soon Mode.

Then click Save All Changes when you’re done.

Enable coming soon mode in SeedProd

That’s it! You’ve now enabled wordpress password protected pages and subpages on your website. Only people who are logged in can see your normal site. Visitors will see the coming soon page.

Example of a WordPress password protected page

But what if you only want to hide certain pages in WordPress? Coming Soon Pro’s password protected features lets you do that too.

Scroll down the same page to the section labeled Advanced Settings.

Now click the Include URLs radio button. This opens up a content box where you can type in the URLs of the pages you wish to hide from visitors.

Example of password protecting single pages in WordPress with SeedProd

When you’re done, click Save All Changes.

If you have visitors that need access to a protected page, but who don’t have a login, there’s a simple solution.

The Access Controls panel has an option that lets you bypass the restricted page.

SeedProd access controls panel to set a password for urls

Here you can add a password page. This creates a secret URL you can give to visitors, which ignores the coming soon page. Even better, if you forget your password, you can quickly take a glance at this page to refresh your memory.

Now, moving on, you might be thinking,

“That’s great, but that doesn’t protect my sign up forms does it?”

And, you’d be right! But, we do have a workaround for that too, so keep on reading.

Pro tip: Did you know that you can also password protect WooCommerce products by enabling WooCommerce maintenance mode?

How to Protect Forms with a Password in WordPress

The great thing about WordPress is it lets you add all manner of useful features to your site. Perhaps the most popular is the humble contact form.

But, let’s say you want to control who can fill out your forms. You can do this with the handy Content Locker addon for WPForms.

Here are some of the great things you can do with the Content Locker addon:

  • Lock forms – Users will have to enter a password to submit the form. This protects you from unwanted form submissions.
  • Close form submissions on a certain date/time – This is useful for application forms with a set deadline.
  • Restrict forms to members – You can restrict forms to only logged in user roles which is ideal for membership sites. Businesses can also use this to restrict support to paying customers.
  • Limit the number of total submissionsContests and giveaways can benefit from this. When the max number of entries is reached, the form will automatically close.
  • Limit entries to one per person – A great choice for free sample forms and giveaways, this option helps you avoid duplicate submissions.

In order to enjoy this addon, you’ll first need to grab the pro version of WPForms.

Once you’ve downloaded and installed the plugin, head to WPForms » Addons.

Here you’ll see a list of addons available to you. Choose the Form Locker Addon and click Install Addon.

Install the Form Locker Addon from WPForms to password protect forms

Now go to your forms list and click Edit on the form you’d like to password-protect. Alternatively, you can build new password forms.

Click Edit to edit your form

Next click Settings » Form Locker from the left-hand admin panel.

Click the form locker option to password protect your WPForm

From here you can set conditions for the following options:

  • Password – Enter a password for people to use to access the form. You can also add a custom message to the password page.
  • Scheduling – Set a start and end date/time, along with a message for when form entries are closed.
  • Entry Limit – Enter a number for max form entries. Again, you can write a message for when the form is closed.
  • User – Restrict your form to logged-in users only along with a custom message.
Form locker addon protection options

What’s great about this feature, is it doesn’t just apply to the forms you create with WPForms. You can use the Content Locker to restrict access to your surveys and polls too. This gives you so much more control over your content.

There you have it!

You’ve learned how to create a WordPress password protect page for your site. To top it off, we’ve explored options for how to hide an entire WordPress site, along with locking your forms.

You may also want to check out this guide for hiding your site when it’s under development too. And for a showcase of the best WordPress membership plugins, check this out.

And if you liked this article, don’t forget to like us on Facebook and follow our Twitter account for more helpful WordPress guides.

Add A Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

Easily Create High Converting WordPress
Landing Pages with SeedProd

Get SeedProd Now