How to change the Main Site in a multi-site?

I have a multi-site Wordpress install with directories. I'd like to change the main site to another site that I have created.

Is there a tutorial I could be directed to or a standard way to do this?

Thank you
Matt

  • Domas
    • Site Builder, Child of Zeus

    Hello Matt,

    I hope you are well today and thanks for asking!

    1) You need to change your blog IDs in the wp-config.php file:

    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    That means Site ID 1 is the main site. If you change that, another site will be the main site.

    Please let me know if you have any questions.

    Kind Regards,
    Domas

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.