{"id":1078,"date":"2019-03-14T15:49:01","date_gmt":"2019-03-14T19:49:01","guid":{"rendered":"http:\/\/io.bainwerx.com\/blog\/?p=1078"},"modified":"2019-10-16T10:28:26","modified_gmt":"2019-10-16T14:28:26","slug":"forcing-ssl","status":"publish","type":"post","link":"https:\/\/io.bainwerx.com\/blog\/forcing-ssl\/","title":{"rendered":"Forcing SSL"},"content":{"rendered":"\n<p>How to force ssl for standalone \/ non-dynamic websites at the server level by adding a .htaccess<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1192\" height=\"1146\" data-attachment-id=\"1079\" data-permalink=\"https:\/\/io.bainwerx.com\/blog\/forcing-ssl\/screen-shot-2019-03-14-at-15-29-30\/#main\" data-orig-file=\"https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/03\/Screen-Shot-2019-03-14-at-15.29.30.png?fit=1192%2C1146&amp;ssl=1\" data-orig-size=\"1192,1146\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screen Shot 2019-03-14 at 15.29.30\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/03\/Screen-Shot-2019-03-14-at-15.29.30.png?fit=300%2C288&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/03\/Screen-Shot-2019-03-14-at-15.29.30.png?fit=620%2C596&amp;ssl=1\" src=\"https:\/\/i1.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/03\/Screen-Shot-2019-03-14-at-15.29.30.png?fit=620%2C596\" alt=\"\" class=\"wp-image-1079\" srcset=\"https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/03\/Screen-Shot-2019-03-14-at-15.29.30.png?w=1192&amp;ssl=1 1192w, https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/03\/Screen-Shot-2019-03-14-at-15.29.30.png?resize=300%2C288&amp;ssl=1 300w, https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/03\/Screen-Shot-2019-03-14-at-15.29.30.png?resize=768%2C738&amp;ssl=1 768w, https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/03\/Screen-Shot-2019-03-14-at-15.29.30.png?resize=1024%2C984&amp;ssl=1 1024w, https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/03\/Screen-Shot-2019-03-14-at-15.29.30.png?resize=395%2C380&amp;ssl=1 395w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>How to force ssl for standalone \/ non-dynamic websites at the server level by adding a .htaccess<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-1078","post","type-post","status-publish","format-standard","hentry","category-uncategorized","without-featured-image"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8DcKP-ho","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/posts\/1078","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/comments?post=1078"}],"version-history":[{"count":3,"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/posts\/1078\/revisions"}],"predecessor-version":[{"id":1116,"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/posts\/1078\/revisions\/1116"}],"wp:attachment":[{"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/media?parent=1078"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/categories?post=1078"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/tags?post=1078"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}