Support » Plugin: Membership & Content Restriction - Paid Member Subscriptions » Account page redirects to login when logged in

  • Resolved jpopuk

    (@jpopuk)


    Hi, I have recently installed the plugin, and everything seemed to be working just fine.

    The issue I am having is, after I login, the Account page does not load, and even when I click on the “My Account” link it just redirects to the login page (You are currently logged in as…)…

    I have fiddled around with the settings, but cannot seem to figure out why this is happening.

    I also have the “Profile Builder” plugin installed to add a couple additional fields.

    If anyone knows how to resolve this issue, or why this is happening that would be appreciated.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Gabriel Berzescu

    (@gabrielberzescu)

    Hi @jpopuk

    Do you have some kind of content restriction settings on the “My Account” page?

    If so, then please send a screenshot of that content restriction settings.

    Do you show up as logged in on some page and as logged out on another page?

    With best of regards,
    Gabriel

    Thread Starter jpopuk

    (@jpopuk)

    Hi Gabriel,

    Thank you for replying.

    I have updated the content restriction settings on the “My Account” page, and its working OK, but when I login it loads the page that says “You are currently logged in as “username”. Log out »” – when I click on the My Account link, it still displays “You must be logged in to view this content.” – however, when I refresh the page it then displays the correct My Account page & content.

    The content restriction settings are:
    Type of Restriction: Settings Default
    Display For: Logged in Users

    Is there a way, so when a user logs in, it automatically redirects the user to the My Account page?

    Thanks in advance 🙂

    Plugin Author Gabriel Berzescu

    (@gabrielberzescu)

    Hello @jpopuk

    If refreshing the page solves the issue, this must be a caching problem.

    Please briefly disable all caching plugins to see if this fixes the issue.

    Secondly, here is how you can redirect users after login:

    https://www.cozmoslabs.com/docs/paid-member-subscriptions/shortcodes/#Redirect_User_after_Login

    With best of regards,
    Gabriel

    Thread Starter jpopuk

    (@jpopuk)

    Brilliant, thank you for getting to me!

    I have sorted the issue now, and thanks for the link for redirecting after login.

    Appreciate your help!

    Plugin Author Gabriel Berzescu

    (@gabrielberzescu)

    Glad to have helped @jpopuk 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Account page redirects to login when logged in’ is closed to new replies.