Password protect WordPress pages and posts by user roles or with multiple passwords; protect your entire website with a single password.
Password Protect WordPress (PPWP) plugin offers a powerful and all-in-one solution to secure your website with passwords.
Whether you want to password protect WordPress categories, WooCommerce products, a few posts, or your entire website, PPWP plugin will help you do so with ease.
This plugin does not protect images or uploaded files so if you attach the media files to the protected pages or posts, they are still accessible to anyone with the link. Use Prevent Direct Access (PDA) Gold to block their direct file URL access.
Please note that the passwords will be stored in the post meta and this plugin will set a cookie to allow access to the protected pages or posts.
The Lite version of Password Protect WordPress (PPWP) plugin offers the following features:
The plugin extends WordPress built-in password protection feature and allows you to set multiple passwords per Page and Post. What’s more, you can protect the content with just a single click. Once protected, a random password will be automatically generated for you.
There is an option allowing you to password protect your WordPress Pages & Posts by user roles. In other words, you can set different passwords for different user roles, e.g. one for subscribers and one for editors.
Stop password abuse and spam by bots and automated software with Google reCAPTCHA v2 or v3. Real users will be able to access protected content with ease as usual.
Use Ajax to display protected content without having to reload the entire page. It will help improve user experience and avoid server caching after users enter their password.
Instead of creating an individual password for each post, you can protect all posts under one or multiple categories at once. Once users unlock a post successfully, they will be able to access the rest of the content automatically.
You can password protect the whole WordPress site with a single password. All your website content including pages, posts, and other custom post types (but not media files) are locked as well.
Partial Content Protection feature allows you to password protect certain sections of a page or post instead of hiding the entire content under a password form. This is useful when you want to create a teaser of premium content that encourages visitors to register/sign up to unlock the entire post.
Section Protection takes PCP to the next level. The feature enables you to add password-protected sections even on custom post types & templates created by top page builders such as Elementor and Divi.
You can also choose when to publish the secure content to users. For example, they’re allowed to see the content without having to enter passwords from XXX to XXX using the following shortcode attributes.
[ppwp passwords=123 on="2020/10/20 14:00:00" off="2020/10/30 14:00:00"] Your protected section will be shown automatically from 2 pm October 20, 2020 to 2 pm October 30, 2020[/ppwp]
Instead of using our shortcode to protect part of content, you can use our built-in module for the top page builders including:
*Supported; built-in UI block to be released soon.
These built-in modules allow you to set passwords, whitelisted roles, customize password forms, and so on via our friendly User Interface. You no longer have to deal with the complex shortcode attributes.
What’s more, with PPWP Pro, you can even protect the entire Elementor’s templates, Beaver Builder’s rows, columns, and page templates as well as limiting and tracking password usage.
When there are many password protected posts on your website, it becomes difficult and time-consuming to create or manage passwords for each content. That’s when master passwords come in handy.
Users will be able to unlock all protected posts at once with just one master password.
Please note that this feature does not password protect all posts automatically. It simply allows you to use master passwords to unlock those that you’ve already password protected. Original passwords attached to each post will still be working, together with these master passwords.
The master passwords feature also comes with an easy-to-use interface allowing you to create unlimited master passwords simultaneously and manage all of them in one place. You will have full control to (de)activate, delete passwords as well as restrict usage passwords by usage, time, and user role.
Customize all your password forms, i.e. the sitewide login form, single and partial content protection (PCP) password form, via WordPress Customizer.
You’re allowed to remove or change our default logo to your own in the sitewide login form. You can also change the color, background and design of the form to match your theme’s color scheme.
Besides the default login page, you can now select one from our pre-designed themes that suits your site best.
As for single password form, you’re able to change the WordPress default error message as well as password form instructions, namely headline, descriptions, password input placeholder, and button text.
The button and text’s font-size, color, and background can also be customized through a friendly WYSIWYG HTML Editor.
By default, your password protected content will still show up on various pages such as home and category page once published.
This feature allows you to control the visibility of your protected post types in different views:
Even though the posts are hidden, those who know the URL will still have access to the pages (but not the protected content).
Even though you choose to show password protected content in RSS, a password form will display instead of its actual content by default. With PPWP plugin, you’re able to show all protected content in RSS feeds. There is also an option to make your RSS feeds public even if your site is hidden.
Many WordPress themes hide the post excerpt and featured image of password protected content by default. Enable this option to show excerpts of your password protect posts.
By default, users won’t have to re-enter passwords to access a protected page or post until its cookies expire. You can change the default cookie expiration time on the plugin settings page to whatever suits your use case. Or else, choose session cookies which will be removed automatically whenever users close their browser. As a result, users have to re-enter password when opening the browser again.
Pro Version
Our PPWP Pro version offers many more advanced features:
- Password protect all WordPress custom post types including WooCommerce Products
- Password protect custom fields and custom page templates
- Manage all passwords while editing content or via our friendly popup
- Create unlimited passwords per user role
- Create the same passwords for multiple user roles
- Bypass password protection with Quick Access Links
- Customize Quick Access Links
- Create wildcard passwords
- Unlock Partial Content Protection (PCP) with master passwords
- Automatically protect all sub pages with one password
- Create multiple passwords for each protected category
- Set the same password for multiple pages
- Create unlimited global passwords for partial content protection shortcode
- Redirect to specific URLs after entering site-wide protection passwords
- Unlock all content at once and unlock partial sitewide protection with Group Password Protection extension
- Give users access to password-protected content upon form submissions with Forms Integration extension
- Use reCAPTCHA or Contact Form 7 in place of the password form with Passwordless Authentication extension
- Track password usage, i.e. the time they’re logged in, IP address and browser used, with Statistics extension
- Password protect WordPress categories with different access levels
- Integrate with Prevent Direct Access Gold to password protect files embedded in content
- Sell password-protected content via WooCommerce with WooCommerce Integration extension.
- Protect the entire shop page, including individual products and category pages with the same passwords.
- Import and export passwords as well as requiring users to provide both password and username or email to unlock protected content with Password Suite extension.
- Restrict password usage based on WordPress users or IP addresses as well as setting password expiration time after first use with Smart Restriction extension.
- Password protect files outside Media Library
Check out Password Protect WordPress (PPWP) Pro now!
Get access to all extensions and priority support with any of our PPWP Pro membership plans.
Our plugin works out of the box with the top leading multilingual WordPress plugins such as WPML, Polylang, and Loco Translate. In other words, you can translate the password forms, including its headline, description, error message as well as placeholder and button text into the different languages.
Note that we have to migrate your default WordPress passwords to our systems for our protection to work properly.
You may want to restore all your previously created passwords before deactivating the plugin to avoid all protected pages and posts becoming public.
Please check out these guides on how to password protect WordPress page the right way.
PPWP is designed to fully respect and protect personal information of its users. It does not collect any user information without your consent.
We’re using GetResponse to communicate with our users in case they would like to opt in and receive future updates from us.
User’s emails will be first sent to an external API on our secure server before getting managed by GetResponse.
Please see our complete Privacy Policy and GetResponse’s.
There are 2 easy ways to install our plugin:
Protect your private pages and posts with multiple passwords.
Click on "Protect" button link for a new random password to be generated automatically.
Protect your private pages and posts by user roles. You can create one password per role with our Free version but unlimited passwords with our Pro version.
Users don't need to re-enter password when accessing your private content until its cookies expire. Simply change the default value under our plugin's Settings page.
It's easy to password protect your whole site with our plugin. Users are required to enter a password when accessing any pages or posts including the homepage.
Select which categories you want to protect and set a password. All posts under these categories will be unlocked at the same time.
Wrap your private content section with our [ppwp] shortcode.
This is what your post will look like after it is published. Visitors have to enter "password1" or "password2" to access the protected content.
Type "Password Protection (PPWP)" in the search field to find our built-in element in Elementor.
Type "Password Protect WordPress (PPWP)" in the search field to find our built-in module in Beaver Builder.
These built-in modules allow you to set passwords and whitelisted roles.
Customize password forms via our friendly User Interface.
Create master passwords to unlock all protected content at once.
You have full control over password tracking and restriction, i.e. by time, usage or user roles.
Customize password form text and design with WordPress Customizer.
This is our default PPWP sitewide login form.
This is our default PPWP single password form.
Control the visibility of your password protected content.
Enable this option to show excerpts of password protected content.
Restore default WordPress passwords before deactivating our plugin.
Below are 4 common reasons why the issue happens:
Please follow this guide on how to quickly troubleshoot these common issues. Learn more about why password protected page is not working.
Yes, the Pro version helps password protect any WordPress custom post types, including WooCommerce product pages.
The Free version doesn’t block search engines from finding and indexing your content. However, your content won’t appear on Google and other search engine results once password protected by the Pro version.
Yes, you can secure parts of your post and page content with a password using our [ppwp] shortcode.
Yes, you will be able to generate passwords under our plugin’s settings page and then add them to [ppwp] shortcode in order to protect your content sections with Pro version. All these passwords will be tracked and controlled in one place.
Yes, you can add a “show password” button allowing users to see what they’re typing. This button can be added either via WordPress Customizer or manual template modification.
Yes, the Pro version enables you to automatically password protect child pages once the parent page is locked up.
<html>
tags to display sitewide password form<h3>
to the <div>
tag