{"id":874,"date":"2021-05-17T07:55:29","date_gmt":"2021-05-17T07:55:29","guid":{"rendered":"https:\/\/neoxea.com\/blog\/?p=874"},"modified":"2023-07-02T21:04:00","modified_gmt":"2023-07-02T20:04:00","slug":"install-https-in-wordpress","status":"publish","type":"post","link":"https:\/\/neoxea.com\/blog\/install-https-in-wordpress\/","title":{"rendered":"Install HTTPS in WordPress"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\" id=\"h-benefits-of-using-https\">Benefits of using HTTPS<\/h3>\n\n\n\n<p>HTTPS is&nbsp;<a target=\"_blank\" href=\"https:\/\/www.instantssl.com\/ssl-certificate-products\/https.html\" rel=\"noreferrer noopener\">a secure version of HTTP<\/a>, which is a protocol for transferring data over the web. If you\u2019re browsing a site with HTTPS enabled, your experience should remain the same, but all the data you send will be encrypted.<\/p>\n\n\n\n<p>In most cases, HTTPS goes hand-in-hand with SSL certificates, which verify a site\u2019s identity. Let\u2019s put it this way \u2013 if someone decided to set up a&nbsp;<a target=\"_blank\" href=\"https:\/\/en.wikipedia.org\/wiki\/Phishing\" rel=\"noreferrer noopener\">phishing site<\/a>&nbsp;that looked exactly like Google, they&nbsp;<em>could.<\/em>&nbsp;However, they wouldn\u2019t be able to set up an SSL certificate for it, which means their ruse wouldn\u2019t hold up.<\/p>\n\n\n\n<p>Foiling attackers and phishers aren\u2019t the only benefits of enabling HTTPS for your website. You also get to enjoy the following perks:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Improved Search Engine Optimization (SEO).&nbsp;<\/strong><a target=\"_blank\" href=\"http:\/\/searchengineland.com\/google-starts-giving-ranking-boost-secure-httpsssl-sites-199446\" rel=\"noreferrer noopener\">Google favors sites<\/a>&nbsp;that emphasize security by enabling HTTPS. Doing so might not rocket you to a top results page spot overnight, but it can give you a slight boost.<\/li>\n\n\n\n<li><strong>Increased trust from your users.&nbsp;<\/strong>For many people, knowing that you\u2019re taking steps to secure their data might be enough to improve their opinion about your site. It\u2019s a win-win situation.<\/li>\n<\/ol>\n\n\n\n<p>Now that you know what HTTPS is and how it relates to SSL Certificates let\u2019s talk about enabling it for your websites.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-how-to-enable-https-through-your-web-hosting\">How to Enable HTTPS Through your Web Hosting<\/h3>\n\n\n\n<p>By now, you know that SSL certificates and HTTPS go hand in hand. That means you\u2019ll need to set up the former if you want to enable the latter correctly.<\/p>\n\n\n\n<p>Depending on your web host, there are two ways you can go about this:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Get a third-party SSL certificate and set it up through your hosting cPanel.<\/li>\n\n\n\n<li>Find a provider that offers options to set things up on your behalf.<\/li>\n<\/ol>\n\n\n\n<p>If you\u2019re going to opt for the first route, you can use the&nbsp;<em>SSL\/TLS<\/em>&nbsp;option on your neoxea cPanel to assist you through the whole process:<\/p>\n\n\n\n<p>On the other hand, we also offer free SSL certificates by default alongside our plans and HTTPS support.<\/p>\n\n\n\n<p>That means you can enjoy the benefits without worrying about enabling HTTPS manually.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-how-to-enable-https-within-wordpress\">How to Enable HTTPS Within WordPress<\/h3>\n\n\n\n<p>If you\u2019re a WordPress user, there are a couple more steps you have to go through to enable HTTPS for your site. For those of you setting up new websites, all you need to do is specify the HTTPS prefix under the&nbsp;<em>Choose Protocol&nbsp;<\/em>field during the setup process:<\/p>\n\n\n\n<p>On the other hand, if you already have a website up and running, you\u2019ll need to update several areas on the&nbsp;<em>Settings&nbsp;<\/em>tab within your dashboard. They are&nbsp;<em>WordPress Address (URL)&nbsp;<\/em>and&nbsp;<em>Site Address (URL)<\/em>, and you need to make sure they\u2019re both using the HTTPS prefix:<\/p>\n\n\n\n<p>Afterward, you\u2019ll need to access your site\u2019s root directory (usually named either&nbsp;<em>public_html&nbsp;<\/em>or&nbsp;<em>www<\/em>) using an FTP client \u2013 we recommend&nbsp;<a target=\"_blank\" href=\"https:\/\/filezilla-project.org\/\" rel=\"noreferrer noopener\">FileZilla<\/a>. Inside that folder, you\u2019ll find a file called&nbsp;<em>.htaccess<\/em>, which handles your installation\u2019s permalink structure and redirects (among other functions):<\/p>\n\n\n\n<p>You\u2019ll need to modify this file by right-clicking on it and choosing&nbsp;<em>View\/Edit,&nbsp;<\/em>which will enable you to change it using a text editor:<\/p>\n\n\n\n<p>Now, add the following lines to your file and save the changes when you are ready:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;IfModule mod_rewrite.c>\n\nRewriteEngine On\n\nRewriteCond %{SERVER_PORT} 80\n\nRewriteRule ^(.*)$ https:\/\/www.yoursite.com\/$1 &#91;R,L]\n\n&lt;\/IfModule><\/code><\/pre>\n\n\n\n<p>This code snippet will create a redirect so that any user who tries to access your site using HTTP will force HTTPS instead. It sounds drastic, but it\u2019s the best way to ensure that your visitors\u2019 data remains safe at all times.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.a2hosting.com\/blog\/content\/uploads\/2017\/04\/htaccess.png\" target=\"_blank\" rel=\"noopener noreferrer\"><picture><source srcset=\"https:\/\/www.a2hosting.com\/blog\/content\/uploads\/2017\/04\/htaccess.png.webp\" type=\"image\/webp\" data-srcset=\"https:\/\/www.a2hosting.com\/blog\/content\/uploads\/2017\/04\/htaccess.png.webp\"><\/picture><\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/www.a2hosting.com\/blog\/content\/uploads\/2017\/04\/a2-hosting-ssl.png\" target=\"_blank\" rel=\"noopener noreferrer\"><picture><source srcset=\"https:\/\/www.a2hosting.com\/blog\/content\/uploads\/2017\/04\/a2-hosting-ssl.png.webp\" type=\"image\/webp\" data-srcset=\"https:\/\/www.a2hosting.com\/blog\/content\/uploads\/2017\/04\/a2-hosting-ssl.png.webp\"><\/picture><\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/www.a2hosting.com\/blog\/content\/uploads\/2017\/04\/ssl-tls.png\" target=\"_blank\" rel=\"noopener noreferrer\"><picture><source srcset=\"https:\/\/www.a2hosting.com\/blog\/content\/uploads\/2017\/04\/ssl-tls.png.webp\" type=\"image\/webp\" data-srcset=\"https:\/\/www.a2hosting.com\/blog\/content\/uploads\/2017\/04\/ssl-tls.png.webp\"><\/picture><\/a><\/p>\n\n\n<style>.kb-row-layout-id1958_9b7b8d-00 > .kt-row-column-wrap{align-content:start;}:where(.kb-row-layout-id1958_9b7b8d-00 > .kt-row-column-wrap) > .wp-block-kadence-column{justify-content:start;}.kb-row-layout-id1958_9b7b8d-00 > .kt-row-column-wrap{column-gap:var(--global-kb-gap-md, 2rem);row-gap:var(--global-kb-gap-none, 0rem );padding-top:var(--global-kb-spacing-sm, 1.5rem);padding-bottom:var(--global-kb-spacing-sm, 1.5rem);grid-template-columns:minmax(0, 1fr);}.kb-row-layout-id1958_9b7b8d-00 > .kt-row-layout-overlay{opacity:0.30;}@media all and (max-width: 1024px){.kb-row-layout-id1958_9b7b8d-00 > .kt-row-column-wrap{grid-template-columns:minmax(0, 1fr);}}@media all and (max-width: 767px){.kb-row-layout-id1958_9b7b8d-00 > .kt-row-column-wrap{grid-template-columns:minmax(0, 1fr);}}<\/style><div class=\"kb-row-layout-wrap kb-row-layout-id1958_9b7b8d-00 alignnone wp-block-kadence-rowlayout\"><div class=\"kt-row-column-wrap kt-has-1-columns kt-row-layout-equal kt-tab-layout-inherit kt-mobile-layout-row kt-row-valign-top\">\n<style>.kadence-column1958_62eb2d-49 > .kt-inside-inner-col,.kadence-column1958_62eb2d-49 > .kt-inside-inner-col:before{border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;}.kadence-column1958_62eb2d-49 > .kt-inside-inner-col{column-gap:var(--global-kb-gap-sm, 1rem);}.kadence-column1958_62eb2d-49 > .kt-inside-inner-col{flex-direction:column;}.kadence-column1958_62eb2d-49 > .kt-inside-inner-col > .aligncenter{width:100%;}.kadence-column1958_62eb2d-49 > .kt-inside-inner-col:before{opacity:0.3;}.kadence-column1958_62eb2d-49{position:relative;}@media all and (max-width: 1024px){.kadence-column1958_62eb2d-49 > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}@media all and (max-width: 767px){.kadence-column1958_62eb2d-49 > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}<\/style>\n<div class=\"wp-block-kadence-column kadence-column1958_62eb2d-49\"><div class=\"kt-inside-inner-col\"><style>.wp-block-kadence-spacer.kt-block-spacer-1958_649432-7f .kt-block-spacer{height:60px;}.wp-block-kadence-spacer.kt-block-spacer-1958_649432-7f .kt-divider{border-top-width:5px;height:1px;border-top-color:#3293e3;width:10%;border-top-style:solid;}<\/style>\n<div class=\"wp-block-kadence-spacer aligncenter kt-block-spacer-1958_649432-7f\"><div class=\"kt-block-spacer kt-block-spacer-halign-left\"><hr class=\"kt-divider\"\/><\/div><\/div>\n\n\n\n<p>Save time and money, plus make your website go faster with our next-generation cloud platform available in every Managed WordPress plan. This includes a high-performance web server, DDoS protection, malware and email spam mitigation, a free cache plugin, and the world&#8217;s fastest AMD CPU machines. Get started with no long-term contracts, free migrations, and a 30-day money-back guarantee.<br>Check out our <a href=\"https:\/\/neoxea.com\/pricing\/\">plans<\/a> or talk to <a href=\"https:\/\/neoxea.com\/contact-us\/\">sales<\/a> to find the right plan for you.<\/p>\n<\/div><\/div>\n\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Benefits of using HTTPS HTTPS is&nbsp;a secure version of HTTP, which is a protocol for transferring data over the web. If you\u2019re browsing a site with HTTPS enabled, your experience should remain the same, but all the data you send will be encrypted. In most cases, HTTPS goes hand-in-hand with SSL certificates, which verify a&#8230;<\/p>\n","protected":false},"author":1,"featured_media":875,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[6,27],"tags":[],"class_list":["post-874","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-security","category-wordpress"],"taxonomy_info":{"category":[{"value":6,"label":"Security"},{"value":27,"label":"WordPress"}]},"featured_image_src_large":["https:\/\/neoxea.com\/blog\/wp-content\/uploads\/2021\/08\/https300.png",300,300,false],"author_info":{"display_name":"Rodolfo","author_link":"https:\/\/neoxea.com\/blog\/author\/blogxea\/"},"comment_info":0,"category_info":[{"term_id":6,"name":"Security","slug":"security","term_group":0,"term_taxonomy_id":6,"taxonomy":"category","description":"","parent":0,"count":5,"filter":"raw","cat_ID":6,"category_count":5,"category_description":"","cat_name":"Security","category_nicename":"security","category_parent":0},{"term_id":27,"name":"WordPress","slug":"wordpress","term_group":0,"term_taxonomy_id":27,"taxonomy":"category","description":"","parent":0,"count":13,"filter":"raw","cat_ID":27,"category_count":13,"category_description":"","cat_name":"WordPress","category_nicename":"wordpress","category_parent":0}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/neoxea.com\/blog\/wp-json\/wp\/v2\/posts\/874","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/neoxea.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/neoxea.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/neoxea.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/neoxea.com\/blog\/wp-json\/wp\/v2\/comments?post=874"}],"version-history":[{"count":0,"href":"https:\/\/neoxea.com\/blog\/wp-json\/wp\/v2\/posts\/874\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/neoxea.com\/blog\/wp-json\/wp\/v2\/media\/875"}],"wp:attachment":[{"href":"https:\/\/neoxea.com\/blog\/wp-json\/wp\/v2\/media?parent=874"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/neoxea.com\/blog\/wp-json\/wp\/v2\/categories?post=874"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/neoxea.com\/blog\/wp-json\/wp\/v2\/tags?post=874"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}