Plugin Directory

Page Restriction WordPress (WP) – Protect WP Pages/Post

Page Restriction WordPress (WP) – Protect WP Pages/Post



Content Restriction provide control of the entire content of your WordPress sites. This includes Page Restriction and Post Restriction i.e. Content restriction according to User Roles. You can Protect content by setting consent for single-entity users on WordPress sites based on their roles. Here a user role has permission to access a page; the authorization enables access to that user. By default, all roles will have access to the content of the page.
Page Restriction provides page protection by allowing content access to only Logged In Users to specific or all pages. Restrict access of your pages to logged-out users by showing them an error message letting them know they do not have permission to look into the content on the particular page.
Please note this plugin doesnot protect REST API Endpoints. You can protect your REST APIs using our REST API Authentication Plugin.

Besides Page Restrictions, we also provide Post Restrictions (Content restriction) feature which helps to Protect content by Restricting access for posts on logged-in/out status to users or specific user roles. Our WordPress Post restrictions feature also helps you to Restrict access in categories to logged-in/out users or specific user roles. We Display a custom message to users who do not have permission to view the content or redirect them to a specified URL. In our Page restriction, Post restriction Plugin our Individual Posts feature will enable protection for default posts as well as custom post types.

Content Restriction also includes role-based capabilities which help in creating new custom roles and provide capabilities. You can create roles and customize them by assigning various WordPress capabilities to them according to requirements. You can also restrict content of your WordPress according to these custom roles with the help of our roles and capabilities feature.

We provide integration with SAML Single Sign-On (SAML SSO) and OAuth Single Sign-On (OAuth SSO) which helps in content restriction and allows content access to only those users who are authenticated by the configured Identity Provider or the Identity Server.


  • Page restriction: Restrict pages / Protect Content / Restrict user access by applying Page restriction on all or specific pages of your site. You can apply Page restriction to all the pages or restrict particular pages from the users that are not logged-in. Restricted users will be shown a static / default error message
  • Post restriction: Restrict access for individual posts. Restrict user access by applying Post restriction on all or specific posts. Restrict posts by showing a static / default error message to the users who do not have permission to access the content
  • Site restriction: You can enable site restriction and restrict access of your site to logged-in users and restrict/protect content of your site from those who are not logged- in. Complete site restriction will restrict your entire site and users won’t have the content access. Restricted users will be shown a static / default error message.
  • Content Restriction based on user login status: Restrict content (Page restriction | Post restriction | site restriction | tag restriction | widgets restriction | taxonomies restriction) and allow only logged-in users the content access. Protect content from those who are not logged-in users of the site. Those who are not logged-in won’t have the content access and will be shown a static / default error restriction message
  • Restrict content based on one or more WordPress Roles: This option allows content restriction according to the roles. Assign roles to the users and then give the content access according to the roles assigned to the users. Protect content confidential to a specific user role by restricting other user roles.
  • Restrict Pages/Posts while Creating (Meta Box): Page restriction / Post restriction option while creating a particular page or post. This provides page restriction and Post restriction options to users while creating and editing posts/pages. This shows all the site’s user roles based on which Page restriction and Post restriction can be made. The meta box also asks if login is required to access the page/post.
  • Restrict all of your WordPress pages or posts: this option allows you to restrict all the pages or posts available on your WordPress site. This option gives an effortless experience if you want to restrict pages, restrict posts or restrict content as you don’t have to list down individual pages or posts to restrict them from unauthorized users. A convenient way to protect all of your content in one step.
  • Unlimited WordPress Content restriction: Restrict pages | Restrict posts | Restrict content to an unlimited extent. Any number of Page restrictions | Post restriction | Content restriction is allowed. The Page Restriction Plugin can work with large number of pages, posts and other WordPress content without overloading your servers. You can restrict as many pages / posts as you have in your WordPress, control their content, restrict users to have content access to your WordPress pages / posts and you won’t be held back by safety concerns due to the increasing number of pages/posts in you WordPress site.
  • Static Error Message: Protect content by restricting users who do not have permission to view the content by redirecting to a static / default error message.
  • Apply Parent Page Post Restriction to all Child Pages: Configure restrictions for the parent page and apply to all its child pages. Choose which parent page’s restrictions should be applied to its child pages.
  • Create New Roles: The Page restriction and post restriction plugin allows you to create new WordPress Roles and assign capabilities as per the requirements. Create unlimited custom roles in your WordPress and protect content according to the user roles created
  • Modify Role Capabilities: Apply different WordPress capabilities to the roles created. Users will be able to update the capabilities of the new roles created as well as modify the capabilities of the custom roles. You can assign / delete / update new capabilities to the default WordPress roles
  • Update existing Roles: Default existing roles can be updated according to the requirements of the users. With the Page restriction plugin, users will be able to edit role names, delete or update roles, create a copy of an existing role etc.
  • Restrict using Quick Edit: Page Restriction / Post Restriction Plugin gives an option of quick edit on the restriction interface to make it convenient for you to edit the content restriction settings without going to the very restricted content.
  • Restrict specific blocks/excerpts in a Page/Post: Restrict specific blocks in the content of pages or posts. Use opening and closing tags of the shortcode anywhere in the page/post to restrict the access to the content present in the between the tags of the shortcode.


  • All features of the free version
  • Restrict Tags: Restrict users from accessing specific tags. Apply tag restriction on all or specific tags to restrict access of all or specific users from accessing the posts with the tag and the main page of the tag.
  • Restrict Nav Menu Items: Control the access to navigation menu of your site. Protect the content of the navigation menu and restrict specific user roles or logged out users from accessing the navigation menu items.
  • Restrict Widgets: Get better access control of the WordPress widgets. Restrict widgets by hiding them from the users. You can apply widget restriction to all widgets or have an option to restrict particular widgets from the users.
  • Restrict Custom Post Types: Allows extending restrictions of posts to custom post types. Protect posts of custom post types by assigning user roles to a page who can access content of that post.
  • Role based Block Restriction: Restrict blocks to one or more user roles and enable displaying content dynamically on your pages or posts. Allow only specific user roles to view some content on your page or post.
  • Post Category restrictions: Page restriction WordPress plugin controls the visibility of content for post categories without the hassle of editing every post on your site and defining the restrictions individually to logged in/out users or specific user roles
  • Restrict access to Meta Box: Restrict Access to the custom Meta Box based on user roles. This allows you to have control over who can restrict access to a page or post while creating/editing content.
  • Custom Error Message: Restrict content from users who do not have permission to view the protected content by displaying a custom error message.
  • Redirect Restricted user to WP Login Page: Redirects users who do not have permission to view the restricted content to WordPress default login page (redirects to page/post after login).
  • Restrict Category based on User’s Login Status: Restrict content based on user’s logged in/out status and after successful authentication, redirect back to the restricted page.
  • Redirect Restricted User to a URL: Users trying to access a restricted page (content restrict) will be redirected to a specific page URL. This post restriction / page restriction option lets you modify the behaviour of restricted pages and posts.
  • Page Post restriction Plugin Integration with SAML/OAuth SSO: This page restriction and post restriction feature allows Protected content access to only the users who have been authenticated by the configured IdP. Allows redirecting not logged in users to your Identity Provider /Oauth Server login page.


