Jump to content

How to do the following


pratkal

Recommended Posts

You'll want to detect if the server is running in HTTPS first.

<?phpif(empty($_SERVER['HTTPS'])) {  header('Location: https://mywebsite.com');}?>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...