• Specifically, I have four pages for a dashboard in our site (dashboardTest, dashboardAdmin, dashboardBilling and dashboardGIS). I’ve tried different plugins but I’m not really getting the desired result. Maybe I’m misusing the plugins.

    What I’d like is to have a 4 roles in our WP site for superAdmin, admin, billing and GIS. I have a link in our nav menu going to the login page, but upon login I’d like the user to go to the correct dashboard. So, Main site -> user clicks ‘portal’ link -> login page -> user goes to 1 of 4 dashboard pages depending on login/role.

    Is there a known-good way of going about this, even without plugins?

Viewing 3 replies - 1 through 3 (of 3 total)
  • This would have to be coded in PHP without plugins.

    WordPress has an extensive user roles api:
    https://codex.www.ads-software.com/Roles_and_Capabilities

    This would let you redirect or block access to certain pages based on user roles. Your PHP would run checks against each user role and take users to the right place after logging in.

    Otherwise, a lot of plugins already do this.

    • This reply was modified 7 years, 9 months ago by Jack.
    Thread Starter thenorman138

    (@thenorman138)

    I’ve seen several plugins, do you know of a really good one where I can set the four users and redirect them to each specific page upon the login prompt?

    This is a fairly standard feature in most membership plugins. I use S2member a lot, but that may be overkill for you. You may want to browse around for lighter weight ones that don’t require a lot of configuration.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Different roles and access to specific pages’ is closed to new replies.