401
400
do_action( 'ms_site_not_found', $current_site, $domain, $path );
403
402
if ( $subdomain && ! defined( 'NOBLOGREDIRECT' ) ) {
405
404
$destination .= 'wp-signup.php?new=' . str_replace( '.' . $current_site->domain, '', $domain );
406
405
} elseif ( $subdomain ) {
408
407
// can be used to avoid a redirect to the signup form.
409
408
// Using the ms_site_not_found action is preferred to the constant.
410
409
if ( '%siteurl%' !== NOBLOGREDIRECT ) {