Title: Restriction doesn&#8217;t work
Last modified: January 23, 2019

---

# Restriction doesn’t work

 *  Resolved [jules1234](https://wordpress.org/support/users/jules1234/)
 * (@jules1234)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/restriction-doesnt-work/)
 * Hello,
    for some reason the restriction I set up within the plugin doesn’t work.
   I need to set up the following restrictions and user-roles:
    - Not logged in users: Should be able to see the following pages: Home, Login,
      Registration, Impressum, Datenschutz as well as the Forum. If a user who isn’t
      logged in tries to visit any other page, he should be redirected to the login-
      page.
    - Logged in users (role = Subscriber): Should be able to see the same pages 
      as not logged in users and furthermore the Pages: account, logout. If a user
      with Subscriber role tries to visit any other page, he should be redirected
      to the account-page.
    - Logged in users who already paid (role = Contributor): Should be able to see
      all pages.
 * So I generated two access levels with the following settings:
    1.  Access Level “Subscriber”: Within “Restrictions” I selected “Page ‘Account’
       AND Page ‘Logout'”. Redirect to “Login” if they are trying to visit any other
       page. Members: Subscriber.
    2.  Access Level “Contributor”: Within “Restrictions” I selected “News OR NOT Page‘
       Login’ OR page ‘Home’ OR NOT page ‘Impressum’ OR NOT page ‘Datenschutz’. Extend
       Access Level “Subscriber”. Redirect to “Account” if they are trying to visit
       any other page. Members: Contributor.
 * When I’m visiting the home of the website it already redirects to the login-page.
   But the homepage should be able to be seen from users who are not logged in. 
   The same applies to the pages “Impressum” and “Datenschutz” as well as the forum.
 * Which mistake did I make in setting up the plugin?
 * Thank you and kind regards,
    Julia

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Joachim Jensen](https://wordpress.org/support/users/intoxstudio/)
 * (@intoxstudio)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/restriction-doesnt-work/#post-11191387)
 * Apologies for the delayed response here.
 * It is likely that the OR NOT conditions are not giving the results as you expect.
 * I suggest you create 3 levels:
 * Paid:
    – Restrictions: NOT 404 Page (this essentially means that the whole site
   is locked down, except the 404 page)
 * Not Logged-in:
    – Sync with Not-logged in users – Restrictions: Home, Login, 
   Registration, Impressum, Datenschutz OR Forum
 * Logged-in:
    – Sync with Subscriber role – Extend: Not Logged-in (to inherit restrictions)–
   Restrictions: account, logout
 * Let me know if this works!
 *  [carolemagouirk](https://wordpress.org/support/users/carolemagouirk/)
 * (@carolemagouirk)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/restriction-doesnt-work/#post-11639169)
 * I have the same setup as the original poster:
 * Logged-Out – block everything except a couple pages
 * Subscriber – extend logged-out and show account page
 * Paid – extend subscriber and show everything
 * I’ve tried for 6+ hours and it continues not to work in new and exceedingly frustrating
   ways with each adjustment.
 * Can you make a simple setup guide for this specific situation?
 * I’ve read everything, tired everything (including your answer above) and nothing
   works.
 * Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Restriction doesn’t work’ is closed to new replies.

 * ![](https://ps.w.org/restrict-user-access/assets/icon-256x256.png?rev=1815922)
 * [Restrict User Access - Ultimate Membership & Content Protection](https://wordpress.org/plugins/restrict-user-access/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/restrict-user-access/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/restrict-user-access/)
 * [Active Topics](https://wordpress.org/support/plugin/restrict-user-access/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/restrict-user-access/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/restrict-user-access/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [carolemagouirk](https://wordpress.org/support/users/carolemagouirk/)
 * Last activity: [6 years, 12 months ago](https://wordpress.org/support/topic/restriction-doesnt-work/#post-11639169)
 * Status: resolved