Site Access Restriction (SAR) - How The Plugin Works
How Content Restriction Works
Prefer a Complete Step-by-Step?
Check our use case guides:
- Site Access Restriction (SAR) - Use Case - Blocking Site Access to Certain User Roles or to Guest Users Only
- Site Access Restriction (SAR) - Use Case - How to Build Drip Content Posts
- Site Access Restriction (SAR) - Use Case - How to Limit the Access to Specific Post/Page On Specific Day
- Site Access Restriction (SAR) - Use Case - How to Control Your Site Menus By the User Role and Type
This plugin allows users to create a membership and content restriction solution. The content restriction is based on user WordPress roles and if they are logged in or not.
The content restriction can be set by the following options:
1 - Specific URL - You can restrict access to specific posts. This can also includes URL parameters. Learn more about URL Filtering.
2 - Specific Post / Page - You can restrict access to a post, page or any custom post type by editing the post and using the post metabox to restrict access.
3 - Specific Permalink - Some plugins create on the fly pages which are only represented by permalink. In such case you can use the admin bar edit option to define content restriction.
4 - To all posts by type - using the plugin setting you can restrict content across all post from a specific type.
5 - To part of the content - using a shortcode you can limit access to part of the content in a post or page only to specific roles user id or user action.
Since the version 1.6.1 it is possible to control the visibility of menu items for different types of users. You can configure the visibility for each menu item in the following ways:
- Visible for everyony
- Visible for logged-in users only (for all or for chosen roles only)
- Visible for logged-out users only
Custom Links have one more additional option - Make a logout URL. It makes the menus item visible for logged-in users only and can be used only for logout.
Learn more about this feature in this use case guide: Site Access Restriction (SAR) - Use Case - How to Control Your Site Menus By the User Role and Type