Support » Networking WordPress » delete/archive the original, primary site

  • Apologies if this has already been answered, but I didn’t see it when I searched.

    I set up multisite network, mapped domains to tall the sub-blogs, and I don’t use or need the main blog anymore. The domain that was mapped to this now redirects to a sub-blog.

    In wp-config I changed these lines:

    define( 'DOMAIN_CURRENT_SITE', '______.com' ); //mapped domain of site #3
    define( 'SITE_ID_CURRENT_SITE', 3 ); //changed from #1
    define( 'BLOG_ID_CURRENT_SITE', 3 ); //changed from #1

    But even so, when I go into network admin, I still have the option to delete or archive all sites — except #1, the original site.

    I would still like to delete this site. What do I have to do?

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

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    You can’t do that with a mapped domain because you cannot have the mapped domain as the primary site on a network. It just doesn’t work :/

    Unless you plan to delete the main domain, leave it alone. It doesn’t matter to anyone but you what the main domain is 🙂

    If you MUST, then in your case, I would MOVE WordPress to the mapped domain (as a totally separate host install). Then you can swap the currently mapped domain back to it’s own URL (so newdomain.com/foo or foo.newdomain.com) and THEN you can swap the sites.

Viewing 1 replies (of 1 total)
  • The topic ‘delete/archive the original, primary site’ is closed to new replies.