July 26, 2017
If you’ve built a custom Registration Page with a form that is gathering all of your customer’s information, the default WordPress Register link, has become null and void.
You can redirect the default url http://yourwebsite.com/wp-login?action=register to your custom page using a simple function:
// Redirect Registration Page function my_registration_page_redirect() { global $pagenow; if ( ( strtolower($pagenow) == 'wp-login.php') && ( strtolower( $_GET['action']) == 'register' ) ) { wp_redirect( home_url('/registration')); // your registration page slug } } add_filter( 'init', 'my_registration_page_redirect' );
Sourced here.