Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

Redirect after registration

Simple Membership Plugin › Forums › Simple Membership Plugin › Redirect after registration

Tagged: redirect

  • This topic has 25 replies, 8 voices, and was last updated 8 years, 5 months ago by Bruk.
Viewing 15 posts - 1 through 15 (of 26 total)
1 2 →
  • Author
    Posts
  • April 15, 2015 at 7:22 pm #1455
    cmele
    Participant

    Hello, I’ve created a custom registration form. It works as expected. However, i want potential members to be redirected to a confirmation page not the the default registration page. see: http://2015.blossomveils.com/?page_id=3293

    I have installed the redirect addon however, i need members to be pending until the admin approves them. Then they can go to the page specified in the addon. After completing the registration form i just want a thank you page of sorts.

    Please advise…

    April 16, 2015 at 1:07 am #1456
    mbrsolution
    Moderator

    Hi cmele, what have you setup under the following Settings -> General Settings ->
    Default Account Status

    April 16, 2015 at 2:47 pm #1461
    cmele
    Participant

    It is set as pending. So that is correct. But i want to change the redirect message after a user submits the registration form. Currently after a user submits the registration form, the page refreshes to the default registration form. It doesn’t give a success message or anything. That is what i need to change. Please feel free to make a submission on the form and you can see what i mean. http://2015.blossomveils.com/?page_id=3293

    April 17, 2015 at 12:33 am #1470
    mbrsolution
    Moderator

    Hi cmele, I will carry out some test on my website and will report back.

    Regards

    April 17, 2015 at 2:24 am #1471
    mbrsolution
    Moderator

    Hi cmele, I did some testing and this is what happens on my site. I create a free membership level “Active”. I registered a user and after the registration it took me to another page with the following message Registration Successful. Please Login.

    I then changed the settings for the Free member to “Pending status”. I registered a new user and once I submitted the registration it took me to same page as above with the following message Registration Successful. Please Login.

    Another words my registrations do not take me back the the registration page as I pointed out above.

    Can you double check your settings to make sure all pages are enabled and functioning. Also if you have a cache plugin can you check to make sure it is caching the members pages correctly.

    Regards

    September 20, 2015 at 3:33 pm #3158
    bahyhelmihp
    Participant

    I have the same problems.
    When the registration is done, it redirects to the default registration page, how to handle this?

    September 21, 2015 at 12:32 am #3162
    mbrsolution
    Moderator

    @bahyhelmihp did you follow my instructions above?

    December 2, 2015 at 5:13 pm #4317
    jspardo
    Participant

    I have done the steps you presented but I am having the same issue as well. Here is the url for sign up: http://www.yourdreamplatform.com/pb101reg-stefradud3uhadrenustafuxaspadrec/

    I don’t have any caching plugins running. Though I am using DreamPress from Dreamhost.com and there might be some back end caching going on that I’m unaware of.

    Any help would be greatly appreciated.

    September 23, 2016 at 7:47 pm #8411
    Eetheart
    Participant

    Same issue. How can we REDIRECT newly-registered users?

    September 23, 2016 at 10:22 pm #8415
    mbrsolution
    Moderator

    @Eetheart are you using the Form Builder add-on? If you are not using the Form Builder add-on then try the following function.

    You can add the following function to your theme functions.php file.

    add_action('swpm_front_end_registration_complete', 'sam_after_registration_redirection');
    function sam_after_registration_redirection()
    {
    $url = 'http://www.yourwebsite.com/thank-you/';//TODO - Specify the URL that you want to redirect to
    wp_redirect($url);
    }
    May 21, 2017 at 9:03 pm #10987
    serveothers
    Participant

    I want to execute a shortcode instead of a link. How can I do this? When I enter in the url I want to redirects again to a different spot. If you got to my site and hit the GET STARTED button it takes to to paypal checkout at the link https://www.paypal.com/cgi-bin/webscr. However when I enter in that link after new users register it takes them to their paypal home….? Any solutions?

    May 21, 2017 at 9:04 pm #10988
    serveothers
    Participant

    boxedairsoft.com

    May 22, 2017 at 12:21 am #10992
    mbrsolution
    Moderator

    Hi @serveothers, I just carried out a test. I went to your site. I hit the GET STARTED button and it took me to the registration page. So I can say that it is working well for me on my laptop. Is that what it suppose to do? If it is did you clear your browser cache?

    May 22, 2017 at 2:11 pm #11001
    serveothers
    Participant

    Thanks for the fast reply @mbrsolution. No, so I wanted it to take you to the paypal checkout page AFTER a new user completes their registration. What I have below just redirects them to paypal homepage but when you click the button on my site it takes you to the correct place. So I want to execute a shortcode button press after registration to take them to the correct page.

    /**redirect new users to subscribe now page**/

    add_action(‘swpm_front_end_registration_complete’, ‘sam_after_registration_redirection’);
    function sam_after_registration_redirection()
    {
    $url = ‘https://www.paypal.com/cgi-bin/webscr’;//TODO – Specify the URL that you want to redirect to
    wp_redirect($url);
    }

    function executeShortCode() {
    <?php echo do_shortcode(‘[yourshortcode]’); ?>
    }

    May 22, 2017 at 10:42 pm #11002
    mbrsolution
    Moderator

    Hi, when you say the correct page are you referring to the page they landed on or a different page?

    I am not really understanding your comment below.

    No, so I wanted it to take you to the paypal checkout page AFTER a new user completes their registration. What I have below just redirects them to paypal homepage but when you click the button on my site it takes you to the correct place.

  • Author
    Posts
Viewing 15 posts - 1 through 15 (of 26 total)
1 2 →
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy