Restriction content priority

Notice: This article is actual since version 2.2.0. See the article for the version lower than 2.2.0 here.

The plugin offers several content restriction tools. If you use multiple tools simultaneously, you should consider their priority.
Content restriction priority (from lowest to highest):
  1. Global Site Access
    1. Homepage access
    2. Categories access
    3. Exclude the following URLs
  2. Individual Term (category) Content Restriction options
  3. Individual Post (page) Content Restriction options

Global Site Access

The entire website can be restricted by the Global Site Access setting.

Exceptions:

  • Administrators can access any page.
  • Members always can access their own profiles.
  • Login, Registration, Password Reset pages can not be restricted, they are always accessible.
  • The Account page is accessible for the logged-in users only. If an unlogged user attempts to access an Account, they will be redirected to the Login page.

Homepage access

The homepage can be restricted by the common option "Allow Homepage to be accessible"

or the individual option "Can view default homepage?" for each user role.

Categories access

Category pages (only default WordPress categories) can be restricted by the "Allow Category pages to be accessible" option.

Exclude the following URLs

Other pages use the "Exclude the following URLs" option.

Individual Term (category) Content Restriction options

It is possible to assign each post to different categories, tags, or custom taxonomies. To limit access to all posts assigned to a particular term, it is necessary to select the term type in the "Access" settings and then configure the restriction in the individual term's (tag, category) content restriction options. This action should be given priority as the second step when setting up restrictions.

How to enable the "Content Restriction" settings for taxonomies:

Individual term (tag, category) "Content Restriction" options:

If the post doesn't have an individual restriction options, then we use this term's restriction options.

Individual Post (page) Content Restriction options

To restrict access to a specific post or page, you should first check the "Access" settings and choose the post type you want to restrict. The individual post or page "Content Restriction" options should be configured next to ensure the desired level of restriction is achieved. It is important to note that the individual post or page "Content Restriction" options take priority over any other settings in this regard.

How to enable the "Content Restriction" settings for post types:

Individual post (page) "Content Restriction" options:


Restore old business logic to avoid 404 errors: If you need to rollback restriction content logic for your current Ultimate Member version (>= 2.2.3) please use this option "Ultimate Member > Settings > Misc > Disable pre-queries for restriction content logic (advanced)". Then 404 error displaying will be replaced by the Hide from queries option and removing the post only from results (not a query). The old restriction logic is described here. Not recommended if you are a new customer or do not want search robots to detect the restricted content or its structure.Individual Post and Term content restriction settings