Title: Role Based Content Restrictor
Author: inzidev
Published: <strong>ઓક્ટોબર 4, 2025</strong>
Last modified: મે 27, 2026

---

પ્લગીન શોધો

![](https://ps.w.org/role-based-content-restrictor/assets/banner-772x250.png?rev
=3372960)

![](https://ps.w.org/role-based-content-restrictor/assets/icon-128x128.png?rev=3372960)

# Role Based Content Restrictor

 [inzidev](https://profiles.wordpress.org/inzidev/) દ્વારા

[ડાઉનલોડ](https://downloads.wordpress.org/plugin/role-based-content-restrictor.zip)

 * [વિગતો](https://gu.wordpress.org/plugins/role-based-content-restrictor/#description)
 * [સમીક્ષાઓ](https://gu.wordpress.org/plugins/role-based-content-restrictor/#reviews)
 *  [સ્થાપન](https://gu.wordpress.org/plugins/role-based-content-restrictor/#installation)
 * [ડેવલપમેન્ટ](https://gu.wordpress.org/plugins/role-based-content-restrictor/#developers)

 [સપોર્ટ](https://wordpress.org/support/plugin/role-based-content-restrictor/)

## વર્ણન

**Role Based Content Restrictor** allows you to restrict access to individual posts,
pages, and custom post types based on user roles or login status — now with a simplified
and intuitive interface.

### Key Features

 * Restrict content based on **user roles**
 * Restrict content to **logged-in users only**
 * Restrict content to **logged-out users (visitors only)**
 * Set a **custom redirect page** per post
 * Configure a **global fallback redirect** from plugin settings
 * Clean **radio-based UI** to avoid conflicting settings
 * Fully **backward compatible** with previous versions

### Improved Restriction UI

The plugin now uses a **single “Restriction Type” selector** instead of multiple
toggles:

 * No Restriction
 * Restrict access to this content for roles
 * Restrict to Logged-in Users Only
 * Restrict to Logged-out Users Only (Visitors Only)

Only relevant fields are shown based on the selected option, making configuration
clearer and preventing conflicts.

### Smart & Conflict-Free Logic

The plugin ensures consistent behavior with a clear priority system:

 * **Visitors Only**  highest priority (logged-in users are redirected, except administrators)
 * **Logged-in Only**  restricts access to authenticated users
 * **Role-based restriction**  applies when selected

### Visitors Only Behavior

When **Visitors Only** is enabled:
 – Logged-out users can access the content – 
Logged-in users are redirected to a selected page – If no page is selected, the 
plugin uses the post redirect or global fallback – Administrators are always allowed
access

### Backward Compatibility

Existing settings are fully preserved:
 – Older saved configurations are automatically
mapped to the new interface – No data loss when switching between restriction types–
Hidden fields are not submitted to prevent accidental overwrites

Perfect for:
 * Membership sites * Learning Management Systems (LMS) * Intranets
and company portals * Client dashboards or gated content areas * Login / Register
pages (visible only to visitors)

Lightweight, developer-friendly, and works with any theme or builder (Elementor,
Gutenberg, etc.).

### About the Author

**Inzamam Abbasi** – Professional WordPress Developer with over 10 years of experience,
specializing in **custom plugin development** and scalable WordPress solutions.

Delivered 1,000+ projects including membership systems, LMS platforms, and enterprise
WordPress solutions.

Learn more at https://inzidev.com

## સ્ક્રીનશોટ

[⌊Global settings page for default redirect configuration.⌉⌊Global settings page
for default redirect configuration.⌉[

Global settings page for default redirect configuration.

[⌊Restriction Type selector with radio-based UI.⌉⌊Restriction Type selector with
radio-based UI.⌉[

Restriction Type selector with radio-based UI.

[⌊Dynamic fields based on selected restriction type (roles, redirects, visitors-
only settings).⌉⌊Dynamic fields based on selected restriction type (roles, redirects,
visitors-only settings).⌉[

Dynamic fields based on selected restriction type (roles, redirects, visitors-only
settings).

## સ્થાપન

 1. Upload the plugin folder to `/wp-content/plugins/role-based-content-restrictor/`
    or install directly from the WordPress Plugin Directory.
 2. Activate the plugin from **Plugins > Installed Plugins**.
 3. Go to **Settings > Role Restrictions** to configure the default redirect.
 4. Edit any page/post and use the **Restrict Access** meta box to:
 5.  * Select restriction type
     * Configure roles (if applicable)
     * Set redirect behavior

## એફએક્યુ (FAQ)

### Will it work with custom post types?

Yes! The plugin works with all public post types registered in WordPress.

### Can I restrict pages to only logged-in users?

Yes, select “Logged-in Users Only” from the restriction type.

### Can I restrict pages to only visitors (logged-out users)?

Yes, select “Visitors Only”. Logged-in users will be redirected automatically.

### What happens if multiple restriction types were previously enabled?

The plugin automatically resolves them into a single restriction type using a priority
system, ensuring consistent behavior.

### Can I redirect users to an external URL?

Not yet. You can redirect them to a page where you handle the external redirect 
using a script or shortcode.

### Does it support multiple roles per page/post?

Yes, when using role-based restriction, you can select multiple roles.

### What happens if no redirect page is set?

The plugin will use the global fallback page set in the plugin settings. If that’s
not set, users are redirected to the homepage.

## સમીક્ષાઓ

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

### 󠀁[Effortless Role-Based Access Control for WordPress](https://wordpress.org/support/topic/effortless-role-based-access-control-for-wordpress/)󠁿

 [ayazfaisal447](https://profiles.wordpress.org/ayazfaisal447/) ઓક્ટોબર 20, 2025

A lightweight, powerful plugin that makes restricting content by user role easy 
and seamless. Perfect for membership sites, LMS, and client portals.

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

### 󠀁[worked great](https://wordpress.org/support/topic/worked-great-294/)󠁿

 [farrukh_ahmed](https://profiles.wordpress.org/farrukh_ahmed/) ઓક્ટોબર 19, 2025

I was looking for something focused, clean, lighweight and found this great plugin
which suited best as per my requirements, so far loving it.. Thanks 🙂

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

### 󠀁[Perfect Solution for Role-Based Content Restriction](https://wordpress.org/support/topic/perfect-solution-for-role-based-content-restriction/)󠁿

 [Usama Abbasi](https://profiles.wordpress.org/usamaabbasi682/) ઓક્ટોબર 19, 2025

I was looking for an easy way to protect specific pages for certain users, and this
plugin worked perfectly! It’s simple to use and very effective for restricting access
to posts or custom post types. Highly recommended for anyone who needs role-based
content control.

 [ 3 સમીક્ષાઓ વાંચો ](https://wordpress.org/support/plugin/role-based-content-restrictor/reviews/)

## ફાળો આપનાર & ડેવલપર્સ

આ ઓપન સોર્સ સોફ્ટવેર છે. નીચેના લોકો એ આ પ્લગિન માટે ફાળો આપ્યો છે.

ફાળો આપનારા

 *   [ inzidev ](https://profiles.wordpress.org/inzidev/)

[“Role Based Content Restrictor” ને તમારી ભાષામાં અનુવાદ કરો.](https://translate.wordpress.org/projects/wp-plugins/role-based-content-restrictor)

### વિકાસમાં રસ ધરાવો છો?

[કોડ બ્રાઉઝ કરો](https://plugins.trac.wordpress.org/browser/role-based-content-restrictor/),
જોવો[અસ્વીએન રેપોઝિટરીમાંથી](https://plugins.svn.wordpress.org/role-based-content-restrictor/),
અથવા સબ્સ્ક્રાઇબ કરો[ડેવલપમેન્ટ](https://plugins.trac.wordpress.org/log/role-based-content-restrictor/)
દ્વારા[આરઅસઅસ](https://plugins.trac.wordpress.org/log/role-based-content-restrictor/?limit=100&mode=stop_on_copy&format=rss).

## ચેન્જલૉગ

#### 1.4.0

 * Confirmed compatibility with WordPress 7.0

#### 1.3.0

 * Added **Logged-in Users Only** restriction option.
 * Added **Visitors Only (Logged-out Users Only)** restriction option.
 * Introduced **radio-based restriction UI** for cleaner and conflict-free configuration.
 * Implemented **priority-based restriction handling** (Visitors Only  Logged-in
   Roles).
 * Improved meta handling with full backward compatibility.
 * Prevented accidental data overwrite using conditional field saving.
 * Enhanced admin UI with dynamic field visibility.

#### 1.2.0

 * Confirmed compatibility with WordPress 6.9

#### 1.0.2

 * Minor fixes for submission and compliance with WordPress.org guidelines.

#### 1.0.1

 * Improved compatibility with WordPress.org guidelines.
 * Updated text domain and folder structure.
 * Minor code cleanups.

#### 1.0.0

 * Initial public release.

## મેટા

 *  વર્ઝન **1.4.0**
 *  છેલ્લી અપડેટ: **1 મહિનો પહેલા**
 *  સક્રિય સ્થાપનો: **70+**
 *  વર્ડપ્રેસ વર્ઝન ** 5.8 અથવા ઉચ્ચતર **
 *  **7.0** સુધી પરીક્ષણ કર્યું
 *  PHP સંસ્કરણ ** 7.4 અથવા ઉચ્ચતર **
 *  ભાષા
 * [English (US)](https://wordpress.org/plugins/role-based-content-restrictor/)
 * ટૅગ્સ:
 * [access-control](https://gu.wordpress.org/plugins/tags/access-control/)[content](https://gu.wordpress.org/plugins/tags/content/)
   [membership](https://gu.wordpress.org/plugins/tags/membership/)[restrict](https://gu.wordpress.org/plugins/tags/restrict/)
 *  [વિગતવાર દૃશ્ય](https://gu.wordpress.org/plugins/role-based-content-restrictor/advanced/)

## પૉઇન્ટ્સ

 5 માંથી 5 સ્ટાર.

 *  [  3 5-સ્ટાર સમીક્ષાઓ     ](https://wordpress.org/support/plugin/role-based-content-restrictor/reviews/?filter=5)
 *  [  0 4-સ્ટાર સમીક્ષાઓ     ](https://wordpress.org/support/plugin/role-based-content-restrictor/reviews/?filter=4)
 *  [  0 3-સ્ટાર સમીક્ષાઓ     ](https://wordpress.org/support/plugin/role-based-content-restrictor/reviews/?filter=3)
 *  [  0 2-સ્ટાર સમીક્ષાઓ     ](https://wordpress.org/support/plugin/role-based-content-restrictor/reviews/?filter=2)
 *  [  0 1-સ્ટાર સમીક્ષાઓ     ](https://wordpress.org/support/plugin/role-based-content-restrictor/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/role-based-content-restrictor/reviews/#new-post)

[બધા  સમીક્ષાઓ જુઓ](https://wordpress.org/support/plugin/role-based-content-restrictor/reviews/)

## ફાળો આપનારા

 *   [ inzidev ](https://profiles.wordpress.org/inzidev/)

## સપોર્ટ

કંઈક કહેવું છે? મદદ જોઈએ છે?

 [આધાર ફોરમ જુઓ](https://wordpress.org/support/plugin/role-based-content-restrictor/)

## દાન

શું તમે આ પ્લગિનની પ્રગતિને સમર્થન આપવા માંગો છો?

 [ આ પ્લગિનને દાન કરો ](https://inzidev.com/)