Search Support
contact us

Let Us Make it Easy for You. Call 1-877-898-3290 for MyTime Support™. Learn More

SSL Redirects

Article Rating: 2 / 5 Votes: 42

Network Solutions® uses a proxy SSL this does not allow the use of server-side variables to detect HTTPS (secure).  All server-side coding will always detect HTTP (non-secure), and for programs that attempt to redirect non-secure connections (http://) to a secure connection (https://) will result in an infinite loop and server error after 30 seconds.

You can use a client-side program (like javascript) to detect if it's secure and redirect if it's not. You can use the below coding to create a redirect.   Just modify the code so that it redirects to the correct secure domain and add it into the HTML of any sensitive pages you may have.

<script language="javascript">
if (document.location.protocol != "https:")
{
document.location.href = "
https://subdomain.yourdomain.com" + document.location.pathname;
};
</script>