banner

Pages By User Role – WordPress Content Restriction Plugin

img

Product Overview

Pages By User Role gives WordPress administrators precise control over content visibility based on user roles. Whether you run a membership site, client portal, or WooCommerce store, this plugin lets you restrict access to specific pages, posts, categories, custom post types, taxonomies, and products.

When visitors without the required role attempt to access restricted content, they are seamlessly redirected to a custom URL, the login page, or another destination you specify. Restricted content is also hidden from navigation menus, search results, and blog listings for a clean user experience.

Key Features

  • Content restriction by user role across pages, posts, categories, custom post types, taxonomies, and WooCommerce products
  • Automatic menu item hiding when users lack permission or are not logged in
  • Search and blog exclusion for restricted content
  • Default or individual redirect URLs for each piece of restricted content
  • Access code protection controlled by CSS classes
  • Comment filtering on restricted content
  • Redirect to login page option for unauthorized users
  • Panic option to recover access if you accidentally restrict yourself
  • Backend or frontend access control modes

Benefits

Consolidate content restriction, menu management, and access control into one tool. No need for multiple plugins or custom coding. The granular control ensures only the right users see the right content, improving security and user experience across your site.

How It Can Be Used

Membership sites: Show premium content exclusively to paying members while keeping free content accessible to visitors.

Client portals: Provide dedicated pages or project updates to specific clients without exposing them to the rest of the site.

Multi-author blogs: Control which contributors can view or manage specific content categories.

WooCommerce stores: Restrict product visibility to wholesale customers, VIP members, or other tiered user groups.

Internal company sites: Limit access to sensitive documents, HR pages, or internal resources based on employee roles.

Specifications

  • Plugin name: Pages By User Role
  • Version: v3.34.2
  • License: GPL (unlimited domain usage)
  • Updates: Lifetime updates
  • File integrity: 100% clean, virus-free

Why Choose This Plugin?

Pages By User Role combines content restriction, menu management, and redirect control in a single settings panel. The panic option provides peace of mind, and individual redirect URLs let you guide every restricted visitor exactly where you want them. With support for all default WordPress roles and custom roles, it scales from simple sites to complex membership platforms.

Frequently Asked Questions

What content types can I restrict?
Pages, posts, categories, custom post types, custom taxonomies, and WooCommerce products.

Does it work with WooCommerce?
Yes, the plugin includes dedicated support for restricting WooCommerce product visibility by user role.

Can I set custom redirects?
Yes, you can set a default redirect for all restricted content or define individual URLs for each page, post, or custom post type.

What user roles are supported?
All default WordPress roles plus custom roles (requires the Whitelist plugin to create custom roles).

What if I lock myself out?
The built-in panic option helps you regain access to restricted content immediately.

Conclusion

Pages By User Role is a practical, feature-rich solution for WordPress site owners who need reliable content access control. With multi-content-type support, granular redirects, menu hiding, and WooCommerce integration, it covers the core needs of developers and administrators managing content visibility by user role.

Control who sees what on your WordPress site. Restrict pages, posts, WooCommerce products, and custom content by user role with flexible redirect options.Restrict access to pages, posts, categories, and WooCommerce productsHide content from menus, search results, and blog listingsSet custom redirect URLs for unauthorized visitorsSupport for all WordPress roles plus custom rolesBuilt-in panic option to regain access if locked outGPL licensed with lifetime updates and unlimited domains