Admin login issues on Multisite subdomains (TLD) with Let's Encrypt (LE) SSL (plus Cloudflare proxied and SSL/TLS)

Hey so everything looks good with your shared config, this redirect loop often refers to a database issue or a cookie issue when not on cloudflare.

If some resolve but others don’t then I’d lean towards a database issue, however based on what you’ve shared that doesn’t appear to be the case.

Here are some other routes to explore or rule out:

  • Triple check your database entries match what you’ve provided above
  • Has the server provision completed successfully? If you have for example tried to provision with LE and it’s failed partway through the provision then maybe the nginx config isn’t set
  • Are there any redundant redirects configured on the problematic sites? i.e. with the Redirection plugin, or Yoast SEO
  • Try clearing your local DNS cache
  • Ensure that caching is disabled for your browser in inspector tools, this will help reduce the possibility of a cached redirect kicking in
  • Try clearing all your local session data for each site (cookies, local storage)
  • Make sure that the SSL Certificates include the www. and none www. counterparts for each domain
  • Ensure that your DNS Records contain www. entries, and */@ entries
  • Be sure you’re not attempting to login using incognito mode
  • I’ve noticed that you’ve mentioned in other posts you have maybe explored changing the nginx config files, could these changes need reverting?
1 Like