Ready to get started?Download WordPress


[resolved] Change default site from id 1 to id 5 (2 posts)

  1. progresst
    Posted 1 year ago #

    I have a multsite installation with canonical setup site1.domain.com site2.domain.com etc. How do I change the default root site from site1 to site 2?

    I tried to change these 2 values in wp-config to 5 instead of 1 and there was no effect:

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

    Is there a tutorial out to do this?

  2. progresst
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Topic