• Resolved Patty J. Ayers

    (@pattyayers)


    Hello – thank you for looking at my question.

    On my test site, I have 1 membership level. All categories except for one (“Free”) are checked, which I understand to mean that a person has to be a member of that level to access posts in the checked categories.

    When I view the site with a browser where I’m NOT logged in as a WordPress user, here is what happens. I try to view a post with one of the “protected” categories, and there’s a message saying “This content is for ____ members only” and two links. The “Login” link take me to a WordPress login screen, which makes sense. But the “Register” link ALSO takes me to the same WordPress login screen – obviously not right. Do you know why this is happening, and what I should do to get it right?

    Thanks very much in advance,

    Patty

    http://wordpress.org/extend/plugins/paid-memberships-pro/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Patty J. Ayers

    (@pattyayers)

    I wanted to add this information. The “Register” link I mentioned in my post above points to this URL – (I’ve replaced the domain name, but otherwise it is exact):

    http://mydomain.com/wp-login.php?action=register”

    Note the double quotation mark which is at the end of the link. That’s not right, is it?

    Patty

    Thread Starter Patty J. Ayers

    (@pattyayers)

    When I try that URL without that double-quote at the end, it works as expected.

    In the source code, that link looks like this:

    <a href=http://wordpressforeverybody.com/wp-login.php?action=register">Register here</a>

    The opening double-quotes are missing. This is Version 1.7.0.1 by the way.

    Patty

    Hi Patty,

    You have solved it yourself. Your url is just wrong. Use this instead. I did look at it on your site and see your problem.

    <a href="http://wordpressforeverybody.com/wp-login.php?action=register">Register here</a>

    Note the opening double quotes on the URL

    Thread Starter Patty J. Ayers

    (@pattyayers)

    But I didn’t generate that URL! Paid Memberships Pro generated it. If I’m missing something, please let me know.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Register link on protected post takes me to WP login screen’ is closed to new replies.