How to Protect WordPress Pages & Posts

Have you ever thought about creating a private post just for certain groups of people? Or publish a private page that’s not being indexed by Google and other search engines? If you do, you probably want to take a look at our Protect WordPress Pages & Posts plugin.

In this article, we will walk you through the following sections:

Protect Private Content

Protect individual page or post

Step 1: Once you install our plugin, you’ll see a new column called “Content Protection” under “Posts” and “Pages”. You can then selectively choose to protect any private page or post by clicking “Configure protection”.

Step 2: A popup will then appear to help you protect and manage all private access links of the protected content. Now, you can protect your private content by simply clicking on “Protect this page” button.

Protect multiple pages or posts at the same time

Step 1: Go to Pages or Posts and select which content you want to protect by ticking on the checkboxes

Step 2: Under Bulk Actions, select “Protect pages” then click on “Apply” button

This option just displays under Pages and Posts but not Products or custom post type.

Once a page or post is protected, only authorized people can access its URL directly. If you want to send these content to others, you need to create a private access link, which can be accessed by anyone. There are 2 ways to do it: (1)”Auto-generate new link” and (2) “Customize new link”.

With option (1), our plugin will create a random access URL slug. You can create unlimited access links for each page or post.


With option (2), you are able to customize your access links to anything you’d like so that they will look more legitimate and meaningful.

What is more, you can automatically expiry these links by limiting the clicks or setting the expiry date.

Set Content Access Permission

As mentioned above, only people who are granted permission can access a protected page or post. The others will see “No Access” page when trying to access it without permission.

You can set access permission of a page or post under popup

or under our plugin’s settings page.

The deafault setting under settings page will be applied for all protected content with “Use default setting” access permission.

Prevent Printing Portected Content

After protecting your private content, you can prevent all people including authorized from printing it. All you need to do is simply turn on this option under plugin’s settings page.

Change Access Link Prefix

By default, your access links will look something like this (“privatepup” is the prefix). You can change this prefix on demand under our plugin’s settings page.

Please note that a valid prefix contains lowercase English letters (a-z), numbers (0-9), dash (-) and underscore (_) only.

You can use [post_slug] shortcode if you want to add the post’s slug after the link prefix.

Lasted updated on December 18, 2019