[wp-hackers] Disabling wp-signup redirections in WP 3.0.1 inmultisite mode

Philip M. Hofer (Frumph) philip at frumph.net
Sat Sep 18 17:01:24 UTC 2010


http://frumph.net/wordpress/wordpress-3-0-multisite-subdomain-installation-noblogredirect-behavior-fix/

This will do it for you.  If i'm reading what you want to do correctly.

----- Original Message ----- 
From: "David Morris" <dvmorris at gmail.com>
To: <wp-hackers at lists.automattic.com>
Sent: Saturday, September 18, 2010 8:22 AM
Subject: [wp-hackers] Disabling wp-signup redirections in WP 3.0.1 
inmultisite mode


>I would like to disable the redirect in wp-signup.php that always
> takes you back to the root blog's signup page (when running in
> multisite mode).
>
> The code that does this redirect is on line 26 of wp-signup.php:
>
> if ( !is_main_site() ) {
>    wp_redirect( network_home_url( 'wp-signup.php' ) );
>    die();
> }
>
> Is this hookable in a generic way? I see the wp_redirect filter in
> pluggable.php:877:
>
> $location = apply_filters('wp_redirect', $location, $status);
>
> But I'm just wondering if there is a generic way to only affect the
> wp-signup redirections and be sure that it won't affect any other
> functionality.
>
> Thanks for your help,
>
>
>
> -- 
> Dave Morris
> http://dave.showviz.net/
> http://3dcamphouston.com/
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
> 




More information about the wp-hackers mailing list