Webmastersite.net

Search    Register    Log In   

Details

Optional or forced https
By
Jun 17, 2016 pm30 2:21 PM

For a long time, it has been easy to convert a WSN site to use https:// secure URLs by default: simply change the http to https in the URL at Admin -> Settings -> System Configuration -> WSN Links Installation Details -> URL. But this misses two common scenarios: the case where you want non-secure to be the default but want to allow people to use a secure version if they choose, and the case where you want to forcibly redirect to the secure version of each URL.

What if you want to optionally enable https, while leaving http as the default? Leaving the installation URL as the http version results in the secure version of the page looking broken due to all the insecure resources it calls which the web browser blocks by default. WSN 10.0.8 solves this problem by automatically detecting when the secure version of the page is being accessed and temporarily acting as if the installation URL is https, without changing it.

What about when defaulting to https isn't good enough and you instead want to force it? WSN 10.0.8 adds a rewriting option at Admin -> Settings -> SEO - > Force Secure URLs which will automatically redirect visitors to the secure version of any page they request. I've implemented this on links.webmastersite.net now, for example.

Note that you can get a free SSL certificate from https://letsencrypt.org





Views 282 views. Averaging 282 views per day.

Sorry, you don't have permission to post. Log in, or register if you haven't yet.

Please login or register.