diff --git a/wp-signup.php b/wp-signup.php index 395eeccf1f..38ac06aa16 100644 --- a/wp-signup.php +++ b/wp-signup.php @@ -22,7 +22,12 @@ function signuppageheaders() { echo "\n"; } -if ( $current_blog->domain . $current_blog->path != $current_site->domain . $current_site->path ) { +if ( !is_multisite() ) { + wp_redirect( get_option( 'siteurl' ) . "/wp-login.php?action=register" ); + die(); +} + +if ( !is_main_site() ) { wp_redirect( "http://" . $current_site->domain . $current_site->path . "wp-signup.php" ); die(); }