Support » Plugin: WP-Members Membership Plugin » Redirection tos page

  • Resolved kevinc81

    (@kevinc81)


    Hello,

    On the registration page of my site, I have a checkbox to accept or not my terms of service (tos). Because the new tab that wp-members opens when I click on the link did not please me, I made a 301 redirect to put my own page and it worked. But since a recent update (the last one or the one before), the 301 redirect has been broken and I can’t make a redirect with the new link generated by wp-members.
    The wp-members link to a new tab: https://cocare.fr/registration/?tos=display
    The link I would like to open to a new tab: https://cocare.fr/terms-of-service/
    Is there a custom php code or another method to open the new tab with my link and not with the wp-members link?

    Thank you in advance for your answer.

    Best regards,

    Kevin CAROL

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    What you are using is the default. The default had to be changed because it directly calls a WP file and it really cannot continue to do that. So the process was changed.

    There always has been the ability to set up a custom page without doing a redirect. For that, you use the [wpmem_tos] shortcode in the terms dialog instead of content (see: https://rocketgeek.com/plugins/wp-members/docs/shortcodes/form/#tos). You don’t need a redirect for that – the plugin handles it automatically.

    Otherwise, you need to update your redirect because the direct link has changed. But like I said, you should be doing it that way anyway. The above method accomplishes the same thing without the redirect.

    Thank you for your answer.

    Understood! I made the modification by adding the shortcode in the dialog box and it works perfectly.
    Problem solved!

    Best regards,

    Kevin CAROL

    Plugin Author Chad Butler

    (@cbutlerjr)

    Awesome!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.