The URLs embedded with passwords are often called quick access links. These links allow users to directly access the secured content without asking for a password. It comes in handy when your pages and posts are protected with multiple passwords and require users frequent access. By doing this, our plugin saves several steps for permitted users to access the protected contents.
In this article, we will walk you through the following sections:
- Password Protect WordPress Lite version 1.3.0 or greater
- Password Protect WordPress Pro version 1.1.3 and greater
How to generate an access link
Go to the page or post which you want to generate a quick access link and click “Password protect”.
Then click “Password protect this page”.
Our plugin will automatically generate a random string which is also the password for your content. Simply click the “Copy access link” icon to generate and copy the quick access link associated with this password.
Create quick access links manually
Once Password Protect Child Pages is enabled, all child pages will inherit their parents’ passwords. You can’t create or manage passwords of child pages separately. In consequence, you have to create access links for child pages manually.
All you need to do is to copy the ?ppwp_ac parameter from the parent page’s access link and paste it into child pages’ URL. For example:
Let’s say, an access link of parent page is:
The access link of child page will be:
How the access links work
- An access link is associated with one password by default. That means when you edit/ deactivate/ activate/ delete a password, you’re editing/ deactivating/ activating/ deleting the corresponding access link.
- When users access protected content via a quick access link, our plugin will save a cookie containing password to their browser at the same time. So they can re-visit the page multiple times without proving a password until the cookie expires.
- You can modify the cookie expiration time under our plugin’s settings page.
- If users re-access the page via the quick access link, a new cookie will be generated and override the existing one.
- If two pages are protected by the same password, their access links will have the same ?ppwp_ac parameter. However, accessing one page successfully doesn’t mean that users can see the other content without re-entering the password
- This feature works with single post of any post type.
- This feature is available in Pro version only. So if you deactivate PPWP Pro, all quick access links will not work anymore.