WordPress.org

Ready to get started?Download WordPress

Forums

Subscribers cannot get to Dashboard and Profile page (7 posts)

  1. David Borrink
    Member
    Posted 3 years ago #

    I have a site where if a subscriber logs in, they cannot get in to the dashboard. If I hover over the Site Admin link, it says it will click to (site-name)/wp-admin/, but it remains on the home page.

    So, I then tried a fix where I installed a plug-in called wp-profile-link-renamed-and-relinked, and it sets up that link so that a subscriber will see "your profile" instead of "site admin". I hover over that link and it says it will go to (site-name)/wp-admin/profile.php but when clicked it still remains on the home page.

    Any ideas what I could do to fix this?

  2. David Borrink
    Member
    Posted 3 years ago #

    If it's any help, I'm also using WP-Sentry on the site to restrict users to certain pages.

  3. David Gwyer
    Member
    Posted 3 years ago #

    Does disabling that Plugin restore subscribers access? If so then you may be better contacting the Plugin author.

  4. David Borrink
    Member
    Posted 3 years ago #

    Deactivating WP-Sentry didn't change it. I also deactivated Theme My Login, and Redirect My Login, and wp-profile-link-renamed-and-relinked.

    Logged in as a subscriber and still cannot get to the dashboard. It just goes to the home page.

  5. David Borrink
    Member
    Posted 3 years ago #

    So I'm confused as to why only subscribers are not able to go to the dashboard, especially when it's clear that the link should take a user to the dashboard.

    I ran a comparison of the home page source code for both scenarios, when logged in as admin and when logged in as subscriber.

    The only difference is the link of the "site admin"(admin) or "your profile"(subscriber).

    Subscriber:
    <li><a href="http://site-name/wp-admin/profile.php">Your Profile</a>

    Admin:
    <li><a href="http://site-name.com/wp-admin/">Site Admin</a></li>

    I've tested this on Firefox and Safari. Same results. The status bar at the bottom tells me that when in subscriber log-in, I should be going to wp-admin/profile.php, but it doesn't go there.

    What would make a browser not go to the link that's being listed as the destination?

  6. David Borrink
    Member
    Posted 3 years ago #

    And, I even manually entered the URL with /wp-admin/profile.php and it redirects back to the home page.

  7. David Borrink
    Member
    Posted 3 years ago #

    I'm reading in the codex under "roles and capabilities" that:

    Subscriber - Somebody who can only manage their profile

    So I cannot figure out why no one who is a subscriber can access the dashboard or the profile page.

Topic Closed

This topic has been closed to new replies.

About this Topic