SeedProd Logo

Latest SeedProd News

WordPress Tutorials, Tips, and Resources to Help Grow Your Business

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

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

Do you want to create a private page in WordPress or protect WordPress with a password?

Creating a private WordPress page is easy with the right tools, and it won’t require any technical expertise. This tutorial will show you how to set up a WordPress password protect page, along with methods to protect your entire WordPress site.

Why Password Protect Pages in WordPress?

Password-protecting pages on your WordPress website allow you to keep certain areas of your site hidden from the public.

It could be you only want site editors or clients to see your login page, or you want to hide parts of your site that are still under construction.

Whatever the reason, password-protecting pages in WordPress lets you hide content from visitors unless they have a password. This can be useful for member-only pages or pages for a specific target audience.

With that in mind, here are several ways to protect pages on your site with a password.

How to Create a WordPress Password Protect Page

First off, anyone can create a password-protected page using WordPress’s default settings. This method doesn’t require any extra plugins and takes a few clicks.

To password-protect a single WordPress page with WordPress’s default editor, follow these steps:

  1. Log in to WordPress as an administrator.
  2. From the dashboard, head to Pages » All Pages.
  3. Click Edit on the page content you want to hide.
  4. In the top left corner of the WordPress editor, under the Status and Visibility settings click the Public link.
  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, you’ll have to enter a password.

protect pages with a wordpress password protect page

Here’s what your password-protected post or page would look like to people that visit your site. All they need to do is enter the correct password to gain access.

Password Protected Page WordPress Example

Your pages are now marked as private in WordPress, so you can easily see protected pages in the list view.

List view of a WordPress password protect page

If you want to remove password protection, switch the status back to public. This method works on every page and post in WordPress.

You might be wondering, “can I password protect a PDF file?” and the answer is, yes, you can.

After adding your file to a page, use the method above to password protect the page with your PDF document. That way, you can protect your PDF from people who shouldn’t have access.

When setting up a locked page or password-protected posts, you may also notice the option to mark it as Private.

WordPress’s private visibility option restricts the content to the person who created it or anyone logged in with the Editor or Administrator role. It’s best to avoid this option when restricting content, as visitors who are not logged in can’t enter a password to get access.

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

How to Password Protect Whole WordPress Site?

Currently, WordPress doesn’t have a way to lock down an entire site. You can only lock a single 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 an entire site’s content is the SeedProd Landing Page Pro Plugin.

SeedProd best WordPress landing page plugin

SeedProd is the best WordPress landing page builder with coming soon and maintenance mode functionality.

This plugin easily lets you hide sections or your whole site from visitors when you activate the built-in Coming Soon or Maintenance Mode page.

Not only is this a great way to restrict your content, but it’s also the best way to protect your site’s SEO. As a result, it tells search engines that your site is temporarily unavailable and to crawl it later.

Plus, you can use its powerful drag and drop page builder to create stunning landing pages in WordPress, including:

This means that instead of having an unattractive locked page, you can customize it and ask website visitors to:

Follow these instructions to create a custom WordPress password-protect page or protect multiple pages with a password using SeedProd.

First, download the SeedProd Landing Page 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 orange button labeled Download Landing Page Pro.

download seedprod landing page builder plugin for WordPress

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 your WordPress sites as a whole. It also lets you lock single pages and password protect parts of your site. That way, you can create a private WordPress page.

To protect an entire site with a password, first, follow these steps to create a coming soon page with SeedProd.

After, click SeedProd » Pages from your WordPress admin panel to view the different page modes and landing pages available to you.

Under the Coming Soon Mode section, click the toggle to turn it from Inactive to Active.

enable maintenance mode in WordPress to protect pages

That’s it! Only people who are logged in can see your regular site. Public visitors will see the coming soon homepage.

WordPress password protected page with a coming soon landing page

How to Password Protect Single Pages in WordPress with SeedProd

But what if you only want to hide certain pages in WordPress? SeedProd’s password-protected settings let you do that too.

From your SeedProd page overview, click the Edit Page button in the Coming Soon Mode section.

Edit coming soon page in WordPress

Then click the Page Settings tab at the top of the visual page editor. From there, you’ll see several configuration settings. You’ll need to click the Access Control option to hide certain pages.

To display your password-protected notice on specific WordPress pages, you’ll need to scroll down to the Include/Exclude URLs section.

password protect single pages in WordPress

In this section, click the Include URLs radio button, then enter the URL of each page you’d like to protect in the box provided. You should enter each URL on a new line, and you can also add the URLs of individual WordPress posts here.

When you’re done, click the Save Changes button.

There’s a simple solution for visitors who need access to a protected page but don’t have a WordPress login. You can make your WordPress page only accessible via a link.

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

SeedProd access controls

Here you can add a password. This option makes your WordPress page only accessible via a link 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.

It’s also possible to add specific visitors’ IP addresses in the Access IP section. This allows anyone with that IP to bypass your coming soon page.

You’ve now enabled WordPress password-protected pages and subpages on your website. But 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 Add Password Protected Forms 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 make a password-protected form. 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.

Why not check out this in-depth WPForms review for the full details.

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 Roles – Restrict your form to logged-in users and custom user roles like subscribers, along with a custom message.
Form locker addon protection options

This feature’s excellent because it doesn’t just apply to the forms you create with WPForms. You can also use the Content Locker to restrict access to your surveys and polls. This gives you so much more control over your protected content.

There you have it!

You’ve learned how to create a WordPress password protect page for your site.

Locking pages in WordPress is easy with SeedProd’s powerful Access Controls. Plus., the drag and drop page builder gives you complete control over the design of your password-protected page, with no coding required!

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.

Get SeedProd

Join Our Newsletter

Subscribers to get Free WordPress Tips and Resources

We do not sell or share your information with anyone.

Let's Connect

Most Popular

Copyright © 2022 SeedProd LLC. SeedProd is a trademark of SeedProd, LLC

PayPal Verified Badge
WPBeginner Verified Badge