IF not Logged in Redirect

Discussion in 'Customization & add-ons' started by evevera, Sep 29, 2010.

  1. evevera

    evevera Member

    Joined:
    Jul 28, 2010
    Messages:
    41
    I'm wondering, how do I make it so, if a member is not logged in, and they try to access one of the Member's Only pages, they are redirected to the Login page, and after they log in, they are redirect back to the Members only page they first wanted to view?

    The problem at the moment is, if they are not logged in, they end up seeing a Forbidden page instead.

    And if their username/password is remembered on their computer, Amember logs them into wordpress automatically but doesn't redirect them back to original page they wanted to access.

    By the way, I'm using Wordpress and amProtect with Amember.
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Is this a protected wordpress page- or content directory?


    David
  3. evevera

    evevera Member

    Joined:
    Jul 28, 2010
    Messages:
    41
    Protected wordpress page.
  4. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Isnt this whats supposed to happen if they try to access a protected page?

    Are you using kens login widget? Think you need to contact him.

    David

Share This Page