Hi guys, I recently added a payment option on one of my pages. The page displays as http in the URL. I was wondering if there was a quick solution for getting the page to display as a secure https page. Any ideas much appreciated!
Hi, http to https 301 is more option available 1) Using redirect in htaccess or IAS leavel 2) In domain controller also we can do 3) In PHP if(!isset($_SERVER['HTTPS'])|| $_SERVER['HTTPS']==""){ $redirect ="https://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; header("HTTP/1.1 301 Moved Permanently") header("Location: $redirect");}
Other option is to change the link in your A HREF tag that points to your payment page from http to https. If you use 'include files' you could do that from one spot so changes take effect across your site.