Support » Networking WordPress » Added new blog and it became default somehow

  • We added about 15 new blogs. During the process, somehow one of the new blogs is now the default blog. We have added a blog here and there one at a time, never this many at once. I have no idea how this happened. I can’t find any settings in the Network Admin that would allow this to happen. I haven’t touched the wp-config.php file and it still says the default blog should be 1 (which is what it always has been). Somehow the blog with ID 27 is now the default.

    define(‘WP_ALLOW_MULTISITE’, true);
    define( ‘MULTISITE’, true );
    define( ‘SUBDOMAIN_INSTALL’, false );
    $base = ‘/’;
    define( ‘DOMAIN_CURRENT_SITE’, ‘’ );
    define( ‘PATH_CURRENT_SITE’, ‘/’ );
    define( ‘SITE_ID_CURRENT_SITE’, 1 );
    define( ‘BLOG_ID_CURRENT_SITE’, 1 );

Viewing 2 replies - 1 through 2 (of 2 total)
  • Andrea Rennick


    Customer Care at Copyblogger Media and Studiopress

    What do you mean by “default”? Because I see what looks like the main site… on the main site. That’s what the config settings are for. Show blog 1 on the main domain.

    If you’re adding new blogs and each new blog has different setup than you;re expecting.. that’s a different issue. Check and see if you’re running plugins for new defaults or blog templates or replication.

    I have to dig into the database and manually remove all the blogs in order to get the original default blog back up. The client needed to have their site up so I couldn’t wait around for possible solutions (since my searching yielded absolutely nothing on this).

    It seems to be hit or miss, but of course it only happens when the client is adding sites – I can’t reproduce the problem myself. As the client is adding sites for each individual team (it’s a youth soccer club site) everything goes fine for me. For the client, at some point after adding a site, that newly added site becomes the default blog and shows up on the root domain. No config changes, nothing different from adding previous sites. Just suddenly a random blog becomes the default. If I go into the database and remove that blog which has become the default, then the previously added blog becomes the default. And then so on and so forth until they are all removed except the original blog which is the true default.

    Makes absolutely no sense what causes this and why I can’t fix it except to remove all the blogs.

    I do have a plugin that helps establish blog defaults. But it seems odd to me that it works just fine for, say, 10 new blog setups but it would be the 11th that finally causes this issue. We’ll remove all the new blogs and start over. The next time it’s the 3rd blog that takes over as default.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Added new blog and it became default somehow’ is closed to new replies.