Forcing your site's login page to use SSL

  • Updated


You want to secure a CMS login page using Secure Sockets Layer (SSL). After following the documentation to set up SSL, the site still uses HTTP. How can you force the login page to use HTTPS?

After you configure IIS and web.config to enable SSL, you must write custom code to force the login page to move from HTTP to HTTPS because the CMS will not automatically switch the page over to use SSL.

See the documentation listed in the References and Links section of this article, which shows how to set up SSL and guidance for writing custom code.