If you need to enable registrations on the site for any reason you may end up with a lot of spam users coming from the default WordPress registration URL /wp-login.php?action=register

To counter this you can use a snippet to redirect to your actual registration page:


// Redirect Registration Page
function my_registration_page_redirect()
global $pagenow;
if ( ( strtolower($pagenow) == 'wp-login.php') && ( strtolower( $_GET['action']) == 'register' ) ) {
wp_redirect( home_url('/dog-swimming/register-dog-swimming/'));
add_filter( 'init', 'my_registration_page_redirect' );