[insert_php]

if ($_SERVER[‘SERVER_PORT’]==443) header(“Location: https://ssdotus.wpengine.com/members/my-library/”);

[/insert_php]

Access the “Core Causes Form” to tap out the root of your issue.