Wordpress Multisite: Too Many Redirects
1 minute read.
Today I found an interesting issue on Wordpress: too many redirects caused by a configuration error.
While setting up a “network”, which allows running multiple Wordpress blogs on one
Wordpress installation, I added a Website on https://AnExample.com.
It turns out that if you input anexample.com in your browser, Wordpress will
redirect this URL to AnExample.com, which in turn the browser will change to
anexample.com, which will be redirected by Wordpress and so on.
Make sure to have the Blog URL and Home both set to lowercase, there appears to be a bug in Wordpress 5.0.3 that in which a case-sensitive check is done on the URL.