As the web has been shifting to HTTPS for security and performance reasons, there are many methods to migrate users. One simple method is via the use of the Content-Security Header.
Content-Security-Policy: upgrade-insecure-requests;
Most modern browsers, except MSIE, currently support this approach.
– Chrome 43+
REFERENCES