Managing a website is easier than ever nowadays. Do you have content you only want certain WordPress users to access? Now you can manage content for specific users as well as control or restrict content access for certain groups.

Page restrictions and Post restrictions permit you to control / protect who can see as well as alter restrictions on individual pages in a space. Content Restriction allows to restrict entire WordPress content (site restriction | tag restriction | widgets restriction | taxonomies restriction) according to the user login status or their WordPress roles.We energetically suggest investigating your site needs and provide you the miniOrange Page Restriction WordPress plugin specially designed for integrating with WordPress Sites to keep your website safe with a user-friendly experience at an affordable price.


  • Restrict access to complete site: Our Page restriction WordPress plugin helps to Protect content on your WordPress site and its feed make it completely private with more flexibility to restrict to private pages. This is very useful for intranet sites.
  • Unlimited content restriction: Content Restriction WordPress provides granular access to your content by applying restrictions on unlimited pages and posts on your site.
  • Supports Custom Post Types: You can even restrict access to custom post types which gives you complete control over your content on WordPress
  • Multiple User Roles: Page Restriction | Post restriction plugin can provide one, two, or even more roles to any pages. Multiple roles could be assigned to pages/posts simultaneously.
  • Inherited Restrictions: Page Restriction | Post restriction plugin helps you to make content restriction as easy as possible by reflecting the changes down to child pages/posts when a restriction is applied to the parent one.
  • Customize redirect: Helps you integrate the plugin seamlessly by allowing you to customize restricted messages and choose login authentication for Single Sign-On (SSO) redirecting to the IDP login page and redirecting to the WP login page.
  • Easy to use: Ease to set up and designed with user-friendly interfaces or Ease of use with protected content integrates User management and role-based content access
  • Multi-level content access: The option to hide content from different user roles and even nested pages
  • Restrict Anonymous/Other users: Our Page and Post restriction plugin limits anonymous/other user roles to your site who are logged in from accessing site content.


