How to redirect guests to login page?

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

  1. matlisthree

    matlisthree New Member

    Joined:
    Nov 30, 2011
    Messages:
    11
    I have a wordpress website and when i navigate to the members area it brings up the page. How do i redirect guests to login page?

    Thanks.
  2. gswaim

    gswaim CGI-Central Partner

    Joined:
    Jul 2, 2003
    Messages:
    641
    Not exactly sure what you mean but, I'll take a shot at it.

    If you are logged in and go to /amember/member you will see the member area page. However, a guest will see a login page (which also includes a link to the signup page). In reality, a guest should never be presented with a link to the member area.

    The best way to do this is turn off WordPress registration and drop the aMember Widget on the home page. I kinda like it on the right side. Here is the widget on my main site - digitalliteracyproject.com From this widget they can login or register directly with aMember. After login, this widget gives you links to the member area.

    You can also have aMember hide/show WordPress menu choices based on memberships. This way you can tightly control the menu choices presented to guests and users.

Share This Page