PPWP Access Levels extension allows you to protect all posts belonging to a category at once with a single password. Now it’s more convenient for your users to access the protected content directly without having to enter a password using quick access links.
In this article, we will walk you through the following sections:
- Password Protect WordPress Lite version 1.4.4 or greater
- Password Protect WordPress Pro version 1.1.6 or greater
- PPWP Access Levels version 1.1.3 or greater
How to generate quick access links
Step 1: Get the page URL where your users will access
It must be a post or a category page is protected by PPWP Access Levels.
Step 2: Get an access token.
After protecting a category, switch to the Manage Passwords and click on “Copy Access Token” button.
Our plugin will automatically generate an access token corresponding to the password, for example, ?ppwp_al=eyJwYXNzd29yZCI6IjAifQ==
Please note that the level of the password must be equal or higher than the level of a protected category.
Step 3: Combine page URL and access token to create a quick access link.
It should be something like https://passwordprotectwp.com/demo/product-category/clothing/accessories/??ppwp_al=eyJwYXNzd29yZCI6IjAifQ==
It’s important to know that a link can not include more than one question mark (?). So if you’re using plain permalink, please modify the access token accordingly:
How quick access links work
If your users access protected content via its original link, e.g. https://passwordprotectwp.com/demo/product-category/clothing/accessories/, they will be prompted to enter a valid password to unlock the content. However, if they use the quick access link, they can see the protected content directly.
- 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.
- Our plugin also saves a cookie containing a password to their browser at the same time. As a result, users are able to 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.
- To avoid the number of password usage increases once users reload the page, the access token will be removed from the page URL once users access the content successfully. This behavior might affect your campaign tracking.
- To get more information about the users who have used your quick access links, please refer to our PPWP Statistics extension.
- Quick Access Links will not be working when containing plus sign (+)