Applies only for WordPress Multisite installation.
Correct 404 redirects when NOBLOGREDIRECT is defined.
<?php maybe_redirect_404() ?>
This function does not accept any parameters.
This function does not return any value. If all conditions are met, it does not return at all, rather the redirect is executed.
If registration is disabled, please set NOBLOGREDIRECT in wp-config.php to a URL you will redirect visitors to if they visit a non-existent site:
define( 'NOBLOGREDIRECT', '%siteurl%' );
define( 'NOBLOGREDIRECT', 'http://www.my-ms.com' );
maybe_redirect_404() is located in