Current site Id defines the primary network id. You can have more than one network if you use a multi-network plugin. Current blog id defines the primary blog within the primary network. To change the main blog to ‘2’ (if you only have one network) you want your defines like this:
define( 'SITE_ID_CURRENT_SITE', 1 );
define( 'BLOG_ID_CURRENT_SITE', 2 );
Related Posts:
- Can i merge 2 new WP_Query($variable) ‘s?
- How to reliably flush rewrite rules on 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
- Using wp_insert_post() with Networking enabled
- Sharing Dynamic Sidebars across Multisite Blogs
- Multisite: How to store global options vs. site options?
- Single-user registration to access all sites in WordPress MultiSite Network
- Running several WordPress sites on same core / plugins?
- Infinite loop problem with the WordPress MU Domain Mapping plug-in
- How to use Multiple-Domains in one Multi-Site Installation?
- .epub file blocked despite ALLOW_UNFILTERED_UPLOADS set to true
- WordPress Multisite Layered Admins
- How to add multiple existing users to a multisite site?
- Hide root site in Multisite install
- Changing URL in multisite
- get_sites() for sites registered before given date
- Favicon plugin for WordPress running in network mode (multisite)? [closed]
- WordPress Multisite with VVV
- How to share posts in WordPress Multisite?
- How do I park secure.primary.com on top of the multisite ID:1 domain: www.primary.com (primary multisite domain)
- Alias domain to Multi-site installation in Apache
- Multi Site Search Pagination is Broken
- Multisite setup creating custom table
- 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)
- Multi language site with same content
- Multisite development environment
- Pretty Link Lite Plugin on WP Multisite
- WPMU Development Environment
- turn single domain off
- WordPress Multilingual Theme using Multisite
- Multisite – disallow list of blognames during subsite creation
- WordPress Multisite with different domains and themes
- use get_sites subsite_id with get_bloginfo”() and/or get_custom_logo
- Multiple wordpress installations that shares WordPress & Theme but with separated database
- 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)
- How to move 1 WP site from a mult-site environment to a different multi-site area
- URL redirect/rewrite rule wordpress multisite
- Nginx config, how can I redirect primary multisite domain, but not its sub-folders, nor other domains?
- Prefix Multisite Directory Structure
- Multisite Sub-domain creation Doubt | what will be the document root folder?
- Multisite Create Site not working
- Least expensive way to get table prefix in multisite installation
- How to have yearly versions of same site with different content (like yearly conferences)?
- How to write RewriteRule for login in multisite
- NextGEN Gallery: Use the same galleries on 2 or more sites on WP network (multisite)? [closed]
- Network Admin URL is shown to anyone before accessing a blog
- Canonical Resource URLs Across a Multisite Network 2012?
- Site’s admin created with wpmu_create_blog accessible only on 2nd attempt
- Getting recent posts from all blogs on mother blog – multisite
- How can I manually activate a new site in a wordpress multisite network?
- Network of multisites in WordPress, create new site with all the contents of the main
- Display Different Content For Different Countries?
- Limit blogs creation
- How To Disable Add new users On Subsites In Multisite?
- MultiSite: new Sites not showing up
- sub-page settings saving in NETWORK DASHBOARD
- Check if current site ID and value exist in WPDB
- How to delete user from MU site when the user is removed from their site?
- How to publish some default pages in Multisite creation?
- unique identifier for the same pages in a multilanguage/site context
- more tables created when create a new site
- Multisite ‘Welcome User Email’ SITE_NAME returns ‘network’ name, not the name of the blog
- Unified login page for a Multisite/BuddyPress site
- Problem with new Multisite Installation
- Installing wordpress on a subfolder of adsense approved domain
- Launch Media Library for specific MU site
- User registration on wordpress multisite
- WP-CLI Error Requesting CURL Extension
- Allowing users to manually add or remove themselves to/from WordPress multisite blogs
- Website creation for multiple clients but from a single account on multiple host name
- Is mature Multisite
- Error establishing a database connection after moving local wordpressmultisite from one directory to another
- 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
- How to split database of WordPress multi-site network into multiple database
- Backend freezing on certain pages of a subsite
- Modifying get_author_posts_url() in Multisite
- Multisite – User creation for second site from first site?
- Whats a good strategy for localising WordPress post and page content?
- Get users from all/specific blog by user_role and current_user role
- Multiple domains for with a single instal
- Pages redirect me to the homepage
- Letting clients use visual builders plugins/themes on WordPress Multisite installation
- WordPressMu network with private sites
- Multisite pagination with get_posts
- HyperDB, Multisite – on new site creation put site’s tables to specific database
- Multisite admin panel not working after the update
- WPML is blocking WP core update
- Multisite: Redirect a deleted site – Best practice?