Title: Restrict User Access &#8211; Ultimate Membership &amp; Content Protection
Author: Joachim Jensen
Published: <strong>March 16, 2015</strong>
Last modified: October 6, 2025

---

Search plugins

![](https://ps.w.org/restrict-user-access/assets/banner-772x250.png?rev=1815922)

![](https://ps.w.org/restrict-user-access/assets/icon-256x256.png?rev=1815922)

# Restrict User Access – Ultimate Membership & Content Protection

 By [Joachim Jensen](https://profiles.wordpress.org/intoxstudio/)

[Download](https://downloads.wordpress.org/plugin/restrict-user-access.2.8.zip)

 * [Details](https://en-ca.wordpress.org/plugins/restrict-user-access/#description)
 * [Reviews](https://en-ca.wordpress.org/plugins/restrict-user-access/#reviews)
 *  [Installation](https://en-ca.wordpress.org/plugins/restrict-user-access/#installation)
 * [Development](https://en-ca.wordpress.org/plugins/restrict-user-access/#developers)

 [Support](https://wordpress.org/support/plugin/restrict-user-access/)

## Description

**Restrict User Access is a fast and simple Membership Plugin for WordPress. Restrict
your content in minutes, NOT hours.**

Quickly set up a paid membership site where your users can get different levels 
such as Platinum, Gold, or Free. Then, grant those levels when a user purchases 
a product in WooCommerce.

### 👥 Unlimited Access Levels

Users can have multiple levels, and you control how long memberships should last.
When unauthorized users try to access restricted content, you can redirect them 
to another URL or display a teaser.

### ⚡ Level Membership Automations

Automatically add levels to your users based on something they do (Triggers) or 
something they are (Traits):

 * User Registration
 * User Roles
 * Logged-in or Guests
 * WooCommerce Purchases
 * Easy Digital Downloads Purchases
 * BuddyPress Member Types
 * GiveWP Donations

### 🔒 Contextual Content Protection

Prevent unauthorized users from visiting your posts, pages, or categories. You can
even combine the conditions: protect all posts tagged “Premium” written by a select
author.

The following Access Conditions are available out of the box:

 * Posts, Pages & Custom Post Types
 * Content with Tags, Categories, or Custom Taxonomies
 * Content written by select Authors
 * Page Templates
 * Blog Page & Post Type Archives
 * Author Archives
 * Taxonomy Archives
 * Front Page, Search Results, 404 Not Found Page
 * bbPress Profiles, Forums & Topics
 * BuddyPress Profile Sections
 * Languages (Polylang, qTranslate X, TranslatePress, Transposh, Weglot, WPML)
 * Pods Pages

Note that Access Conditions do not apply to content displayed in lists.

### ✅ Grant & Deny Capabilities

The easy-to-use WordPress User Manager gives you full control over the capabilities
the members should or shouldn’t have. Access Level Capabilities will override the
permissions set by roles or other plugins.

### 👁️ Hide Admin Bar & Nav Menu Visibility

Disable the admin bar for select levels and control what menu items members can 
see. You can even hide any widget area created with [Content Aware Sidebars](https://dev.institute/wordpress-sidebars/?utm_source=readme&utm_medium=referral&utm_content=section&utm_campaign=rua)

### 🤖 Restrict Content from Other Plugins

Restrict User Access autodetects Custom Post Types and Taxonomies created by any
plugin or theme. Built-in support for some of the most popular WordPress plugins
means that you e.g. can restrict access to bbPress forums or multilingual content.

 * bbPress
 * BuddyPress
 * Easy Digital Downloads
 * Pods
 * Polylang
 * TranslatePress
 * WooCommerce
 * Weglot
 * WPML
 * and more …

### 🛡️ WordPress Security Enhancements

 * **WP REST API Content Protection**
    Enforces PoLA to minimize attack surfaces
   and stop threat actors from harvesting your data
 * **How to display content in lists**
    Display excerpts only or hide content when
   post types are displayed in blog, archives, search results, lists, etc.

### 📑 Restrict Content with Shortcodes

Fine-tune content visibility in your posts or pages by adding simple shortcodes:

    ```
    [restrict level="platinum"]
    This content can only be seen by users with Platinum level or above.
    [/restrict]

    [restrict level="!platinum"]
    This content can only be seen by users without Platinum level or above.
    [/restrict]

    [restrict role="editor,contributor" page="1"]
    This content can only be seen by editors and contributors.
    Other users will see content from page with ID 1.
    [/restrict]

    [login-form]
    ```

### 👋 Developer-friendly API

Restrict User Access makes it super easy for developers to programmatically customize
WordPress access control by adding a few lines of code to theme templates.

#### Example – Add level to current user

    ```
    rua_get_user()->add_level($level_id);
    ```

#### Example – Check if current user has an active level membership

    ```
    if(rua_get_user()->has_level($level_id)) {
        //show restricted content
    } else {
        //show content if unauthorized
    }
    ```

[View full RUA PHP API documentation here.](https://dev.institute/docs/restrict-user-access/developer-api/?utm_source=readme&utm_medium=referral&utm_content=section&utm_campaign=rua)

### 🎛️ Premium Add-ons for Restrict User Access

Complete your WordPress membership site with these powerful extensions

 * **[ACF Restriction](https://dev.institute/products/category/restrict-user-access/?utm_source=readme&utm_medium=referral&utm_content=acf&utm_campaign=rua)**
   
   Restrict content that contain data from Advanced Custom Fields plugin
 * **[Date Restriction](https://dev.institute/products/category/restrict-user-access/?utm_source=readme&utm_medium=referral&utm_content=date&utm_campaign=rua)**
   
   Restrict content based on the time it was published
 * **[Meta Box Restriction](https://dev.institute/products/category/restrict-user-access/?utm_source=readme&utm_medium=referral&utm_content=metabox&utm_campaign=rua)**
   
   Restrict content that contain data from Meta Box plugin
 * **[Timelock](https://dev.institute/products/category/restrict-user-access/?utm_source=readme&utm_medium=referral&utm_content=timelock&utm_campaign=rua)**
   
   Determine when to enable or disable select Access Conditions
 * **[URL Restriction](https://dev.institute/products/category/restrict-user-access/?utm_source=readme&utm_medium=referral&utm_content=url&utm_campaign=rua)**
   
   Restrict content based on the WordPress URL, with wildcard support
 * **[Visibility Control](https://dev.institute/products/category/restrict-user-access/?utm_source=readme&utm_medium=referral&utm_content=visibility&utm_campaign=rua)**
   
   Hide content from blog, search results, archives, custom lists, WP REST API, 
   and more

## Screenshots

 * [[
 * Simple Access Levels Overview
 * [[
 * Easy-to-use Access Conditions
 * [[
 * Capability Manager for Access Level

## Installation

 1. Upload the full plugin directory to your `/wp-content/plugins/` directory or install
    the plugin through `Plugins` in the administration
 2. Activate the plugin through `Plugins` in the administration
 3. Have fun creating your first Access Level under the menu _User Access > Add New_

## FAQ

### How do I prevent admin lockout?

Restrict User Access has built-in lockout prevention. All administrators will by
default have access to all content regardless of the Access Levels you create.

If the plugin is deactivated, any restricted content will become accessible to everyone
again; Restrict User Access does not permanently alter Roles or Capabilities in 
any way.

### How do I restrict some content?

 1. Go to User Access > Add New
 2. Click on the “New condition group” dropdown to add a condition
 3. Click on the created input field and select the content you want to restrict
 4. Go to the Members tab to add users who should have access the restricted content
 5. Go to the Options tab to set the Non-Member Action and other options
 6. Give your new level a descriptive title and save it

**Tips**
 In order to restrict a context, e.g. “All Posts with Category X”, simply
select a new type of content from the dropdown below the **AND** label and repeat
Step 3.

### I added a level to a user, but it can still access other content?

When you use Access Conditions to restrict some pages, only members of this level
will be able to visit those pages, but they can still visit other pages too.

You can change this behavior from the Options tab by toggling “Deny Access to Unprotected
Content” to ON.

With this option enabled, members can only visit the pages selected as Access Conditions.

To prevent lockout, Administrators will have access to all content regardless of
your levels.

### Restricted content is still displayed in blog, archives, search results, etc?

By default, Access Conditions do not apply to items in archive pages, search results,
widgets, WP REST API, or custom lists.

[Learn more about how to completely hide content here.](https://dev.institute/docs/restrict-user-access/faq/restricted-content-not-hidden/?utm_source=readme&utm_medium=referral&utm_content=faq&utm_campaign=rua)

### Restricted file is still accessible with deep link?

Restrict User Access does currently not support restricting deep links to files,
only attachment urls.

### User still able to edit restricted content in Admin Dashboard?

Capabilities and Access Conditions serve different purposes and are not combined.
Access Conditions are applied only to the frontend, while capabilities work throughout
the site (both Admin Dashboard and frontend).

### How can I report security bugs?

You can report security bugs through the Patchstack Vulnerability Disclosure Program.
The Patchstack team help validate, triage and handle any security vulnerabilities.
[Report a security vulnerability.](https://patchstack.com/database/vdp/restrict-user-access)

### I have other questions, can you help?

Of course! Check out the links below:

 * [Getting Started with Restrict User Access](https://dev.institute/docs/restrict-user-access/getting-started/?utm_source=readme&utm_medium=referral&utm_content=faq&utm_campaign=rua)
 * [Documentation and FAQ](https://dev.institute/docs/restrict-user-access/?utm_source=readme&utm_medium=referral&utm_content=faq&utm_campaign=rua)
 * [Support Forums](https://wordpress.org/support/plugin/restrict-user-access)

## Reviews

![](https://secure.gravatar.com/avatar/7f2a72929b382c1c75baa4c0b5602f2ae70b7481cff564e3e9e095727b779010?
s=60&d=retro&r=g)

### 󠀁[Tons of possibilites](https://wordpress.org/support/topic/tons-of-possibilites/)󠁿

 [basstrid](https://profiles.wordpress.org/basstrid/) April 28, 2025

I absolutely recommend this plugin. I built a learning platform with ACF and can
now grant access to users with various possibilites (with and without WooCommerce
purchases).What I especially like is that I can hide the admin bar and the dashboard
access to logged in users.

![](https://secure.gravatar.com/avatar/397081a6bf2274100670dea8351e2a11b3099a1f6c68d79811f74e1572b87d1f?
s=60&d=retro&r=g)

### 󠀁[Plugin bug, blog post access locked](https://wordpress.org/support/topic/plugin-bug-blog-post-access-locked/)󠁿

 [dekino](https://profiles.wordpress.org/dekino/) August 8, 2024

After installing this plug-in it is no longer possible to open an article on the
blog, when I click on an article I always end up on the homepage, it happens with
all the articles.I tried to contact support from the official site but it requires
a license number that I do not have, as I use the free version for testing.

![](https://secure.gravatar.com/avatar/11819988ffd4e671ea5bfa1307f69aff4b131b4806cb8e466521665c4ffbfe00?
s=60&d=retro&r=g)

### 󠀁[My favorite !](https://wordpress.org/support/topic/my-favortie/)󠁿

 [Oaz](https://profiles.wordpress.org/oaz/) May 20, 2024

Been using this plugin for several years on different websites, and it is just great,
very efficient. I had a problem once and got personnalized help really fast.Thanks
for this plugin !

![](https://secure.gravatar.com/avatar/dca76a8af1b2a76abf64842c5eebab7606f895e5b8540d0a17bf8b29764b24d0?
s=60&d=retro&r=g)

### 󠀁[Great for User Permission control!](https://wordpress.org/support/topic/great-for-user-permission-control/)󠁿

 [anandaxp](https://profiles.wordpress.org/anandaxp/) February 8, 2024

I wanted to appoint some authors (Not contributor – so that they can upload images
etc) and then limit their capabilities to not publish posts. this plugin was the
perfect and easiest solution for anyone!

![](https://secure.gravatar.com/avatar/1f28a3dd9615d005bf180158d93dce222a1ad8623e074caf64a802701d64cbb6?
s=60&d=retro&r=g)

### 󠀁[One of the best plugins I have ever used!](https://wordpress.org/support/topic/one-of-the-best-plugins-i-have-ever-used-6/)󠁿

 [erdeme61](https://profiles.wordpress.org/erdeme61/) November 18, 2023

Plugin gets the job done. It has a very simple UI to understand. Rules are really
handy and I achieved the result I wanted in no time. Only downside was I couldn’t
make it work alongside with litespeed caching. But I think that has nothing to do
with the plugin. I would recommend everybody to give it a try!

![](https://secure.gravatar.com/avatar/5b600ee4ea74cdd7798a9df606ea24170eb2d9d8457dc0ce868c90dfd934fcc6?
s=60&d=retro&r=g)

### 󠀁[HOW HAS NO ONE MADE ONE FOR HIDING CUSTOMER LIST](https://wordpress.org/support/topic/how-has-no-one-made-one-for-hiding-customer-list/)󠁿

 [The Hemp Collect](https://profiles.wordpress.org/thehempcollect/) January 19, 
2023

It doesnt look like yours does this either so correct me if Im wrong…but how have
you and no one else that I can find not made one thats blocks the customer list 
on the backend so SEO agencies and marketers on peoples site cant steal customer
lists…come on. Please lmk if you add this or if I missed that your plugin has this
feature.

 [ Read all 95 reviews ](https://wordpress.org/support/plugin/restrict-user-access/reviews/)

## Contributors & Developers

“Restrict User Access – Ultimate Membership & Content Protection” is open source
software. The following people have contributed to this plugin.

Contributors

 *   [ Joachim Jensen ](https://profiles.wordpress.org/intoxstudio/)
 *   [ DEV Institute ](https://profiles.wordpress.org/devinstitute/)
 *   [ Jory Hogeveen ](https://profiles.wordpress.org/keraweb/)
 *   [ Freemius ](https://profiles.wordpress.org/freemius/)

“Restrict User Access – Ultimate Membership & Content Protection” has been translated
into 8 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/restrict-user-access/contributors)
for their contributions.

[Translate “Restrict User Access – Ultimate Membership & Content Protection” into your language.](https://translate.wordpress.org/projects/wp-plugins/restrict-user-access)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/restrict-user-access/),
check out the [SVN repository](https://plugins.svn.wordpress.org/restrict-user-access/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/restrict-user-access/)
by [RSS](https://plugins.trac.wordpress.org/log/restrict-user-access/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

[Follow development and see all changes on GitHub](https://github.com/intoxstudio/restrict-user-access)

#### Highlights

#### 2.8

 * [new] member trigger – user registration
 * [new] handle login redirect for non-admin access
 * [new] performance and ui improvements
 * [new] wordpress 6.8 support
 * [new] minimum wordpress version 5.8
 * [new] minimum php version 7.2
 * [updated] freemius sdk
 * [updated] wp-content-aware-engine library
 * [fixed] prevent other plugins from erroneously manipulating membership queries

#### 2.7.1

 * [new] performance improvements

#### 2.7

 * [new] ui and performance improvements
 * [new] wordpress 6.5 support
 * [new] minimum wordpress version 5.5
 * [new] minimum php version 7.1
 * [fixed] memberships now removed on user deletion
 * [fixed] improved compatibility with wpml plugin
 * [updated] wp-content-aware-engine library
 * [updated] freemius sdk

#### 2.6.1

 * [new] ui and performance improvements
 * [updated] freemius sdk
 * [fixed] timezone discrepancies in level memberships
 * [fixed] conflict with other plugins erroneously manipulating membership queries

#### 2.6

 * [new] rest api content protection
 * [new] control how content is displayed in lists
 * [updated] buddypress 12 compatibility
 * [fixed] compatibility with polylang and wpml
 * [fixed] xss vulnerability when editing levels

#### 2.5

 * [new] admin ability to extend, search, and sort memberships
 * [new] member trigger – givewp donation
 * [new] wp multisite network support
 * [new] greatly improved membership data storage
 * [new] wordpress 6.4 support
 * [new] minimum wordpress version 5.1
 * [new] minimum php version 7.0
 * [new] ui and performance improvements
 * [updated] wp-content-aware-engine library
 * [updated] freemius sdk

See changelog.txt for previous changes.

## Meta

 *  Version **2.8**
 *  Last updated: **6 months ago**
 *  Active installations: **10,000+**
 *  WordPress Version: ** 5.8 or higher **
 *  Tested up to: **6.8.5**
 *  PHP Version: ** 7.2 or higher **
 *  Language:
 * [Danish](https://da.wordpress.org/plugins/restrict-user-access/), [Dutch](https://nl.wordpress.org/plugins/restrict-user-access/),
   [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/restrict-user-access/),
   [English (Canada)](https://en-ca.wordpress.org/plugins/restrict-user-access/),
   [English (UK)](https://en-gb.wordpress.org/plugins/restrict-user-access/), [English (US)](https://wordpress.org/plugins/restrict-user-access/),
   [French (France)](https://fr.wordpress.org/plugins/restrict-user-access/), [Japanese](https://ja.wordpress.org/plugins/restrict-user-access/),
   and [Swedish](https://sv.wordpress.org/plugins/restrict-user-access/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/restrict-user-access)
 * Tags:
 * [access-control](https://en-ca.wordpress.org/plugins/tags/access-control/)[bbPress](https://en-ca.wordpress.org/plugins/tags/bbpress/)
   [capabilities](https://en-ca.wordpress.org/plugins/tags/capabilities/)[content restriction](https://en-ca.wordpress.org/plugins/tags/content-restriction/)
   [membership](https://en-ca.wordpress.org/plugins/tags/membership/)
 *  [Advanced View](https://en-ca.wordpress.org/plugins/restrict-user-access/advanced/)

## Ratings

 4.3 out of 5 stars.

 *  [  70 5-star reviews     ](https://wordpress.org/support/plugin/restrict-user-access/reviews/?filter=5)
 *  [  7 4-star reviews     ](https://wordpress.org/support/plugin/restrict-user-access/reviews/?filter=4)
 *  [  2 3-star reviews     ](https://wordpress.org/support/plugin/restrict-user-access/reviews/?filter=3)
 *  [  5 2-star reviews     ](https://wordpress.org/support/plugin/restrict-user-access/reviews/?filter=2)
 *  [  10 1-star reviews     ](https://wordpress.org/support/plugin/restrict-user-access/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/restrict-user-access/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/restrict-user-access/reviews/)

## Contributors

 *   [ Joachim Jensen ](https://profiles.wordpress.org/intoxstudio/)
 *   [ DEV Institute ](https://profiles.wordpress.org/devinstitute/)
 *   [ Jory Hogeveen ](https://profiles.wordpress.org/keraweb/)
 *   [ Freemius ](https://profiles.wordpress.org/freemius/)

## Support

Issues resolved in last two months:

     0 out of 1

 [View support forum](https://wordpress.org/support/plugin/restrict-user-access/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://en-ca.wordpress.org/plugins/restrict-user-access/?output_format=md#)