Redirect loop on wp-login and wp-admin after switching to https:// URLs
-
Hello folks,
I’ve been pounding my head against my desk trying to solve this problem. Here’s the deal – When I change the WordPress Address URL to https:// and do the same for the Site Address URL, it throws the wp-login and wp-admin pages into a redirect loop that requires hacking the funtcions.php to force the URL back to http:// to resolve. Let me be more clear… The redirect loop freezes me out of the control panel, and makes me hack my way back in.
The theme currently being used is JamesClip.
Now, I have sort of an unusual setup in that I am NOT terminating SSL on the server, but rather at a load balancer upstream. So here’s the overview of the data flow path:
Public IP address -> Load balancer port 80 or 443 (ssl termination) -> WP server on port 80 or 443 (I’ve tried both)
So, the SSL termination is not a big deal, I’ve done it many times and it works. When I access the server via its internal IP address, I still get these redirect loops as soon as the URLs are switched to https. It’s just an endless stream of 302s. I’ve of course tried different browsers, and used incognito mode to rule out cookie poisoning. I’ve even tried setting the load balancer to switch the incoming URLs to https. None of it works.
What do I need to look at to get to the bottom of these redirect loops?
I’ve seen several other threads on this issue, and I’ve tried modifying .htaccess to no avail.
Suggestions?
Thanks very much for your time.
The topic ‘Redirect loop on wp-login and wp-admin after switching to https:// URLs’ is closed to new replies.