Redirect After Login to Subdomain?

Discussion in 'aMember Pro v.4' started by anthonyt, Jan 21, 2012.

  1. anthonyt

    anthonyt New Member

    Joined:
    Dec 28, 2011
    Messages:
    9
    Hi,

    I have a website, say domain.com, and I installed amember at the root, i.e. domain.com/amember. Now I have a wordpress subdomain, at domain.com/wordpress, and part of the content is protected. So I tried to view a protected page on domain.com/wordpress/somePage and was redirected to the login page. After I successfully logged in, I was redirected to domain.com/somePage instead of domain.com/wordpress/somePage - of course this link doesn't work, and a 404 error turns up.

    I can see that amember is trying to remember the last page viewed by the member and tried to make it easy for the member by redirecting him back to that page. However, amember only remembered the "somePage" part and assumes wrongly that it should be appended to domain.com (instead of domain.com/wordpress). Is there any way I can alter this behavior so that it remembers the entire URL instead of only the 'somePage' part?

    Thanks in advance for your attention.
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Can you provide exact example?
    I need that page url and login/password of any user to test it.(You can send this info via helpdesk)

Share This Page