Created
September 10, 2013 08:58
-
-
Save sareiodata/6506781 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'init', 'wppb_redirect_wpsignup' ); | |
function wppb_redirect_wpsignup(){ | |
$actual_link = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; | |
if ( strpos( $actual_link, '/wp-signup.php' ) !== false ) { | |
wp_redirect( "http://testserver29.com/multisites/blog1/register/" ); | |
exit(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment