Redirects when working with two wordpress sites simultaneously
-
I have two WordPress installs running on my machine:
- staging.test
- testing.test
When I'm browsing both sites simultaneously staging.test keeps redirecting to testing.test/wp-admin/install.php, while both are loading.
This happens when I'm logged in or not, doesn't matter.
-
There is definitely an issue with the database connections and how they are handled.
Refreshing two sites simultaneously either redirects to the other sites' /wp-admin/install.php, gets me a blank page or a WordPress database connection error.
-
@bonovski : Did you try to debug them?
Such as dump or log the current domain,...
-
@leokhoa
I did, but there was nothing in the debug logs of either wordpress installation.
-
@bonovski : What do you mean nothing?
I think you just echo the data you want to investigate.