I want to have various development (say
dev.example.com) and staging environments of a WordPress multisite (
example.com). For this it would be great if WordPress wouldn’t redirect to what it considers the canonical domain name.
I’m running into trouble with this in my
It redirects to
example.com or gives me database errors.
This is after
wp search-replace example.com dev.example.com.
Is it possible to turn off this redirection? If so, how?