Can I make a subsite into the main site?

I got a new subsite. I would like to make this subsite as the main site. Can you please let me know how to do this? Is this possible? I have heard that it is.


  • Adam Czajczyk

    Hello Janet,

    I hope you're well today and thank you for your question!

    This can be done :slight_smile: FIrst you need to find out what is an ID of the site that you wish to set as you main site. To do this:

    - go to the "Network Admin -> Sites"
    - find that site on a list and hover mouse pointer over it, then click "Edit"
    - an URL in an address bar of your browser should now end with "?id=X" where "X" is a number; this is the ID you are looking for

    Next step is to edit the "wp-config.php" file of your site. Find the line that says:

    define('BLOG_ID_CURRENT_SITE', 1);

    and replace "1" with the ID that you found.

    This will set the main site of your Multisite. There's a "catch" however: this will not change any URL's and will just switch which site of the network is loaded first and considered "main".

    If you wish to make a "switch", there'd be some more. For example:

    - your main site is ""
    - your new site is ""

    and you wish

    - your current main site to become ""
    - and your new main site to become ""

    you would want to follow this article:

    Best regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.