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.
You have to change your blog URLs around so it knows sub.mysite is now mysite. You’ll probably have to do that in teh DB directly.
Related Posts:
- Switching MultiSite installation from HTTP to HTTPS
- How do I change the Multisite URL?
- Ban SiteNames Multisite
- wp-config dynamic hostname in WP_HOME and WP_SITEURL
- How to fix blocked cookies error that doesn’t let me log into wp-admin?
- WordPress Multi-Site on Ubuntu 18.04 LAMP Keeps Re-Directing
- How to move 1 WP site from a mult-site environment to a different multi-site area
- Multisite with different domain names on different servers
- WordPress rewrite multisite blog url
- WordPress: how to change URL for individual MultiSites?
- How can I remove the folder from a Multisite URL?
- How do I get the site url from a Block (within the block editor)
- Include www prefix in site URL
- Interchanging WordPress Multisite primary site
- Add www to the Root Site in WP Multisite Network
- Multisite problem with unexisting paths to CSS etc
- Domain not redirected correctly with WordPress Multisite
- There is how to change url domain on some posts?
- Update siteurl and home in multisite subsites to https
- Blog broken after changing Site/Home URL
- Remove blog slug from WPMU?
- Multisite subdirectory blogs missing slash
- Advice on WP site structure using multisite
- Convert a Multisite WordPress install into a Single site
- Why are my roles not visible in a Multi-site/Network?
- How to use same email for multiple users
- Multisite: How to store global options vs. site options?
- Mega WordPress Applications WPMU or otherwise
- Does the WordPress API work with multisite?
- wp_get_attachment_image_src multisite issue
- Transfer Subdomain site to Multisite setup
- WP REST API – Multisite – get posts from all sites
- How properly delete only one site (blog) from the Network in WordPress Multisite (WPMU)
- What is the best way to setup wordpress development environment for freelancers with version control?
- WordPress Multisite Layered Admins
- get_sites() for sites registered before given date
- Favicon plugin for WordPress running in network mode (multisite)? [closed]
- WordPress Multisite with VVV
- How do I park secure.primary.com on top of the multisite ID:1 domain: www.primary.com (primary multisite domain)
- WordPress multisite,one theme,and different languages?
- Removing /blog/ from multisites cause infinite redirection
- Alias domain to Multi-site installation in Apache
- Multiple WordPress Blogs on one host, using 1 WordPress installation, using multiple templates
- Woocommerce Multisite Get Orders from Another Site
- Subdomains With WordPress
- Bulk activate a theme on multisite
- Assign role to user on first login, if they are first (after admin)
- Avoid having infinite loops
- Multisite development environment
- Pretty Link Lite Plugin on WP Multisite
- WPMU Development Environment
- turn single domain off
- WordPress Multilingual Theme using Multisite
- use get_sites subsite_id with get_bloginfo”() and/or get_custom_logo
- How can I update dev links for a live site?
- Multisite – One user allowed access to all sites?
- How to recover deleted site in WordPress Multisite?
- Entry page for a wordpress multisite
- WordPress Multisite dashboards redirect to homepage
- WordPress with Tor Onion Service (dual .com & .onion domains for same website)
- Use external database with local multisite
- URL redirect/rewrite rule wordpress multisite
- Issue with wp_get_attachment_url() function for multisite
- Networksite/multisite is disabled ?, Why?
- How to have yearly versions of same site with different content (like yearly conferences)?
- Network Admin URL is shown to anyone before accessing a blog
- Canonical Resource URLs Across a Multisite Network 2012?
- how to migrate wpmu from one host to the other?
- Getting recent posts from all blogs on mother blog – multisite
- Child Theme Based on Toolbox Not Found
- Limit blogs creation
- How To Disable Add new users On Subsites In Multisite?
- MultiSite: new Sites not showing up
- What is the best method of installing WP on multiple add-on domains?
- WP MultiSite: Can’t select database error after changing to new domain
- How to delete user from MU site when the user is removed from their site?
- Different site different div content – Multisite
- more tables created when create a new site
- Installing wordpress on a subfolder of adsense approved domain
- can’t create user without email for an author after converting single site to multisite
- Launch Media Library for specific MU site
- WP-CLI Error Requesting CURL Extension
- Allowing users to manually add or remove themselves to/from WordPress multisite blogs
- multiple domains point to same site on WP-MU
- Can I replace the “Upgrade Network” with SQL query?
- How to convert multisite subdomain from http to https
- One membership area for two websites
- Multisite domain mapping with SSL redirects to main domain
- Define a new sub-folder naming – Multisite
- Multisite install in a subfolder won’t work with www
- Modifying get_author_posts_url() in Multisite
- Domain mapping breaks some plugin scripts and css
- How to force WP to create a users table in multisite configuration?
- Whats a good strategy for localising WordPress post and page content?
- Updating themes customized by users
- Pages redirect me to the homepage
- WordPress and multisites, the rigth choice?
- Multisite pagination with get_posts
- Best Way to Setup a Network of WP Sites?
- HyperDB, Multisite – on new site creation put site’s tables to specific database