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 “wp_{blog_id}_options” update “siteurl” and “home” meta keys
- Search for remaining links to update in post content with phpMyAdmin or MySQL command line. Be careful when changing links in JSON or serialized arrays.
Related Posts:
- Why is WordPress Multisite redirecting to wp-signup.php and how to fix it?
- WordPress multisite subdirectory redirect infinite loop issue
- How to disable the default WordPress redirect to non-www URLs?
- wp-config dynamic hostname in WP_HOME and WP_SITEURL
- ERR_TOO_MANY_REDIRECTS when i config my subdomains
- Site Redirecting to wp-signup.php
- Moving a WP Multisite to a subdirectory
- How to add Custom Blog Options to new blog setup form?
- Redirect Main Site to Subsite in Multisite WordPress
- Add additional Network constants to wp-config.php dynamically
- Plugin for editing options on multisite?
- multisite 404 error for subdirectory
- differences between behavior get_option vs get_site_option in multisite
- WP-Admin not working properly at WordPress multisite with subdirectories
- How to individually set WP_DEBUG on a sub-directory multisite?
- WP-CLI methods for get_current_blog_id, get_blog_details or $wpdb->prefix
- How to disable Multisite sign-up page?
- COOKIE_DOMAIN setting confusion
- How To Provide Sub-Blogs Their Own Domain Names?
- domain mapping confused about sunrise
- Is there a way to define wp_blogs domains in wp-config?
- Multisite: How to store global options vs. site options?
- How do I share plugin settings across WordPress network?
- Blog Settings import/export in WordPress Network environment
- WordPress multisite,several different languages,page redirect?
- WordPress Multisite – Multiple subfolders for blogs
- Multisite 404 errors and non-www redirecting to home page
- How to make WordPress use new Upload Path settings in Multisite Setup
- multisite htaccess 301 redirects
- Add site options UI in Multisite Sites > Infos page
- What is the correct form action URL for network options pages?
- Using WP CLI to set options in WP Multisite
- Multisite with path, how to change the main site
- W3 Total Cache Plugin with WP 3 MultiUser [closed]
- Redirect all users, except network administrators, from the main site to a subsite
- Add New Sub Site from the WordPress back end then in sub site options table option_value must be with https
- Multisite wp-admin redirect loop
- Multisite non-www domain redirects to sign-up
- WordPress network (multisite) /wp-admin/ redirect loop (ERR_TOO_MANY_REDIRECTS)
- Domain redirect in WordPress multisite
- Suppress subdirectory from WordPress Multisite primary URL
- Multisite – Redirect All Users to Subsite Home Page on Subsite Login
- Multisite non www domain gives registration error but should redirect to www.domain.com
- 301 Redirects for posts, category, pages from original domain to sub-domain of multisite
- Trying to access second site dashboard on a multisite configuration proceeds to an error
- Redirect loop (only for multisite network admin)
- How to move theme directory but not plugins/uploads out of WordPress root directory?
- Why wordpress multisite redirect to wp-signup if site exists?
- How to update_site_option for specific site within network?
- Sub-subdomain getting redirected to main domain
- how do I configure nginx for wordpress multisite, it occurs ERR_TOO_MANY_REDIRECTS
- Multisite network admin – URL / redirect error
- WordPress (+WPMU) Import/Export ALL settings?
- How to exclude a directory from WordPress permalinks in a Multisite environment?
- Redirect subdomain homepage to domain specific page in wordpress multisite
- WordPress multisite subdirectory on nginx behind reverse proxy
- Multisite Redirect issue
- How to Redirect login User with Mapped Domiain Primary blog Url to Original Sub-site Url
- Disable domain redirect
- multisite custom directory
- Does WordPress MultiSite use separate MySql databases?
- Redirect users on logout
- Multisite, multiple domains per site
- What are Attributes used for in a WordPress Multisite?
- How to get option values set from all sites within a Multisite setup?
- Bulk theme settings in wordpress multisite
- https redirect hell (adding www)
- Auto Redirect after login
- WPMU Development Environment
- What is the function to get options of the parent site of a multisite network?
- Redirect subdomain in Multisite installation?
- Issue with htaccess redirection in WP Multisite
- Site kit Google Analytics setup giving Error: {“error”:”invalid ‘redirect_uri'”}
- All pages have 302 redirect, which I can’t remove
- Why my deleted url is redirecting to random post?
- Redirect only posts to New Domain
- Multsite redirecting to the main site
- Multisite on localhost using xampp
- Multisite setup help – plain domain/subsite always redirects to domain with subdir multisite
- Redirect & permalink problems after moving multisite to a new server
- Temp URL Redirect Loop
- Installed domain-based Multisite but can’t access wp-admin (redirect loop)
- Error uploading files bigger than 58 MB
- Redirect Site Geologically
- How to configure Multisite Network with randomized hostnames?
- WordPress Network admin options page: how to store options and where will they be stored?
- WordPress Multisite Strange Redirect on Primary Site
- Wrong Redirect/Rewrite Rules?
- Use external database with local multisite
- Htaccess file isn’t redirecting http sub-pages to https––they display 404 error instead, tried many solutions and none work
- WordPress Multi-Site on Ubuntu 18.04 LAMP Keeps Re-Directing
- URL without www redirect directly with submission page – Multiwordpress install
- Multisite Redirection to new domains
- Nginx config, how can I redirect primary multisite domain, but not its sub-folders, nor other domains?
- Redirect One Multisite to Another
- Site redirecting to http://example.com/wp-signup.php?new=example.com
- WordPress Multisite + Erros with URLS and ADMIN
- Redirect old uploads after moving to multisite
- Will changing the folder name two directories above a fresh wordpress installation break the site?
- 301’s not working with multisite