• Shailesh

    (@shaileshsavaliya)


    Hi,
    I have installed multisite network with woocommerce.
    Right now I have created 2 blogs and 1 main domain like this.
    https://www.xyz.com -> Main Domain
    one.xyz.com -> Blog 1(Shopping site with woocommerce)
    two.xyz.com -> Blog 2

    I want to move one.xyz.com to https://www.xyz.com. It would be very good if is it possible to remove multisite network and set one.xyz.com as main site but if not possible than just want to set main primary site.

    Right now I have redirected main domain to my shopping site.
    Thank You.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    he basic steps are these:

    1) Edit from Network Admin -> Edits, and change one.xyz.com to xyz.com – check the box to change home AND SITE urls.

    2) Edit your wp-config.php to have define(‘BLOG_ID_CURRENT_SITE’, 1); changed to one.xyz.com site ID.

    3) Edit from Network Admin -> Edit Sites, and change the original xyz.com to zero.xyz.com

    If you need more details, it’s in https://store.halfelf.org/ebooks/wordpress-multisite-110/ (it’s pay what you want) and that may help you more.

    This DOES NOT change any existing posts on your site, so… you’ll have to search/replace those on your own.

    Thread Starter Shailesh

    (@shaileshsavaliya)

    Thank You so much. I’ll definitely try this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove multisite and set sub domain as main site’ is closed to new replies.