How to Password Protect Your WordPress Site While Under Development
Launch time is always exciting. And what better way to generate a buzz than to add a great coming soon page to let people know that something exciting is on the way?
But what if you want to grant site access to a few select people while under development?
Password protecting WordPress is an excellent way to keep your design clients updated on your progress or show off a new development site to clients before you officially launch. You can use it for your blog, a single post or page, an eCommerce store, or even your entire website.
In this post, we’ll tell you how to password protect your WordPress site while under development, so only select people can view your new site in progress.
How to Password Protect WordPress While Under Development
Want to know “how do I make my WordPress site down for maintenance?”
Currently, there isn’t an option in WordPress to password protect your entire WordPress site all at once.
To password protect WordPress in its entirety, you’ll need to integrate your website with a 3rd party password-protected plugin.
Although WordPress offers several 3rd party plugins to choose from, the best choice is the SeedProd landing page builder plugin.
Using this WordPress plugin, let’s check out how to hide your WordPress site during development.
If you prefer to read the written instructions, follow the steps below.
Step 1: Download and Install SeedProd
The first step in learning how to hide your WordPress site during development is downloading the SeedProd plugin.
SeedProd is the best WordPress landing page builder with coming soon and maintenance mode functionality that you can turn on and off with a single click.
The plugin comes with a library of fully-customizable pre-built layouts that you can use right away such as:
It also works with all major WordPress themes and child themes.
You can fully control your coming soon page design with its intuitive drag and drop page builder. It also lets you add various elements to your page, including a countdown timer, progress bar, optin form, shortcodes, anchor links, and more.
With SeedProd, you can easily password protect a part of your website or the entire site homepage without needing technical knowledge.
Even though your site will be password-protected, search engines like Google will still be able to crawl it. This means you can continue to maintain your search rankings despite having protected content.
Once you’ve downloaded the SeedProd plugin, follow these instructions to install a WordPress plugin.
Once you install and activate the plugin, you’ll be redirected to the license key page, where you need to verify your key. This key will be sent to your registered email address upon purchasing the plugin.
Once the key is verified, you are ready to use the plugin to password protect your website while it’s still under development.
Step 2: Create a Coming Soon or Maintenance Page
SeedProd includes powerful access controls in the plugin’s settings that let you hide either your entire WordPress website or specific website pages.
To create your coming soon page, navigate to SeedProd » Pages from your WordPress dashboard and click the Set up a Coming Soon Page button under the Coming Soon Mode section.
This will take you to the coming soon page templates library to choose a new page template and customize your design. For full instructions on setting up your page, see this step-by-step guide to create a coming soon page in WordPress.
Step 3: Password Protect Your Whole WordPress Site
If you want to password protect your whole WordPress website while under development, it’s super-easy with SeedProd.
After creating your coming soon page or maintenance mode page, navigate to SeedProd » Pages from your WordPress admin area.
Next, under the Coming Soon Mode section, click the toggle to change it from the Inactive to the Active position.
That’s it! You’ve now password protected your whole WordPress website. Now only logged in users can see the construction of your website.
Adding a Password Input Field to Your Coming Soon Page
If you’d like to display a box for users to enter the correct password to access your site, you can do that within the landing page editor.
First, click the Edit Page button from your SeedProd dashboard.
Then scroll down to the Advanced block section and drag the Custom HTML landing page block onto your page.
Inside the custom HTML block, type seed_bypass_form in square brackets and save your changes.
This will add a password form so users with your password can access your protected pages. The login form won’t appear in the page builder. You’ll have to preview the page to see how it looks.
Step 4: Add Password Protection for Specific Pages Under Development
What if you want to hide a page in WordPress?
If you have individual WordPress pages and even WooCommerce products on your site that you don’t want your visitors to see, you can use the Include URLs option in SeedProd’s Access Control settings to hide them from the public.
First, you’ll need to password protect your pages and WordPress posts individually. You can do that by going to the post or page that you want to hide from your visitors. Now click on the Edit option.
On your right in the WordPress editor, you’ll see the Publish option. Under this option click on Visibility » Password-Protected.
You’ll now have a blank field where you can enter your password. Add your password and hit the publish button.
Now your content will have the password protected status.
Anyone who tries to view this post or page will now be prompted to access your WordPress site with a single password via a login page. To unlock this page, your visitors will need the new password that you just used to protect it.
You can do this for individual WordPress posts, and pages that you want to keep private. Each page will be marked Password protected against its title in the dashboard.
You can see this by going to All Posts or All Pages in your WordPress dashboard.
Only those who are logged into your website with admin user roles or the creator can access these password-protected posts and pages.
Now that you’ve protected your posts and pages with a password, you can add them to the restricted pages list in SeedProd, so anyone trying to view the page will see your coming soon page.
To do this, you’ll first need to edit your coming soon page and view it in the drag and drop page builder.
From there, click the Page Settings tab at the top of your screen. Once you’re on the settings page, click the Access Control section to view the available access settings.
Now scroll down the page until you see the Include/Exclude URLs section. Clicking the Include URLs radio button reveals a blank field where you can enter the page URLs of your password-protected posts and pages.
Note: You need to add new URLs on each line when you use the Include URL option in the SeedProd dashboard.
Make sure you hit the enter button after every URL. Using a comma or backslash to separate your URLs may not offer the desired result.
Once the URLs are added click on the Save Changes button to enable password protection.
On the same page you can also restrict access to your website based IP addresses.
Now, anyone visiting those URLs will see you coming soon or under construction page.
There you have it!
We hope this article helped you learn how to password protect your WordPress site while under development.
With SeedProd’s powerful access controls and easy drag and drop page builder, you can create and protect WordPress landing pages without needing a developer.
You might also like to learn how to customize the WordPress login page.