I migrated a WordPress 4.3 site from Register to MediaTemple today and found that the forced SSL is causing issues for the staging URL.
In order to try again I have (on the live Register site)
define( 'FORCE_SSL_ADMIN', true );
from wp-configTried logging out and accessing site and still get redirected from http to https.
Assuming my predecessor has not done anything truly crazy what am I missing there? Where should I look?
I migrated a WordPress 4.3 site from Register to MediaTemple today and found that the forced SSL is causing issues for the staging URL.
In order to try again I have (on the live Register site)
define( 'FORCE_SSL_ADMIN', true );
from wp-configTried logging out and accessing site and still get redirected from http to https.
Assuming my predecessor has not done anything truly crazy what am I missing there? Where should I look?
In the active theme I found the redirection in header.php
Once commented out the issue was resolved.
if($_SERVER["HTTPS"] != "on")
{
header("Location: https://" . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]);
exit();
}
I had the same issue after a migration on staging local environnent, I resolved it by emptying the cache with a hard refresh.