{"id":631,"date":"2019-11-20T14:52:23","date_gmt":"2019-11-20T13:52:23","guid":{"rendered":"https:\/\/www.combell.com\/en\/help\/?post_type=ht_kb&#038;p=631"},"modified":"2026-03-24T11:27:03","modified_gmt":"2026-03-24T10:27:03","slug":"how-do-i-change-from-http-to-https-after-i-have-installed-my-ssl-certificate","status":"publish","type":"ht_kb","link":"https:\/\/www.combell.com\/en\/help\/kb\/how-do-i-change-from-http-to-https-after-i-have-installed-my-ssl-certificate\/","title":{"rendered":"How do I convert my website from HTTP to HTTPS?"},"content":{"rendered":"\n<p>Installing an SSL certificate means securing your website with an encrypted HTTPS connection. This does not mean that the insecure HTTP connection disappears from your site. You have to make your website switch from HTTP to HTTPS. Otherwise, your visitors will continue to land on the insecure version of your website. We point out some ways you can force your visitors to surf to your secure HTTPS website.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-ht-block-toc  is-style-outline htoc htoc--position-wide toc-list-style-plain\" data-htoc-state=\"expanded\"><span class=\"htoc__title\"><span class=\"ht_toc_title\">IN THIS ARTICLE<\/span><span class=\"htoc__toggle\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"16\" height=\"16\"><g fill=\"#444\"><path d=\"M15 7H1c-.6 0-1 .4-1 1s.4 1 1 1h14c.6 0 1-.4 1-1s-.4-1-1-1z\"><\/path><path d=\"M15 1H1c-.6 0-1 .4-1 1s.4 1 1 1h14c.6 0 1-.4 1-1s-.4-1-1-1zM15 13H1c-.6 0-1 .4-1 1s.4 1 1 1h14c.6 0 1-.4 1-1s-.4-1-1-1z\"><\/path><\/g><\/svg><\/span><\/span><div class=\"htoc__itemswrap\"><ul class=\"ht_toc_list\"><li class=\"\"><a href=\"#h-force-https-via-our-control-panel\">Force HTTPS via our control panel<\/a><\/li><li class=\"\"><a href=\"#htoc-from-http-to-https-by-modifying-your-code\">From HTTP to HTTPS by modifying your code<\/a><\/li><\/ul><\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-force-https-via-our-control-panel\">Force HTTPS via our control panel<\/h2>\n\n\n\n<p>Going from HTTP to HTTPS by turning on just one button? You do that by enabling &#8220;Force HTTPS&#8221; in our control panel. That&#8217;s the easiest way to automatically redirect visitors headed to your insecure HTTP version, to the secure version with HTTPS.<\/p>\n\n\n\n<p><strong>&#8220;Forcing HTTPS&#8221; is done via these steps in our control panel:<\/strong><\/p>\n\n\n\n<ol>\n<li>Go to &#8220;My products&#8221; > &#8220;Web hosting&#8221; > Your domain name.<\/li>\n\n\n\n<li>In the menu on the left, choose &#8220;Websites &amp; SSL&#8221;.<\/li>\n\n\n\n<li>On the right, click &#8220;Manage website&#8221; and choose &#8220;SSL settings&#8221; in the dropdown.<\/li>\n\n\n\n<li>Tick HTTPS forcing.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"htoc-from-http-to-https-by-modifying-your-code\">From HTTP to HTTPS by modifying your code<\/h2>\n\n\n\n<p>If you have technical knowledge, you can also dive into your code to force HTTPS. Where in your website&#8217;s code to make that adjustment depends on which hosting you use. Linux (the most commonly used) or Windows hosting:<\/p>\n\n\n\n<p><meta charset=\"utf-8\"><strong>HTTPS forceren op Linux<\/strong><\/p>\n\n\n\n<p>Is your website running on Linux? Then add this code to the .htaccess file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>    RewriteEngine On\n    RewriteCond %{HTTPS} !=on\n    RewriteRule ^\/?(.*) https:\/\/%{SERVER_NAME}\/$1 &#91;R,L]\n<\/code><\/pre>\n\n\n\n<p><strong>Forcing HTTPS on Windows hosting<\/strong><\/p>\n\n\n\n<p>Are you using Windows hosting? Then you need to update your web.config file. This example shows how to do this edit:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>        &lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\n        &lt;configuration&gt;\n            &lt;system.webServer&gt;\n                &lt;rewrite&gt;\n                    &lt;rules&gt;\n                        &lt;clear \/&gt;\n                        &lt;rule name=\"Redirect to https\" stopProcessing=\"true\"&gt;\n                            &lt;match url=\"(.*)\" \/&gt;\n                            &lt;conditions&gt;\n                                &lt;add input=\"{HTTPS}\" pattern=\"off\" ignoreCase=\"true\" \/&gt;\n                            &lt;\/conditions&gt;\n                            &lt;action type=\"Redirect\" url=\"https:\/\/{HTTP_HOST}{REQUEST_URI}\" redirectType=\"Permanent\" appendQueryString=\"false\" \/&gt;\n                        &lt;\/rule&gt;\n                    &lt;\/rules&gt;\n                &lt;\/rewrite&gt;\n            &lt;\/system.webServer&gt;\n        &lt;\/configuration&gt;\n<\/code><\/pre>\n\n\n\n<p><strong>Tip: Is your website working on HTTPS, but your browser still marks it as insecure?<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/www.combell.com\/en\/help\/kb\/what-is-mixed-content-and-how-to-deal-with-it\/\">Then check for mixed content and remove if necessary.<\/a><\/p>\n\n\n\n<p>If you are using WordPress, all you need to do is install and activate the Really Simple SSL plugin. This will solve the problem of mixed content.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Installing an SSL certificate means securing your website with an encrypted HTTPS connection. This does not mean that the insecure HTTP connection disappears from your site. You have to make your website switch from HTTP to HTTPS. Otherwise, your visitors will continue to land on the insecure version of your&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[52,4],"ht-kb-tag":[],"acf":[],"_links":{"self":[{"href":"https:\/\/www.combell.com\/en\/help\/wp-json\/wp\/v2\/ht-kb\/631"}],"collection":[{"href":"https:\/\/www.combell.com\/en\/help\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.combell.com\/en\/help\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.combell.com\/en\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.combell.com\/en\/help\/wp-json\/wp\/v2\/comments?post=631"}],"version-history":[{"count":13,"href":"https:\/\/www.combell.com\/en\/help\/wp-json\/wp\/v2\/ht-kb\/631\/revisions"}],"predecessor-version":[{"id":4531,"href":"https:\/\/www.combell.com\/en\/help\/wp-json\/wp\/v2\/ht-kb\/631\/revisions\/4531"}],"wp:attachment":[{"href":"https:\/\/www.combell.com\/en\/help\/wp-json\/wp\/v2\/media?parent=631"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.combell.com\/en\/help\/wp-json\/wp\/v2\/ht-kb-category?post=631"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.combell.com\/en\/help\/wp-json\/wp\/v2\/ht-kb-tag?post=631"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}