I’m migrating a WordPress site and before I switch the DNS, I want to make sure everything works by temporarily using the server’s IP and cPanel username like:
When I access
it redirects me to
which then shows a 404 Page not found.
I tried entering
manually but it returns the same 404. I then tried changing the
redirect_to query string value into something different and what I found out is that if I enter an IP, it shows 404 while it shows the login page when it’s not in IP form.
Can someone help what might be the problem here?
home of wp is set to
Read more here: WordPress wp-login redirect_to returns 404 when url contains IP