Halojoy, I tried yours too but all that did was change the url to
http://domain.com/https
:/
Rebelo, I'm trying your first suggestion.
<?php
if ( !isset($_SERVER['HTTPS']) || strtolower($_SERVER['HTTPS']) != 'on' ) {
header ('Location: [url]https://[/url]'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']);
exit();
}
?>
I had to remove the <a href etc cause it was just passing that into the url.
So far, with that code, it will load https://domain.com
(trying to problem solve while I write this.)
I tried adding /page.php but all that did is make the url https://domain.comphp
then I rememberd that periods were for concatination and I changed it to this (me = programming nube)
header ('Location: [url]https://[/url]'.$SERVER['HTTP_HOST'].$SERVER['REQUEST_URI'].'/payonline.php');
RESOLVED - WOOHOO!