Page Accessibility for Logged-In/Out users not working properly
-
Hi,
As most websites, I want to show/hide contents/pages of the website according to the current login status (when users are logged-in or logged-out).
Scenario 1 (LOGGED IN USER):
Show the Login, Register, Forgot-Password pages only when users are logged-out. (WORKS_AS_EXPECTED). The only issue here is, when the user is logged-in, and tries to access these pages via editing the URL, it will redirect them to edit-account page (how to fix it so it will direct them to custom URL)
Scenario 2 (LOGGED OUT USER):
Here I want to show only Home, Login, Register, Forgot-Password page. The issue here is that when a user is logged-in and tries to access pages (manually changing the URL) such as:
- Profile
- Edit Account
- Users
- Members (page with two buttons)
- Members/Barbers (page which shows only list of users with user-role:barber)
- Members/Barber-Shops (page which shows only list of users with user-role:barber-shop)
- Members/Users-ALL (page should be accessible only by the administrator)
- …
This does not work at all. Even though I have specified it in my Appearance/Menus. Se screenshot below:
https://paste.pics/90e778ee91a4cce438b108b5b98ea2f3So my conclusion is that when changing the “Who can see this link?” in my menu the restriction is set only for the appearance of the page IN THE MENU. I’m I correct?
So how to manage page restrictions? Does UsersWP provide that functionality or do I have to user another plugin / code?
- The topic ‘Page Accessibility for Logged-In/Out users not working properly’ is closed to new replies.