WordPress.org

Ready to get started?Download WordPress

Forums

Paid Memberships Pro
[resolved] Register link on protected post takes me to WP login screen (5 posts)

  1. pattyayers
    Member
    Posted 1 year ago #

    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/

  2. pattyayers
    Member
    Posted 1 year ago #

    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

  3. pattyayers
    Member
    Posted 1 year ago #

    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

  4. PMPro-Lisa
    Member
    Plugin Author

    Posted 1 year ago #

    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

  5. pattyayers
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic