It’s likely down to an nginx configuration if your server runs nginx.
For example, an nginx default config could contain:-
if ($host ~* ^www.domain.co.uk) {
rewrite ^(.*)$ https://domain.co.uk$1 permanent;
}
This would result in your server trying to set a 301 redirect from www to non www but then when www is defined in WordPress, the server tries to redirect back to non www causing an infinite redirect loop.
We’ve recently experienced this with a WordPress website and exhausted every possible route on the WordPress side as it sounds that you have done subsequently coming across the nginx config at domain level on the server.
Related Posts:
- WordPress Multisite Strange Redirect on Primary Site
- How to use WordPress Multisite With Different Domain Names?
- How to use alias domain for multisite installation?
- Changing Multisite URL after the subsite has been in use
- How do I use different domain for subdomains in WP Multisite?
- WordPress multisite with multiple parent domains
- How to Redirect login User with Mapped Domiain Primary blog Url to Original Sub-site Url
- WP Multisite – domain mapping to domain.com and separate site to domain.com/help
- Multisite Redirection to new domains
- Link structure, WordPress IIS
- WordPress Multisite + Erros with URLS and ADMIN
- Install multisite wordpress on a subdomain and map to top level domains
- Multisite – One Site with multiple URLs
- Different Domains in Multisite Setup
- Multisite on single wordpress
- Folder structure when using multiple domains with WordPress
- How to Force WWW. in Domain With WordPress MU Domain Mapping Plugin?
- Serve theme and plugins assets from correct domain on multi-domain multisite
- After switch domain, some parts of my site still point to my old domain
- new WPMS site not working / Q setting up new site/subdomain
- Is there something I need to know in order to use WordPress on foreign (Swedish) TLDs?
- WordPress multisite installation subdomains not working properly
- WP-Cli Error When Mapping Multisite Subdomain
- WordPress Multisite and how to apply sef urls only to specific sites
- Change main site / network admin site?
- multisite installed on subdomain now want another subsite on subdirectory
- Migrating from domain mapping plugin to native domain mapping
- Redirect a WordPress Multisite url after it has been change to a new one
- Redirecting specific sites to HTTP in WordPress Multisite
- Redirect Function Prevents Images from Showing in Front-end Media Uploader
- multisite 404 subfolder same name slug as site
- Website creation for multiple clients but from a single account on multiple host name
- How to map domains to specific pages in WordPress and display them in the address bar?
- multiple domains point to same site on WP-MU
- How to make the redirects right? IP to domain name folders
- Domain not redirected correctly with WordPress Multisite
- Multisite network admin login redirect
- Add file at the root of mapped domain in multisite
- Multisite wp-admin redirecting to main wp-admin using NGINX
- WordPress Multisite – Domain Mapping
- WordPress Multisite with Wildcard Certificates not mapping correctly
- Login issues on WordPress Multisite and domain mapping
- Multisite different domains mapping error on GGS
- Can assign a new domain to a site in a multisite?
- SSL for Mapped Domains with WordPress Multisite on AWS
- Multisite domain mapping with SSL redirects to main domain
- Multisite htaccess with domain rewrites
- WordPress Multi site Map Domains
- Create new multisite from existing and keep domain?
- WordPress multisite redirect one custom non www domain to www
- Multisite (with nested paths) wp-admin redirect loop
- Multisite with different domain names
- How to add WordPress site to multisite network when both are addon domains
- Optimal setup for Multi Domain WordPress with Woocommerce
- Multisite WordPress Configurtion
- How do I point two urls to the same child site in a multisite config
- WordPress Multisite with cPanel Addon Domains and SSL
- Can WP multisite manage multiple ccTLDs
- Redirecting two Multisite domains to Single site on different host
- All Subsites of a WordPress Multisite install 302 redirects to the main site
- New domain in multisite environment
- How to implement this subdirectory mapping in multisite?
- Multisite install in a subfolder won’t work with www
- MU domain mapping without using a plugin
- How To Change the URL of a WordPress Multisite
- Multisite login and redirect to users main blog,
- WordPress Multisite redirect loop
- Domain mapping breaks some plugin scripts and css
- How to configure WordPress for multiple blogs without using multisite?
- Using www along with non-www for main domain in multisite installation
- Subdirectory and domain multisite installation
- Redirect all users, except network administrators, from the main site to a subsite
- Multisite: Run a subdomain install from a directory install
- Multisite: Redirect Subsite Administrator to Subsite Home Page, Bypassing Dashboard
- Admin user getting redirected to /wp-admin/user
- WordPress Domain Mapping shows new domain in place but takes me to the sub domain
- Make a select where the options are the different multisites
- How to redirect author subdomain pages to each author pages on www
- Is there a way to have wordpress 301 versus 302 urls by default?
- Redirect extra url to Multisite in folder
- Multisite move server giving redirect loop
- Multiple domains for with a single instal
- Pages redirect me to the homepage
- MU Domain mapping
- Some Subdomains on a Multisite Install Not Found
- Development (multi)site indexed – recommendations to redirect 301 to correct url?
- Is it possible to put a site other than #1 as a Multisite top-level domain?
- Redirect authors from upload.php url to Home page in Multisite
- Nginx Multisite redirects (incorrectly) on Chrome IE and Mobile, but works (correctly) on Firefox
- In a loop, do not display content that does not have a thumbnail
- How to redirect root blog to a specific one in multilang WP?
- Are there any hosting companies that are already setup and configured for TLD domain mapping?
- WordPress 3.0 Multisite – Child sites and backends appearing blank
- WordPress Multisite Subsite WP admin not working
- Nice font not working when http to https – SSL Issue
- Subdomain add comment redirect to 404 not found page iis server
- Best Way to Setup a Network of WP Sites?
- how to get my WP site’s IP? [closed]
- External rewrite rules missing in htaccess – Multisite
- Cookies in Multisite network where sites have their own domain name?