Redirect after login not working

Discussion in 'aMember Pro v.4' started by loachman, Dec 1, 2011.

  1. loachman

    loachman Guest

    Joined:
    Aug 14, 2007
    Messages:
    23
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    What exact amember version you have? I remember there was such bug but it should be fixed in latest versions.
  3. loachman

    loachman Guest

    Joined:
    Aug 14, 2007
    Messages:
    23
    I have the latest Amember I just renewed my subscription today.
  4. loachman

    loachman Guest

    Joined:
    Aug 14, 2007
    Messages:
    23
    It magically started working. I did not change anything, but it is working now.

    Thanks
  5. loachman

    loachman Guest

    Joined:
    Aug 14, 2007
    Messages:
    23
    Well not exactly let me try to explain, best I can.

    If I go directly to the members page:
    http://localhost/musicians-/musicians-u/members/member/index
    And log in from there is does not redirect.

    However if I come to that page from protecting something with Am_Lite::getInstance()->checkAccess(Am_Lite::ONLY_LOGIN );
    It has login redirect appended to the end:
    http://localhost/musicians-/musicia...amember_redirect_url=/musicians-/musicians-u/
    It *does* redirect after login.

    Only when I go directly to
    http://localhost/musicians-/musicians-u/members/member/index
    Does it not redirect after login

    Hope that is a good explanation.
  6. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    If you login to amember/member, it never redirects
    If you login to amember/login, it redirects according to settings.
  7. loachman

    loachman Guest

    Joined:
    Aug 14, 2007
    Messages:
    23
    Makes sense thanks.
  8. gocliff

    gocliff Maverick Marketing Methods

    Joined:
    Nov 22, 2011
    Messages:
    38
    Where do I find the "Membership Info Page" so it can be edited and filled with text / content?
    Using v.4.1.10
    Have setup/configuration :: Login Page :: Redirect After Login = Membership Info Page.
    Currently after member login, the user is directed back to the Wordpress home page and only the aMember widgets change to display "member subscriptions" and "Member Privileges". The "Membershp Info Page" does not display.
  9. gocliff

    gocliff Maverick Marketing Methods

    Joined:
    Nov 22, 2011
    Messages:
    38
  10. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    This option will not work if you try to login through amember login widget in wordpress.
    You always will be redirected to the page you were before login and I think this is correct behaivor.

Share This Page