3.0 Alpha – Registration is an endless loop
-
If you clicked on ‘register’ or manually went to http://mysite.com/wp/wp-login.php?action=register you ended up in an endless loop between wp-signup and the wp-login page.
My setup
WP 2.9.1 single site, upgraded to WP 3.0-alpha and flipped to multi-site.WP is installed in http://jorjafox.net/wp/ however it’s set to ‘run’ from http://jorjafox.net/ Now, I know this, by the way, may be the root of all my woes, pun intended. My ‘main’ blog is blog #3, and the permalinks are set to http://jorjafox.net/wp/YYYY/MM/DD/TITLE, which works fine (if I had it any other way, it wouldn’t show that I was logged in, even though I was).
I ‘fixed’ this but I’m not really sure what happened here. In the wp-signup.php file, I saw this:
if ( !is_multisite() ) { wp_redirect( get_option( 'siteurl' ) . "/wp-login.php?action=register" ); die(); } if ( !is_main_site() ) { wp_redirect( "http://" . $current_site->domain . $current_site->path . "wp-signup.php" ); die(); }
So I changed
!is_main_site()
tois_main_site()
and now it works. People can sign up and everything works.My guess is that somehow it’s not reading my blog #3 as the ‘main’ site, but I can’t fathom how THAT got lost. On Network Options, my Dashboard Blog is blank (I set it to 3 – my main blog – and it ‘vanished’ back to blank).
- The topic ‘3.0 Alpha – Registration is an endless loop’ is closed to new replies.