#### Add the following part of code to the file: ####:} elseif ($_SERVER['SERVER_PORT']=='443') { define('HTTPS', true); ####:below this one: ####:} elseif (isset($_SERVER['HTTP_X_FORWARDED_SERVER']) && ($_SERVER['HTTP_X_FORWARDED_SERVER']=='secure')) { define('HTTPS', true); #### Save the file. #### Try to enable the secure connection options. I also tried this: #### Add the following part of code to the file: ####:} elseif ($_SERVER['SERVER_PORT']=='443') { define('HTTPS', true); ####:below this one: ####:} elseif (isset($_SERVER['HTTP_X_FORWARDED_SERVER']) && ($_SERVER['HTTP_X_FORWARDED_SERVER']=='secure')) { define('HTTPS', true); #### Save the file. #### Try to enable the secure connection options. Which just made the pointless because thought it was code, so I tried this: #### Add the following part of code to the file: ####:} elseif ($_SERVER['SERVER_PORT']=='443') { define('HTTPS', true); ####:below this one: ####:} elseif (isset($_SERVER['HTTP_X_FORWARDED_SERVER']) && ($_SERVER['HTTP_X_FORWARDED_SERVER']=='secure')) { define('HTTPS', true); #### Save the file. #### Try to enable the secure connection options. And that made the not work.... I want to use source so that it will show the php syntax.