{"id":8835,"date":"2023-07-13T06:34:13","date_gmt":"2023-07-13T06:34:13","guid":{"rendered":"https:\/\/truehost.com\/support\/?post_type=ht_kb&#038;p=8835"},"modified":"2024-06-21T08:33:46","modified_gmt":"2024-06-21T08:33:46","password":"","slug":"force-http-to-https-redirect-in-prestashop","status":"publish","type":"docs","link":"https:\/\/truehost.com\/support\/knowledge-base\/force-http-to-https-redirect-in-prestashop\/","title":{"rendered":"How To Force HTTP To HTTPS Redirect In Prestashop"},"content":{"rendered":"\n<p>Do you want to secure your Prestashop? Here is a guide to force HTTP to HTTPS redirect in Prestashop.<\/p>\n\n\n\n<p><a href=\"https:\/\/prestashop.com\/\">PrestaShop<\/a> is an open-source e-commerce software that allows you to create and manage your online store.&nbsp;<\/p>\n\n\n\n<p>PrestaShop is a popular choice for e-commerce businesses of all sizes, as it is easy to use and offers a wide range of features.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Why use PrestaShop?<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>It is free and open-source- you can download and use PrestaShop without cost. Also, customize the software to meet your specific needs.<\/li><li>It is easy to use- PrestaShop has a user-friendly interface that makes creating and managing your online store easy.&nbsp;<\/li><li>It is scalable- easily grow your store as your business grows. You can add more products, increase traffic, and sell in multiple languages.<\/li><li>It has a large community- there is a large community of PrestaShop users and developers who can help you if you need assistance. Many resources, such as tutorials, documentation, and forums, are available online.<\/li><\/ul>\n\n\n\n<p>Unique features of PrestaShop:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Themes and modules: PrestaShop has a marketplace where you can find thousands of themes and modules to customize your store.<\/li><li>Multi-language support: PrestaShop supports over 70 languages, so you can sell to customers worldwide.<\/li><li>SEO tools: PrestaShop has built-in SEO tools to help you improve your store&#8217;s search engine ranking.<\/li><li>Marketing tools: PrestaShop has various marketing tools to help you promote your store, such as email marketing, affiliate marketing, and social media marketing.<\/li><li>Extensive features: PrestaShop has many features, including product management, customer management, order management, and shipping management.<\/li><\/ol>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Let&#8217;s now force HTTP to HTTPS redirect in Prestashop:<\/strong><\/h3>\n\n\n\n<p>To force HTTP to HTTPS redirect in Prestashop, follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Go to the <strong>Admin<\/strong> panel and click on <strong>Configuration<\/strong>.<\/li><li>Click on <strong>Advanced<\/strong> and then on <strong>General<\/strong>.<\/li><li>In the <strong>Enable SSL on all pages<\/strong> section, check the Yes box <strong>Force HTTPS<\/strong>.<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/4aC0xktGn3ynVRAgwUAKxGEq_30vCtyNk--LqgzXa5KdSgA72_qqLIHT56WvESIqKGocmYKeY9hfVBiDa0tDjehLylseLlKDmmy9q14ilngU2OIzwxXmEbAXJ9riX_s-9gWJZ4dw0cu-pbSoJHAhfTQ\" alt=\"force HTTP to HTTPS redirect in Prestashop\"\/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\"><li>Click on <strong>Save<\/strong>.<\/li><li>Now refresh the page.<\/li><\/ol>\n\n\n\n<p>It&#8217;s that easy to force HTPP to HTTPS redirect in Prestashop! Alternatively, one can edit the .htaccess file.\u00a0<\/p>\n\n\n\n<p>To do this, use this procedure:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Find the .htaccess file in the root directory of your PrestaShop installation.<\/li><li>Open the file in a text editor.<\/li><li>Add the following code to the file:<\/li><\/ol>\n\n\n\n<p><em>RewriteEngine On<\/em><\/p>\n\n\n\n<p><em>RewriteCond %{SERVER_PORT} 80<\/em><\/p>\n\n\n\n<p><em>RewriteRule ^(.*)$ https:\/\/%{HTTP_HOST}\/$1 [R,L]<\/em><\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\"><li>Please save the file and close it.<\/li><\/ol>\n\n\n\n<p>Once you have done this, all HTTP requests will be redirected to HTTPS.<\/p>\n\n\n\n<p>Here are some additional tips:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Ensure your SSL certificate is installed and valid. You can check your SSL certificate by visiting your website and looking for a padlock icon in the address bar. If you don&#8217;t see a padlock icon, your website is not using HTTPS.<\/li><li>Test your website to make sure that the redirect is working properly. You can do this by visiting your website in <a href=\"https:\/\/truehost.com\/support\/knowledge-base\/http-to-https-redirect-on-wordpress\/\">HTTP and HTTPS<\/a> and ensuring you are redirected to the HTTPS version.<\/li><li>Consider using a CDN to improve the performance of your website. A CDN is a network of servers that can deliver content to users more quickly.<\/li><\/ul>\n\n\n\n<p>Now your redirect is ready for your Prestashop.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Do you want to secure your Prestashop? Here is a guide to force HTTP to HTTPS redirect in Prestashop. PrestaShop is an open-source e-commerce software that allows you to create and manage your online store.&nbsp; PrestaShop is a popular choice for e-commerce businesses of all sizes, as it is easy to use and offers a [&hellip;]<\/p>\n","protected":false},"author":23,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_eb_attr":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"doc_category":[1838],"doc_tag":[],"class_list":["post-8835","docs","type-docs","status-publish","hentry","doc_category-wordpress"],"year_month":"2026-07","word_count":505,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"Mark","author_nicename":"mark","author_url":"https:\/\/truehost.com\/support\/author\/mark\/"},"doc_category_info":[{"term_name":"WordPress","term_url":"https:\/\/truehost.com\/support\/docs-category\/wordpress\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How To Force HTTP To HTTPS Redirect In Prestashop<\/title>\n<meta name=\"description\" content=\"Do you want to force HTTP to HTTPS redirect in Prestashop? Well, this guide will show you how to and why it&#039;s important. Get informed today\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/truehost.com\/support\/knowledge-base\/force-http-to-https-redirect-in-prestashop\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Force HTTP To HTTPS Redirect In Prestashop\" \/>\n<meta property=\"og:description\" content=\"Do you want to force HTTP to HTTPS redirect in Prestashop? Well, this guide will show you how to and why it&#039;s important. Get informed today\" \/>\n<meta property=\"og:url\" content=\"https:\/\/truehost.com\/support\/knowledge-base\/force-http-to-https-redirect-in-prestashop\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-21T08:33:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/lh3.googleusercontent.com\/4aC0xktGn3ynVRAgwUAKxGEq_30vCtyNk--LqgzXa5KdSgA72_qqLIHT56WvESIqKGocmYKeY9hfVBiDa0tDjehLylseLlKDmmy9q14ilngU2OIzwxXmEbAXJ9riX_s-9gWJZ4dw0cu-pbSoJHAhfTQ\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/force-http-to-https-redirect-in-prestashop\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/force-http-to-https-redirect-in-prestashop\\\/\",\"name\":\"How To Force HTTP To HTTPS Redirect In Prestashop\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/force-http-to-https-redirect-in-prestashop\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/force-http-to-https-redirect-in-prestashop\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/lh3.googleusercontent.com\\\/4aC0xktGn3ynVRAgwUAKxGEq_30vCtyNk--LqgzXa5KdSgA72_qqLIHT56WvESIqKGocmYKeY9hfVBiDa0tDjehLylseLlKDmmy9q14ilngU2OIzwxXmEbAXJ9riX_s-9gWJZ4dw0cu-pbSoJHAhfTQ\",\"datePublished\":\"2023-07-13T06:34:13+00:00\",\"dateModified\":\"2024-06-21T08:33:46+00:00\",\"description\":\"Do you want to force HTTP to HTTPS redirect in Prestashop? Well, this guide will show you how to and why it's important. Get informed today\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/force-http-to-https-redirect-in-prestashop\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/force-http-to-https-redirect-in-prestashop\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/force-http-to-https-redirect-in-prestashop\\\/#primaryimage\",\"url\":\"https:\\\/\\\/lh3.googleusercontent.com\\\/4aC0xktGn3ynVRAgwUAKxGEq_30vCtyNk--LqgzXa5KdSgA72_qqLIHT56WvESIqKGocmYKeY9hfVBiDa0tDjehLylseLlKDmmy9q14ilngU2OIzwxXmEbAXJ9riX_s-9gWJZ4dw0cu-pbSoJHAhfTQ\",\"contentUrl\":\"https:\\\/\\\/lh3.googleusercontent.com\\\/4aC0xktGn3ynVRAgwUAKxGEq_30vCtyNk--LqgzXa5KdSgA72_qqLIHT56WvESIqKGocmYKeY9hfVBiDa0tDjehLylseLlKDmmy9q14ilngU2OIzwxXmEbAXJ9riX_s-9gWJZ4dw0cu-pbSoJHAhfTQ\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/force-http-to-https-redirect-in-prestashop\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/truehost.com\\\/support\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Force HTTP To HTTPS Redirect In Prestashop\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"name\":\"\",\"description\":\"Help In a Click\",\"publisher\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/truehost.com\\\/support\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\",\"name\":\"Truehost Kenya\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"contentUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"width\":240,\"height\":48,\"caption\":\"Truehost Kenya\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Force HTTP To HTTPS Redirect In Prestashop","description":"Do you want to force HTTP to HTTPS redirect in Prestashop? Well, this guide will show you how to and why it's important. Get informed today","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:\/\/truehost.com\/support\/knowledge-base\/force-http-to-https-redirect-in-prestashop\/","og_locale":"en_US","og_type":"article","og_title":"How To Force HTTP To HTTPS Redirect In Prestashop","og_description":"Do you want to force HTTP to HTTPS redirect in Prestashop? Well, this guide will show you how to and why it's important. Get informed today","og_url":"https:\/\/truehost.com\/support\/knowledge-base\/force-http-to-https-redirect-in-prestashop\/","article_modified_time":"2024-06-21T08:33:46+00:00","og_image":[{"url":"https:\/\/lh3.googleusercontent.com\/4aC0xktGn3ynVRAgwUAKxGEq_30vCtyNk--LqgzXa5KdSgA72_qqLIHT56WvESIqKGocmYKeY9hfVBiDa0tDjehLylseLlKDmmy9q14ilngU2OIzwxXmEbAXJ9riX_s-9gWJZ4dw0cu-pbSoJHAhfTQ","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/truehost.com\/support\/knowledge-base\/force-http-to-https-redirect-in-prestashop\/","url":"https:\/\/truehost.com\/support\/knowledge-base\/force-http-to-https-redirect-in-prestashop\/","name":"How To Force HTTP To HTTPS Redirect In Prestashop","isPartOf":{"@id":"https:\/\/truehost.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/force-http-to-https-redirect-in-prestashop\/#primaryimage"},"image":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/force-http-to-https-redirect-in-prestashop\/#primaryimage"},"thumbnailUrl":"https:\/\/lh3.googleusercontent.com\/4aC0xktGn3ynVRAgwUAKxGEq_30vCtyNk--LqgzXa5KdSgA72_qqLIHT56WvESIqKGocmYKeY9hfVBiDa0tDjehLylseLlKDmmy9q14ilngU2OIzwxXmEbAXJ9riX_s-9gWJZ4dw0cu-pbSoJHAhfTQ","datePublished":"2023-07-13T06:34:13+00:00","dateModified":"2024-06-21T08:33:46+00:00","description":"Do you want to force HTTP to HTTPS redirect in Prestashop? Well, this guide will show you how to and why it's important. Get informed today","breadcrumb":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/force-http-to-https-redirect-in-prestashop\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/truehost.com\/support\/knowledge-base\/force-http-to-https-redirect-in-prestashop\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/knowledge-base\/force-http-to-https-redirect-in-prestashop\/#primaryimage","url":"https:\/\/lh3.googleusercontent.com\/4aC0xktGn3ynVRAgwUAKxGEq_30vCtyNk--LqgzXa5KdSgA72_qqLIHT56WvESIqKGocmYKeY9hfVBiDa0tDjehLylseLlKDmmy9q14ilngU2OIzwxXmEbAXJ9riX_s-9gWJZ4dw0cu-pbSoJHAhfTQ","contentUrl":"https:\/\/lh3.googleusercontent.com\/4aC0xktGn3ynVRAgwUAKxGEq_30vCtyNk--LqgzXa5KdSgA72_qqLIHT56WvESIqKGocmYKeY9hfVBiDa0tDjehLylseLlKDmmy9q14ilngU2OIzwxXmEbAXJ9riX_s-9gWJZ4dw0cu-pbSoJHAhfTQ"},{"@type":"BreadcrumbList","@id":"https:\/\/truehost.com\/support\/knowledge-base\/force-http-to-https-redirect-in-prestashop\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/truehost.com\/support\/"},{"@type":"ListItem","position":2,"name":"How To Force HTTP To HTTPS Redirect In Prestashop"}]},{"@type":"WebSite","@id":"https:\/\/truehost.com\/support\/#website","url":"https:\/\/truehost.com\/support\/","name":"","description":"Help In a Click","publisher":{"@id":"https:\/\/truehost.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/truehost.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/truehost.com\/support\/#organization","name":"Truehost Kenya","url":"https:\/\/truehost.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","contentUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","width":240,"height":48,"caption":"Truehost Kenya"},"image":{"@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/8835","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/users\/23"}],"replies":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/comments?post=8835"}],"version-history":[{"count":1,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/8835\/revisions"}],"predecessor-version":[{"id":8836,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/8835\/revisions\/8836"}],"wp:attachment":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/media?parent=8835"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_category?post=8835"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_tag?post=8835"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}