Global Post Page Protection

Protecting Posts/ Pages by Default

This feature allows you to protect all existing posts/pages on your site as well as protect all new posts/pages by default. You can restrict posts/pages for guests, members and specific user roles.

Content of restricted posts/pages will be hidden from Category, Tag, Taxonomy, Archive, Author pages as well as RSS feeds. Simple restriction message will be displayed for restricted posts on these pages.

Let’s see how we can enable global restrictions for posts and pages.

[mpc_textblock content_width=”100″ font_preset=”mpc_preset_17″ font_color=”#ffffff” font_size=”22″ margin_divider=”true” mpc_tooltip__border_divider=”true” mpc_tooltip__padding_divider=”true” class=”wpexpert-wpro-ad-free-docs-static-text”]WP Private Content Pro[/mpc_textblock][mpc_animated_text duration=”1000″ delay=”2650″ text_font_preset=”mpc_preset_17″ text_font_color=”#ffffff” text_font_align=”center” text=”Extend Features of Free Version|||Simple Setup|||Advanced Restriction Rules|||Membership & Private Page Management|||Priority Support|||” text_border_divider=”true” text_padding_divider=”true” disable_sides=”true” sides_font_preset=”mpc_preset_17″ sides_font_color=”#ffffff” sides_font_align=”center” border_divider=”true” padding_divider=”true” margin_divider=”true” class=”wpexpert-wpro-ad-free-docs-animated-text”][mpc_button preset=”mpc_preset_29″ url=”url:https%3A%2F%2Fwww.wpexpertdeveloper.com%2Fwp-private-content-pro%2F|||” font_preset=”mpc_preset_20″ font_color=”#ffffff” font_size=”16″ font_transform=”uppercase” font_align=”center” title=”VIEW MORE” background_color=”#2bb3e7″ border_divider=”true” border_top=”2″ border_right=”0″ border_bottom=”2″ border_left=”0″ border_style=”solid” border_color=”#ffffff” border_css=”border-top:2px;border-right:0px;border-bottom:2px;border-left:0px;border-color:#ffffff;border-style:solid;border-radius:0px;” border_radius=”0″ padding_divider=”true” padding_top=”12″ padding_right=”32″ padding_bottom=”12″ padding_left=”32″ padding_css=”padding-top:12px;padding-right:32px;padding-bottom:12px;padding-left:32px;” margin_divider=”true” margin_top=”11″ margin_css=”margin-top:11px;” hover_font_color=”#2bb3e7″ hover_background_color=”#ffffff” hover_background_effect=”expand-horizontal” hover_background_offset=”0″ hover_border_divider=”true” hover_border_css=”border-radius:0px;” hover_border_radius=”0″ mpc_tooltip__border_divider=”true” mpc_tooltip__padding_divider=”true” class=”wpexpert-wpro-ad-free-docs-button”]

Using Restriction Settings

You can go to Private Content Settings -> Global Restrictions -> Post Settings to see the available restriction settings. You will see the global post protection settings as shown in the following screenshot.

global-post-restrictions

First, you have to select the Enable Global Post Restrictions setting for posts to apply the protection. This setting is disabled by default. Then you need to select an option for the Visibility setting. Let’s identify the available options.

  • Guests – Allows you to make all existing and new posts visible only to guest users who doesn’t have a user account.
  • Members – Allows you to make all existing and new posts visible only to members who have a user account and logged into the site.
  • Selected User Roles – Allows you to make all existing and new posts visible only to the selected user roles

If you choose Selected User Roles option, you will get another setting called Allowed User Roles as shown in the following screenshot. You can select the user roles allowed to view all existing and new posts by default.

global-post-restrictions-2

If someone is not allowed to access the post/page, they will be redirected to the URL specified for global Post/Page Restriction Redirect URL setting as shown in the following screenshot.

global-post-restrictions-3

Important – You can ovveride global post protection setting by adding new settings on individual posts.

You can go to Private Content Settings -> Global Restrictions -> Page Settings to see the available restriction settings. You will see the global page protection settings as shown in the following screenshot.

global-post-restrictions

First, you have to select the Enable Global Page Restrictions setting for pages to apply the protection. This setting is disabled by default. Then you need to select an option for the Visibility setting. Let’s identify the available options.

  • Guests – Allows you to make all existing and new pages visible only to guest users who doesn’t have a user account.
  • Members – Allows you to make all existing and new pages visible only to members who have a user account and logged into the site.
  • Selected User Roles – Allows you to make all existing and new pages visible only to the selected user roles

If you choose Selected User Roles option, you will get another setting called Allowed User Roles as shown in the following screenshot. You can select the user roles allowed to view all existing and new pages by default.

global-post-restrictions-2

If someone is not allowed to access the post/page, they will be redirected to the URL specified for global Post/Page Restriction Redirect URL setting as shown in the following screenshot.

global-post-restrictions-3

Important – You can override global page protection setting by adding new settings on individual pages.

[mpc_textblock content_width=”100″ font_preset=”mpc_preset_17″ font_color=”#ffffff” font_size=”22″ margin_divider=”true” mpc_tooltip__border_divider=”true” mpc_tooltip__padding_divider=”true” class=”wpexpert-wpro-ad-free-docs-static-text”]WP Private Content Pro[/mpc_textblock][mpc_animated_text duration=”1000″ delay=”2650″ text_font_preset=”mpc_preset_17″ text_font_color=”#ffffff” text_font_align=”center” text=”Extend Features of Free Version|||Simple Setup|||Advanced Restriction Rules|||Membership & Private Page Management|||Priority Support|||” text_border_divider=”true” text_padding_divider=”true” disable_sides=”true” sides_font_preset=”mpc_preset_17″ sides_font_color=”#ffffff” sides_font_align=”center” border_divider=”true” padding_divider=”true” margin_divider=”true” class=”wpexpert-wpro-ad-free-docs-animated-text”][mpc_button preset=”mpc_preset_29″ url=”url:https%3A%2F%2Fwww.wpexpertdeveloper.com%2Fwp-private-content-pro%2F|||” font_preset=”mpc_preset_20″ font_color=”#ffffff” font_size=”16″ font_transform=”uppercase” font_align=”center” title=”VIEW MORE” background_color=”#2bb3e7″ border_divider=”true” border_top=”2″ border_right=”0″ border_bottom=”2″ border_left=”0″ border_style=”solid” border_color=”#ffffff” border_css=”border-top:2px;border-right:0px;border-bottom:2px;border-left:0px;border-color:#ffffff;border-style:solid;border-radius:0px;” border_radius=”0″ padding_divider=”true” padding_top=”12″ padding_right=”32″ padding_bottom=”12″ padding_left=”32″ padding_css=”padding-top:12px;padding-right:32px;padding-bottom:12px;padding-left:32px;” margin_divider=”true” margin_top=”11″ margin_css=”margin-top:11px;” hover_font_color=”#2bb3e7″ hover_background_color=”#ffffff” hover_background_effect=”expand-horizontal” hover_background_offset=”0″ hover_border_divider=”true” hover_border_css=”border-radius:0px;” hover_border_radius=”0″ mpc_tooltip__border_divider=”true” mpc_tooltip__padding_divider=”true” class=”wpexpert-wpro-ad-free-docs-button”]