I have a productive wordpress site (example.com) and a test wordpress site (test.example.com).
For the two sites, I've a productive and a test DB.
Everytime when I'll access the settings for the test site (test.example.com/wp-admin), I'll be redirected to the productive site (the URL looks then like this:
I already changed the DB of the test site in the
wp-config.php file, but nothing changed.
How can I change the test site to the test DB and making it independent from the productive one?