{"id":793,"date":"2021-08-03T08:10:20","date_gmt":"2021-08-03T08:10:20","guid":{"rendered":"https:\/\/www.34sp.com/kb\/?p=793"},"modified":"2021-08-03T08:10:22","modified_gmt":"2021-08-03T08:10:22","slug":"how-to-force-https-using-the-htaccess-file","status":"publish","type":"post","link":"https:\/\/www.34sp.com/kb\/how-to-force-https-using-the-htaccess-file","title":{"rendered":"How to force HTTPS using the htaccess file"},"content":{"rendered":"\n<div class=\"wp-block-columns has-background is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\" style=\"background-color:#f6faff\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Applies to:<\/strong><br>Professional Hosting<br>Universal Hosting<br>Reseller Hosting<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Difficulty:<\/strong><br>Easy<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"has-black-color has-text-color wp-block-paragraph\"><strong>Time Needed:<\/strong><br>10 minutes<\/p>\n<\/div>\n<\/div>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"How to force HTTPS using the .htaccess file\" width=\"952\" height=\"536\" src=\"https:\/\/www.youtube.com\/embed\/A1sH0At3Uck?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Introduction<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This is a quick step-by-step walkthrough for forcing your site to load via HTTPS, instead of HTTP.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We recommend all websites relying on SSL encryption take these steps to guarantee your website traffic is using an encrypted connection.<\/p>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">How to force HTTPS using the .htaccess file<\/h2>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<h5 class=\"wp-block-heading\">STEP 1<br>Locate your .htaccess file<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">Firstly, you need to locate your .htaccess file using your preferred FTP client. This will be in your&nbsp;<strong>\/httpdocs<\/strong>&nbsp;folder.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Be aware that .htaccess files are classed as &#8216;hidden&#8217; files, so you may need to make sure hidden files are visible via your FTP client&#8217;s settings.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When you have found the .htaccess file, you&#8217;ll need to download it to your local machine and open it in your favourite code editor.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Again, because .htaccess files are hidden files, the file may not be visible after you have downloaded it. For Mac users, just open Finder and press&nbsp;<kbd>CMD&nbsp;+&nbsp;SHIFT&nbsp;+&nbsp;.<\/kbd>, to toggle hidden files on.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"900\" height=\"540\" src=\"https:\/\/www.34sp.com/kb\/wp-content\/uploads\/2021\/08\/hosting-htaccess-001.2.jpg\" alt=\"\" class=\"wp-image-794\" srcset=\"https:\/\/www.34sp.com\/kb\/wp-content\/uploads\/2021\/08\/hosting-htaccess-001.2.jpg 900w, https:\/\/www.34sp.com\/kb\/wp-content\/uploads\/2021\/08\/hosting-htaccess-001.2-300x180.jpg 300w, https:\/\/www.34sp.com\/kb\/wp-content\/uploads\/2021\/08\/hosting-htaccess-001.2-768x461.jpg 768w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<h5 class=\"wp-block-heading\">STEP 2<br>Force all traffic to use HTTPS<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">To force all traffic on your domain to use HTTPS, simply add the following. If you have existing code in your .htaccess file, you should add this above your current rewrite rules.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>RewriteEngine On<br>RewriteCond %{HTTPS} off<br>RewriteRule ^(.*)$ https:\/\/%{HTTP_HOST}%{REQUEST_URI} [L,R=301]<\/code><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"900\" height=\"540\" src=\"https:\/\/www.34sp.com/kb\/wp-content\/uploads\/2021\/08\/hosting-htaccess-002.3.jpg\" alt=\"\" class=\"wp-image-795\" srcset=\"https:\/\/www.34sp.com\/kb\/wp-content\/uploads\/2021\/08\/hosting-htaccess-002.3.jpg 900w, https:\/\/www.34sp.com\/kb\/wp-content\/uploads\/2021\/08\/hosting-htaccess-002.3-300x180.jpg 300w, https:\/\/www.34sp.com\/kb\/wp-content\/uploads\/2021\/08\/hosting-htaccess-002.3-768x461.jpg 768w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<h5 class=\"wp-block-heading\">STEP 3<br>Upload your updated .htaccess file<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">Once you have updated your .htaccess file, you need to upload it back into your&nbsp;<strong>\/httpdocs<\/strong>&nbsp;folder.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Please note:<\/strong>&nbsp;We strongly recommend making a backup copy of your existing .htaccess file before overwriting it.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"900\" height=\"540\" src=\"https:\/\/www.34sp.com/kb\/wp-content\/uploads\/2021\/08\/hosting-htaccess-003.2.jpg\" alt=\"\" class=\"wp-image-796\" srcset=\"https:\/\/www.34sp.com\/kb\/wp-content\/uploads\/2021\/08\/hosting-htaccess-003.2.jpg 900w, https:\/\/www.34sp.com\/kb\/wp-content\/uploads\/2021\/08\/hosting-htaccess-003.2-300x180.jpg 300w, https:\/\/www.34sp.com\/kb\/wp-content\/uploads\/2021\/08\/hosting-htaccess-003.2-768x461.jpg 768w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/figure>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Applies to:Professional HostingUniversal HostingReseller Hosting Difficulty:Easy Time Needed:10 minutes Introduction This is a quick step-by-step walkthrough for forcing your site to load via HTTPS, instead of HTTP. We recommend all&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,30,2],"tags":[112,113],"class_list":["post-793","post","type-post","status-publish","format-standard","hentry","category-professional-hosting","category-universal-hosting","category-wordpress-hosting","tag-htaccess","tag-https"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to force HTTPS using the htaccess file | Knowledge Base<\/title>\n<meta name=\"description\" content=\"This is a quick step-by-step walkthrough for forcing your site to load via HTTPS, instead of HTTP.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.34sp.com/kb\/how-to-force-https-using-the-htaccess-file\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to force HTTPS using the htaccess file | Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"This is a quick step-by-step walkthrough for forcing your site to load via HTTPS, instead of HTTP.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.34sp.com/kb\/how-to-force-https-using-the-htaccess-file\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/34SPWebsiteHosts\/\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/34SPWebsiteHosts\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-03T08:10:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-03T08:10:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.34sp.com/kb\/wp-content\/uploads\/2021\/08\/hosting-htaccess-001.2.jpg\" \/>\n<meta name=\"author\" content=\"Kayleigh\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@34sp\" \/>\n<meta name=\"twitter:site\" content=\"@34sp\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kayleigh\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/kb.34sp.com\\\/how-to-force-https-using-the-htaccess-file#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kb.34sp.com\\\/how-to-force-https-using-the-htaccess-file\"},\"author\":{\"name\":\"Kayleigh\",\"@id\":\"https:\\\/\\\/kb.34sp.com\\\/#\\\/schema\\\/person\\\/daa527106d35aab27ee3d39e12112172\"},\"headline\":\"How to force HTTPS using the htaccess file\",\"datePublished\":\"2021-08-03T08:10:20+00:00\",\"dateModified\":\"2021-08-03T08:10:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/kb.34sp.com\\\/how-to-force-https-using-the-htaccess-file\"},\"wordCount\":272,\"publisher\":{\"@id\":\"https:\\\/\\\/kb.34sp.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/kb.34sp.com\\\/how-to-force-https-using-the-htaccess-file#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/kb.34sp.com\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/hosting-htaccess-001.2.jpg\",\"keywords\":[\"htaccess\",\"https\"],\"articleSection\":[\"Professional Hosting\",\"Universal Hosting\",\"WordPress Hosting\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/kb.34sp.com\\\/how-to-force-https-using-the-htaccess-file\",\"url\":\"https:\\\/\\\/kb.34sp.com\\\/how-to-force-https-using-the-htaccess-file\",\"name\":\"How to force HTTPS using the htaccess file | Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kb.34sp.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/kb.34sp.com\\\/how-to-force-https-using-the-htaccess-file#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/kb.34sp.com\\\/how-to-force-https-using-the-htaccess-file#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/kb.34sp.com\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/hosting-htaccess-001.2.jpg\",\"datePublished\":\"2021-08-03T08:10:20+00:00\",\"dateModified\":\"2021-08-03T08:10:22+00:00\",\"description\":\"This is a quick step-by-step walkthrough for forcing your site to load via HTTPS, instead of HTTP.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/kb.34sp.com\\\/how-to-force-https-using-the-htaccess-file#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/kb.34sp.com\\\/how-to-force-https-using-the-htaccess-file\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/kb.34sp.com\\\/how-to-force-https-using-the-htaccess-file#primaryimage\",\"url\":\"https:\\\/\\\/www.34sp.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/hosting-htaccess-001.2.jpg\",\"contentUrl\":\"https:\\\/\\\/www.34sp.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/hosting-htaccess-001.2.jpg\",\"width\":900,\"height\":540},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/kb.34sp.com\\\/how-to-force-https-using-the-htaccess-file#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/kb.34sp.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to force HTTPS using the htaccess file\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/kb.34sp.com\\\/#website\",\"url\":\"https:\\\/\\\/kb.34sp.com\\\/\",\"name\":\"\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/kb.34sp.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/kb.34sp.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/kb.34sp.com\\\/#organization\",\"name\":\"34SP.com Limited\",\"url\":\"https:\\\/\\\/kb.34sp.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/kb.34sp.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/kb.34sp.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/34sp-logo-horizontal-blue.png\",\"contentUrl\":\"https:\\\/\\\/kb.34sp.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/34sp-logo-horizontal-blue.png\",\"width\":3000,\"height\":1286,\"caption\":\"34SP.com Limited\"},\"image\":{\"@id\":\"https:\\\/\\\/kb.34sp.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/34SPWebsiteHosts\\\/\",\"https:\\\/\\\/x.com\\\/34sp\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/kb.34sp.com\\\/#\\\/schema\\\/person\\\/daa527106d35aab27ee3d39e12112172\",\"name\":\"Kayleigh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cee8c3564bca088c8f3300447726634e7e34d11b2002b3de29996ba4da754343?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cee8c3564bca088c8f3300447726634e7e34d11b2002b3de29996ba4da754343?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cee8c3564bca088c8f3300447726634e7e34d11b2002b3de29996ba4da754343?s=96&d=mm&r=g\",\"caption\":\"Kayleigh\"},\"description\":\"As part of the Customer Experience team, Kayleigh ensures that all of our customers get the highest quality of service. Kayleigh started with 34SP in 2014 and is one of our WordPress experts. Kayleigh provides all of our support staff with ongoing training and works to improve their knowledge across a broad range of subjects.\",\"sameAs\":[\"https:\\\/\\\/www.34SP.com\",\"https:\\\/\\\/www.facebook.com\\\/34SPWebsiteHosts\",\"https:\\\/\\\/www.instagram.com\\\/34sp\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/34sp.com\",\"https:\\\/\\\/www.pinterest.co.uk\\\/34SP\",\"https:\\\/\\\/x.com\\\/34sp\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/34SPcomLtd\"],\"url\":\"https:\\\/\\\/kb.34sp.com\\\/author\\\/wp7ctmdod3qm\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to force HTTPS using the htaccess file | Knowledge Base","description":"This is a quick step-by-step walkthrough for forcing your site to load via HTTPS, instead of HTTP.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.34sp.com/kb\/how-to-force-https-using-the-htaccess-file","og_locale":"en_US","og_type":"article","og_title":"How to force HTTPS using the htaccess file | Knowledge Base","og_description":"This is a quick step-by-step walkthrough for forcing your site to load via HTTPS, instead of HTTP.","og_url":"https:\/\/www.34sp.com/kb\/how-to-force-https-using-the-htaccess-file","article_publisher":"https:\/\/www.facebook.com\/34SPWebsiteHosts\/","article_author":"https:\/\/www.facebook.com\/34SPWebsiteHosts","article_published_time":"2021-08-03T08:10:20+00:00","article_modified_time":"2021-08-03T08:10:22+00:00","og_image":[{"url":"https:\/\/www.34sp.com/kb\/wp-content\/uploads\/2021\/08\/hosting-htaccess-001.2.jpg","type":"","width":"","height":""}],"author":"Kayleigh","twitter_card":"summary_large_image","twitter_creator":"@34sp","twitter_site":"@34sp","twitter_misc":{"Written by":"Kayleigh","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.34sp.com/kb\/how-to-force-https-using-the-htaccess-file#article","isPartOf":{"@id":"https:\/\/www.34sp.com/kb\/how-to-force-https-using-the-htaccess-file"},"author":{"name":"Kayleigh","@id":"https:\/\/www.34sp.com/kb\/#\/schema\/person\/daa527106d35aab27ee3d39e12112172"},"headline":"How to force HTTPS using the htaccess file","datePublished":"2021-08-03T08:10:20+00:00","dateModified":"2021-08-03T08:10:22+00:00","mainEntityOfPage":{"@id":"https:\/\/www.34sp.com/kb\/how-to-force-https-using-the-htaccess-file"},"wordCount":272,"publisher":{"@id":"https:\/\/www.34sp.com/kb\/#organization"},"image":{"@id":"https:\/\/www.34sp.com/kb\/how-to-force-https-using-the-htaccess-file#primaryimage"},"thumbnailUrl":"https:\/\/www.34sp.com/kb\/wp-content\/uploads\/2021\/08\/hosting-htaccess-001.2.jpg","keywords":["htaccess","https"],"articleSection":["Professional Hosting","Universal Hosting","WordPress Hosting"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.34sp.com/kb\/how-to-force-https-using-the-htaccess-file","url":"https:\/\/www.34sp.com/kb\/how-to-force-https-using-the-htaccess-file","name":"How to force HTTPS using the htaccess file | Knowledge Base","isPartOf":{"@id":"https:\/\/www.34sp.com/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.34sp.com/kb\/how-to-force-https-using-the-htaccess-file#primaryimage"},"image":{"@id":"https:\/\/www.34sp.com/kb\/how-to-force-https-using-the-htaccess-file#primaryimage"},"thumbnailUrl":"https:\/\/www.34sp.com/kb\/wp-content\/uploads\/2021\/08\/hosting-htaccess-001.2.jpg","datePublished":"2021-08-03T08:10:20+00:00","dateModified":"2021-08-03T08:10:22+00:00","description":"This is a quick step-by-step walkthrough for forcing your site to load via HTTPS, instead of HTTP.","breadcrumb":{"@id":"https:\/\/www.34sp.com/kb\/how-to-force-https-using-the-htaccess-file#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.34sp.com/kb\/how-to-force-https-using-the-htaccess-file"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.34sp.com/kb\/how-to-force-https-using-the-htaccess-file#primaryimage","url":"https:\/\/www.34sp.com\/kb\/wp-content\/uploads\/2021\/08\/hosting-htaccess-001.2.jpg","contentUrl":"https:\/\/www.34sp.com\/kb\/wp-content\/uploads\/2021\/08\/hosting-htaccess-001.2.jpg","width":900,"height":540},{"@type":"BreadcrumbList","@id":"https:\/\/www.34sp.com/kb\/how-to-force-https-using-the-htaccess-file#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.34sp.com/kb\/"},{"@type":"ListItem","position":2,"name":"How to force HTTPS using the htaccess file"}]},{"@type":"WebSite","@id":"https:\/\/www.34sp.com/kb\/#website","url":"https:\/\/www.34sp.com/kb\/","name":"","description":"","publisher":{"@id":"https:\/\/www.34sp.com/kb\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.34sp.com/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.34sp.com/kb\/#organization","name":"34SP.com Limited","url":"https:\/\/www.34sp.com/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.34sp.com/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.34sp.com/kb\/wp-content\/uploads\/2022\/06\/34sp-logo-horizontal-blue.png","contentUrl":"https:\/\/www.34sp.com/kb\/wp-content\/uploads\/2022\/06\/34sp-logo-horizontal-blue.png","width":3000,"height":1286,"caption":"34SP.com Limited"},"image":{"@id":"https:\/\/www.34sp.com/kb\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/34SPWebsiteHosts\/","https:\/\/x.com\/34sp"]},{"@type":"Person","@id":"https:\/\/www.34sp.com/kb\/#\/schema\/person\/daa527106d35aab27ee3d39e12112172","name":"Kayleigh","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/cee8c3564bca088c8f3300447726634e7e34d11b2002b3de29996ba4da754343?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/cee8c3564bca088c8f3300447726634e7e34d11b2002b3de29996ba4da754343?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cee8c3564bca088c8f3300447726634e7e34d11b2002b3de29996ba4da754343?s=96&d=mm&r=g","caption":"Kayleigh"},"description":"As part of the Customer Experience team, Kayleigh ensures that all of our customers get the highest quality of service. Kayleigh started with 34SP in 2014 and is one of our WordPress experts. Kayleigh provides all of our support staff with ongoing training and works to improve their knowledge across a broad range of subjects.","sameAs":["https:\/\/www.34SP.com","https:\/\/www.facebook.com\/34SPWebsiteHosts","https:\/\/www.instagram.com\/34sp\/","https:\/\/www.linkedin.com\/company\/34sp.com","https:\/\/www.pinterest.co.uk\/34SP","https:\/\/x.com\/34sp","https:\/\/www.youtube.com\/c\/34SPcomLtd"],"url":"https:\/\/www.34sp.com/kb\/author\/wp7ctmdod3qm"}]}},"_links":{"self":[{"href":"https:\/\/www.34sp.com/kb\/wp-json\/wp\/v2\/posts\/793","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.34sp.com/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.34sp.com/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.34sp.com/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.34sp.com/kb\/wp-json\/wp\/v2\/comments?post=793"}],"version-history":[{"count":1,"href":"https:\/\/www.34sp.com/kb\/wp-json\/wp\/v2\/posts\/793\/revisions"}],"predecessor-version":[{"id":797,"href":"https:\/\/www.34sp.com/kb\/wp-json\/wp\/v2\/posts\/793\/revisions\/797"}],"wp:attachment":[{"href":"https:\/\/www.34sp.com/kb\/wp-json\/wp\/v2\/media?parent=793"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.34sp.com/kb\/wp-json\/wp\/v2\/categories?post=793"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.34sp.com/kb\/wp-json\/wp\/v2\/tags?post=793"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}