This is going to be setup in your Apache config (I believe). Not exactly sure where it is though sorry :-/
Actually, I ended up finding a very simple solution...
Since I use an included script for the page head on every page on the site, I was able to add a short PHP blurb in that, and it redirects to https for every page as it is loaded...
Here is the code, in case anybody else needs it in the future...
// If page requires SSL, and we're not in SSL mode,
// redirect to the SSL version of the page
if($_SERVER['SERVER_PORT'] != 443) {
header("HTTP/1.1 301 Moved Permanently");
header("Location: https://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']);
exit();
}
I was going to get hosting with one of those wildcard certificates for $100.00 plus $24 for the dedicated IP plus $150 or whatever hosting you get for a year.
But then I found out the Business plan at Hostgator includes a private SSL Certificate with dedicated IP for $11.22/month so I'm trying that first. I mainly want to find out whether that includes unlimited sub-domains [www] or just the domain only.
BTW - Thanks for that code - I'm going to try it out on pages where the absolute URL isn't there. Thanks again!