Home › Forums › Redirect loops › wp-admin redirect loop
If I visit:
I get reidrected to
with the query string saying to send me back to http://example.com/wp-admin.
After submitting it then sends me back to http://example.com/wp-admin which redirects me to https://example.com/wp-admin but it’s not logged in – so I go around in circles.
Any tips/advice on how to fix this?
Does it help if you add
$_SERVER[“HTTPS”] = “on”;
to your wp-config.php?
I also have the same issue
What happens if you visit the admin direct over https?
OMG! have been looking for the solution for 4 days and this one solved it! thank you so much. But I wonder why this issue never occurred to me before. I don’t remember adding $_SERVER[“HTTPS”] = “on”; to other sites we developed.
Mail (will not be published) (required):
© Really Simple Plugins
Attoomweg 6B 9743 AK (NL)
Enter the destination URL
Or link to existing content