Changing Registration Re-direct link from the login page?


I want visitors who click on the login page who click on the "Registration" Link to be directed to this page - *URL(S) REMOVED*

instead of this one (which is currently the case) - *URL(S) REMOVED*

see screenshot -

have tried removing registration page on membership plugin but that made it worse - i.e. no registration at all.

i think all that needs to happen is either disable vistor's from accessing the select a membership page. OR even better just change the re-direction link so that they dont end up there in the first place and are taken to the main registration page ?

Support access is open



  • Adam Czajczyk

    Hey Tom,

    I hope you're having a great day and thank you for your question!

    I think changing the registration URL will be the simplest solution here. You may try this plugin:

    It's a bit outdated though, so I'm not sure if it will work and it's always a security risk. That said, here's a piece of code that you may put in your theme's functions.php file (thanks to this page)

    function wpse127636_register_url($link){
            Change wp registration url
        return str_replace(site_url('wp-login.php?action=register', 'login'),site_url('[CHANGE-THIS]', 'login'),$link);
    function wpse127636_fix_register_urls($url, $path, $orig_scheme){
            Site URL hack to overwrite register url
        if ($orig_scheme !== 'login')
            return $url;
        if ($path == 'wp-login.php?action=register')
            return site_url('register', 'login');
        return $url;
    add_filter('site_url', 'wpse127636_fix_register_urls', 10, 3);

    In place of "[CHANGE-THIS]" string use a slug of your registration page.

    Let me know please if it worked for you.


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.