Redirect site to ssl version
This is the quickest way I've found to redirect a page to the https version.
if(strstr($_SERVER['HTTP_HOST'],"www.") || $_SERVER['SERVER_PORT'] != 443)
{
header("Location: https://".str_replace("www.","",$_SERVER['HTTP_HOST']).$_SERVER['REQUEST_URI']);
}


