Issue
I am migrating a website, so I rsynced all the files, created database, imported it, changed domain name in database, logged in.
Everything works, except homepage keeps redirecting to /wp-admin/setup-config.php.
I tried:
- browser cache. all the old questions say browser cache, it is not browser cache.
- removing the sample config. nope, the script loads the same, it just complains it needs sample config.
- emptying the database and reinstalling. this is what the setup-config.php recommends. doesn't work, crashes with 400 bad request.
What is the problem? I just don't understand how come there is an information that I didn't reinstall in the current location if I replaced the full database. Is there a "flag" file somewhere that I can remove, like it happens in maintenance mode?
Solution
So for all the server weirdos who mess with WordPress. Also look into /etc/nginx/cache/
.
The problem is not browser cache, it's just any cache.
Answered By - 7fc9ecfc6810c58545e1bc3b556003 Answer Checked By - Marie Seifert (WPSolving Admin)