diff --git a/wp-activate.php b/wp-activate.php index 7fee70a843..e892a8c015 100644 --- a/wp-activate.php +++ b/wp-activate.php @@ -7,7 +7,7 @@ require( dirname(__FILE__) . '/wp-load.php' ); require( './wp-blog-header.php' ); if ( !is_multisite() ) { - wp_redirect( get_option( 'siteurl' ) . "/wp-login.php?action=register" ); + wp_redirect( site_url( '/wp-login.php?action=register' ) ); die(); }