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.

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.

1) First priority content restriction is individual post (page) "Content Restriction" options. To restrict a post (page) you have to check a post type in "Access" settings and configure restriction in individual post (page) "Content Restriction" options. This is the first priority.

Image - Enable the "Content Restriction" settings for post types.

Image - Individual post (page) "Content Restriction" options.

2) Every post can be assigned to any term of taxonomy (Tag, Category, custom taxonomy). To restrict all term's posts you have to check a term type in "Access" settings and configure restriction in individual term (tag, category) content restriction options. This is the second priority.

Image - Enable the "Content Restriction" settings for term types.

Image - Individual term (tag, category) content restriction options.

Then if the post, which hasn't individual restriction option is assigned to a restricted term - then we use this term's restriction options.
3) A whole site* may be restricted by the setting "Global Site Access". This is the third priority.

Notice: Pages Login, Registration, Password Reset can not be restricted. These pages are the exception.

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

or individual option "Can view default homepage?" for every role.

4) Categories pages have the next priority (only default WP Posts Category) by this option

5) Other pages in the last restriction priority use the "Exclude the following URLs" option