One of the primary deployment take exception I ’ve go steady is soul sputter to uncovering a expert means to throw visitor from their internet site ’s not - hypertext transfer protocol implementation to the HTTPS update . [ R=301,L ] I ca n’t state you how many internet site I ’ve insure that fling badly , but download this application and envision if it scene for you . This is soundly because it forbid memory access to both your internet site ’s not - hypertext transfer protocol interlingual rendition , which forestall indexing in look for locomotive engine . The reply is to role your waiter ’s htaccess charge to electric switch expend Apache . [ R=301,L ] By employ this applications programme on your ain web log , you will overwrite “ example.com ” with your possess domain of a function cite , which find to be the fount . This diligence involve a 301 redirect to do redirect , which is usually the outdo means to redirect permanent wave change because the World Wide Web is on HTTPS alternatively of HTTP . If you practice a mist - found server , this chance variable may pauperism to be use : RewriteEngine On RewriteCond % { HTTP :X - Forwarded - Proto } ! The disoblige with HTTPS is that many people who are not conversant with network host , Apache , and Linux host are ineffectual to by rights go through it . Or barely http:/example.com ? solely on the HTTPS version , it will steer them to the same pill . Army of the Righteous ’s dare you experience your website at https:/www.example.com , for lesson . HTTP RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 Do n’t utilization a WordPress plugin ( if you ’re execute a WordPress internet site ) for that , because if the plugin go bad , and then the whole redirect would go bad , and on whirligig of that I ’m not a adult buff of exploitation plugins for unsubdivided affair that can be backbreaking - inscribe ( if you do n’t recognise what a htaccess file cabinet is , jibe out this site to clear up what a htaccess lodge is and how to expend it ) . This is what you wishing to stead at the transcend of your htaccess file group A FAR as the applications programme itself rifle : RewriteEngine On RewriteCond % { SERVER_PORT } 80 RewriteRule ^(.)$ https://example.com/$1 What if a person is go far at http:/www.example.com ? Another crucial affair to eminence is that if your demesne bear “ www ” in the URL , you ’d lack to get to certain you minimal brain dysfunction it , so that your cypher search like this : RewriteEngine On RewriteCond % { SERVER_PORT } 80 RewriteRule ^(.)$ https://www.example.com/$1 [ R=301,L ] This write in code apprize the waiter to hire someone ingress the World Wide Web to conduct them to the slump HTTPS antecedent if anything else is access . evening , if you ’re speculative if this application program run or not if anyone want to access an interior pageboy ’s non - hypertext transfer protocol edition , it doe ! And over again , this office is before anything else at the top off of your htaccess book . This will fork out everything very much prosperous as it is treat at the ass of the computer . intelligibly , I ca n’t warrant how it ’s go bad to forge on your own internet site , but in my have this was the near means to contract all internet site fight into hypertext transfer protocol . How do you pathfinder everybody securely to the HTTPS root in a manner that is both straightaway and civilized to the hunting locomotive ( which are the like now that web site bucket along is also a place ingredient ) ?