miniOrange has various types of deployments that give the customer a safe and protective choice. miniOrange offers a plugin, Cloud, and On-premise server module. We provide a reliable plugin with extended functionality in a cost-beneficial manner to Protect content on your WordPress sites. Our Page restriction WordPress, Post restriction plugin for WordPress sites, carries a lot of features within it like protecting posts, pages, custom post types. . If you are looking for a greater amount of administrative control over your WordPress website in a cost-efficient manner miniOrange is best with the powerful content restriction feature.


Page restriction WordPress – Protect WP Pages/Posts is built by miniOrange. We create high-quality WordPress plugins that help you grow your WordPress sites.
Check out our website for other plugins https://plugins.miniorange.com/ or click here to see all our listed WordPress plugins.


Our Page restriction WordPress – Protect WP Pages/Posts plugin for WordPress comes with detailed setup guidelines with ensured content, expectations to make sure you don’t get lost along the way.


If you are still nervous about your website security or how the plugin would work for you specifically, customized solutions and Active support are available. You can always Contact Us, or Email us at samlsupport@xecurify.com and we would be happy to help you out.


  • Restrict Access to Posts/Pages based on User Roles.
  • Restrict Access to only Logged in Users.
  • Restrict Access to Meta-box based on User Roles.


From your WordPress dashboard

  1. Visit Plugins > Add New.
  2. Search for Page Restriction WordPress. Find and Install Page Restriction WordPress.
  3. Activate the plugin from your Plugins page.

From WordPress.org

  1. Download Page Restriction WordPress plugin.
  2. Unzip and upload the page-and-post-restriction directory to your /wp-content/plugins/ directory.
  3. Activate Page and Post Restriction from your Plugins page.


august 19, 2023
The free version of the Page Restriction plugin worked well. I decided to purchase the premium upgrade ($149) so that I could restrict access to custom posts, as described in their advertisement for the plugin upgrade. The installation process of the premium version failed (twice) so I contacted the company for a refund. Instead of a refund, they scheduled an online “help” session. The installation process during the help session failed as well, so I added the support staff person to my website administrator list so that they could install it directly. When the support staffer was finished, I had a version of the plugin that had fewer features than the free version. I was told that the feature that I wanted (restricting access to custom posts) was only available in the “enterprise” version of the plugin (for more $). Save yourself some time (and $149) and avoid the ‘Premium’ version of this plugin.
august 9, 2023
This plugin is incredibly over-complicated for what it does.Also it ads a HUGE spammy widget on every page/post editor page that tells you to upgrade to pro to unlock the features on the widget. It’s the tallest admin widget I’ve ever seen and the features that are locked are all the plugin needs to be. It’s a minimum subscription of $149 for a limited version of the “pro” version, which is insane for a simple task.
mai 9, 2023
Hi! I’m very happy with this plugin (after I tried and discard other two).It’s easy to understand and (at least) it works exactly as it should.Thank you.
september 22, 2022
Very thankful for this plugin and the support from the developers. The developer worked with us to troubleshoot the issues that we had and responded timely and effectively.
juli 11, 2022
We originally had an issue with the premium version of the plugin, however Xecurify were very quick to respond and resolve the problem. This definitely does the job as expected.
Read all 11 reviews

Contributors & Developers

“Page Restriction WordPress (WP) – Protect WP Pages/Post” is open source software. The following people have contributed to this plugin.




  • Adding a note for REST API Authentication
  • Other code Improvements


  • Minor Bug fixes


  • Bug fix for role restriction


  • Compatibility with PHP 8.1 and WP 6.1
  • Modified UI of selecting roles
  • Updated Bootstrap version
  • Resolved Metabox and Quick Edit roles issue
  • Other Bug fixes


  • Added automatically making pages private if restricted by role
  • Usability fixes


  • Fixed compatibility issues with older versions of PHP


  • WordPress 6.0 compatibility
  • Roles and capabilities
  • Usability fixes


  • Fix for headers sent
  • Modified upgrading steps
  • Added restrict options link


  • Improvements in search
  • Added guide link
  • Added info for settings


  • New User Interface for restrictions
  • Introduced Block Restriction


  • Removed unwanted CSS/JS
  • Fixed restriction with Elementor


  • WordPress 5.9 compatibility
  • Modified licensing plans
  • Fixed support form warning


  • Added new licensing plans
  • Fixed feedback form
  • Fixed metabox issue


  • Fixed issue for post role restriction
  • WP 5.8 compatibility


  • License changes
  • Bug Fixes
  • New Premium feature


  • Modified Feedback Form
  • Removed General Settings
  • UI Fixes


  • Fixed Changing of configurations on Page/Post creation
  • Fixed Restriction for Home Page
  • Fixed Feedback Form compatibility


  • Added Account Setup
  • Added Support Form
  • Added a Premium Plan page


  • This is the first release