Multisite Network menu links not updating

Pat J’s answer is correct but left out one important step. In wp-config.php the DOMAIN_CURRENT_SITE constant must be updated or the behavior that brandozz explains will occur. When updating domains for a WordPress Multisite: Update the DOMAIN_CURRENT_SITE constant in wp-config.php define(‘DOMAIN_CURRENT_SITE’, ‘my-domain-name.com’); In DB table named “wp_sitemeta” update “siteurl” meta key In DB tables named … Read more

Subdomains With WordPress

You want a WordPress network aka WP multi site. There is complete documentation on WP Codex. https://codex.wordpress.org/Create_A_Network In Step 3: Installing a Network, select the sub domain option when prompted. If you are converting an existing site, you will get locked into sub folders instead of sub domains. Go with a clean install to avoid … Read more

Website DR using Multisite

No, if production goes down then there’s no way to serve the site, since it’s a multisite, and a multisite is still a single install of WordPress. It’s possible that code in the theme may bring down a site inside a multisite without bringing down the entire thing, but any DR site will be running … Read more

Architectural reasons behind sitemeta, blogs, home, site and DOMAIN_CURRENT_SITE redundancy

How do they relate to each other? What are their different uses within WordPress? define(‘DOMAIN_CURRENT_SITE’, $_SERVER[‘HTTP_HOST’]); define(‘PATH_CURRENT_SITE’, “https://wordpress.stackexchange.com/”); These 2 are not the same thing, e.g. for a WP site whose root is at example.com/wp DOMAIN_CURRENT_SITE will be example.com, and PATH_CURRENT_SITE will be /wp define(‘SITE_ID_CURRENT_SITE’, 1); define(‘BLOG_ID_CURRENT_SITE’, 1); Site != blog. In a multisite you … Read more

Multisite setup creating custom table

It’s up to you. Normally when you create and query a table you use the $wpdb->prefix property as part of the table name. In a multisite install this prefix includes the current site ID. So if you use dbDelta() to create a table with the name $wpdb->prefix . ‘tablename’, then — assuming the default prefix … Read more

WP Multisite – domain mapping to domain.com and separate site to domain.com/help

Yes, this is possible (see https://wordpress.org/support/article/create-a-network/). For sub-domains you’ll need to confirm that your DNS has a wildcard entry for your domain. So, based on your root domain, this would work for: mysub1.multisiteroot.com, mysub2.multisiteroot.com, etc. If you wanted to us different domain names for subsites, then you’d need to have those domain names point to … Read more