mydomain.co.uk
was failing because the cookie was not released for a wrong domain (resulting after code process).
The file wp_w3all.php has been patched with a temporary fix, and line:
Code: Select all
$w3cookie_domain = preg_replace('/^[^\.]*\.([^\.]*)\.(.*)$/', '\1.\2', $w3cookie_domain);
Code: Select all
$posdot = strpos($w3cookie_domain, '.');
if($posdot == 0){
$w3cookie_domain = preg_replace('/^[^\.]*\.([^\.]*)\.(.*)$/', '\1.\2', $w3cookie_domain);
}
to temporary resolve, if even after the above fix you experience loop onlogin redirect when login is done in WP side, you can add just the follow after the above code:
Code: Select all
$w3cookie_domain = 'mydomain.co.uk';
Code: Select all
$w3cookie_domain = '.mydomain.co.uk';