{"id":501,"date":"2019-09-06T21:28:55","date_gmt":"2019-09-06T21:28:55","guid":{"rendered":"https:\/\/www.rapidsslonline.com\/ssl\/?p=501"},"modified":"2019-09-09T06:03:12","modified_gmt":"2019-09-09T06:03:12","slug":"how-do-i-change-http-to-https-on-my-wordpress-site","status":"publish","type":"post","link":"https:\/\/www.rapidsslonline.com\/ssl\/how-do-i-change-http-to-https-on-my-wordpress-site\/","title":{"rendered":"How Do I Change HTTP to HTTPS on My WordPress Site?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">After <a href=\"https:\/\/www.rapidsslonline.com\/ssl-types.aspx\">purchasing your SSL certificate<\/a> and <a href=\"https:\/\/help.rapidsslonline.com\/support\/solutions\/folders\/22000168667\">installing it on your server<\/a>, you\u2019ll still need to make some changes within WordPress itself to change your HTTP site to HTTPS in WordPress. This will help you ensure that the site and all of its content are redirected to HTTPS. This will not only improve your SEO rankings as your entire website will become secure (<a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/webmasters.googleblog.com\/2014\/08\/https-as-ranking-signal.html\" target=\"_blank\">and Google certainly cares about that!<\/a>), but it\u2019ll help to mitigate some of the site\u2019s security vulnerabilities.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There are two main ways you can\nredirect your WordPress Site from HTTP to HTTPS: <\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Do\nit yourself, or<\/li><li>Use\na plugin, allowing it to do the grunt work for you at the touch of a button. <\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">If you\u2019d rather do the latter, feel free to scroll down to the \u201cUsing Really Simple SSL to Redirect From HTTP to HTTPS\u201d section and follow the included instructions. However, if you don\u2019t use plugins and want to make the switch yourself, here\u2019s how to do it:<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">How to Change HTTP to HTTPS in WordPress<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">To perform a WordPress HTTPS\nredirect, you\u2019ll first need to ensure that your main website address itself is\nusing HTTPS. To do this:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Go to your WordPress Admin page (typically yourdomain.com\/wp-admin).\nThis page should look like this: <\/li><\/ol>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"476\" height=\"509\" data-src=\"https:\/\/www.rapidsslonline.com\/ssl\/wp-content\/uploads\/2019\/09\/WordPress.png\" alt=\"Graphic: WordPress Login Portal\" class=\"wp-image-502 lazyload\" data-srcset=\"https:\/\/www.rapidsslonline.com\/ssl\/wp-content\/uploads\/2019\/09\/WordPress.png 476w, https:\/\/www.rapidsslonline.com\/ssl\/wp-content\/uploads\/2019\/09\/WordPress-281x300.png 281w\" data-sizes=\"(max-width: 476px) 100vw, 476px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 476px; --smush-placeholder-aspect-ratio: 476\/509;\" \/><\/figure><\/div>\n\n\n\n<ol start=\"2\"><li>Next,\nyou\u2019ll need to head over to Settings and then select <strong>General<\/strong>. After\ndoing so, you\u2019ll be presented with a page that looks like this, where you\nshould change the beginning of both the WordPress Address (URL) and Site\nAddress (URL) fields to https:\/\/ as shown below. <\/li><\/ol>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"990\" height=\"345\" data-src=\"https:\/\/www.rapidsslonline.com\/ssl\/wp-content\/uploads\/2019\/06\/wordpress-site-changes.png\" alt=\"Graphic: WordPress General Settings\" class=\"wp-image-202 lazyload\" data-srcset=\"https:\/\/www.rapidsslonline.com\/ssl\/wp-content\/uploads\/2019\/06\/wordpress-site-changes.png 990w, https:\/\/www.rapidsslonline.com\/ssl\/wp-content\/uploads\/2019\/06\/wordpress-site-changes-300x105.png 300w, https:\/\/www.rapidsslonline.com\/ssl\/wp-content\/uploads\/2019\/06\/wordpress-site-changes-768x268.png 768w\" data-sizes=\"(max-width: 990px) 100vw, 990px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 990px; --smush-placeholder-aspect-ratio: 990\/345;\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Doing this takes care of switching your website\u2019s <strong>main page<\/strong> from HTTP to HTTPS. However, your website isn\u2019t fully secure just yet. You also need to secure your website\u2019s content \u2014 such as images and internal links \u2014 as well.&nbsp; To do this, add the following code to your .htaccess file:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"text-align:left\"><em>&lt;IfModule mod_rewrite.c&gt;<\/em><em><br>\nRewriteEngine on<br>\nRewriteCond %{HTTPS} !=on [NC]<br>\nRewriteRule ^(.*)$ https:\/\/%{HTTP_HOST}\/$1\n[R=301,L]<br>\n&lt;\/IfModule&gt;<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This piece of code\nwill rewrite all links and content to their HTTPS counterparts (if applicable).\nHowever, as not all sites have HTTPS available, you should double-check all the\nlinks within your site so that there aren\u2019t any loopholes. If that sounds like\na chore, scroll down to our \u201cReplace HTTP Content with a Plugin\u201d section below\nfor a selection of plugins that will check for HTTP content in your site.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Use Really Simple SSL to Redirect from HTTP to HTTPS<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Redirecting your WordPress website from HTTP to HTTPS manually can be confusing and complicated, which is why plugins like <a href=\"https:\/\/wordpress.org\/plugins\/really-simple-ssl\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Really Simple SSL<\/a> exist. With Really Simple SSL, you can make your entire site HTTPS with one click. It\u2019s <em>really simple<\/em> to use, too. Just activate the plugin and click the \u201cGo Ahead, activate SSL!\u201d button that appears at the top of the plugin page. This plugin also helps to fix mixed content warnings, but dedicated mixed-content fixer plugins like the ones in the next section usually do a better job at that.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Replace HTTP Content with Search and Replace Plugins<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">After redirecting your WordPress site from HTTP to HTTPS, you still need to make sure your content (such as media and links) HTTPS as well. While we\u2019ve already mentioned how you can do this manually, there\u2019s a much easier way: <a href=\"https:\/\/wordpress.org\/plugins\/search\/search+and+replace+http\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Search and Replace plugins<\/a>. These plugins allow you to set parameters to search for (such as all content with HTTP), and alert you of any content that matches those search parameters. This can be useful as it can save you a ton of time to simply click \u201csearch and replace\u201d as opposed to having to manually find content (one by one) that is http and editing it to https. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you got stuck somewhere in the\nprocess of buying your SSL Certificate, installing it, or switching your\nWordPress site from HTTP to HTTPS, you can read our <a href=\"https:\/\/www.rapidsslonline.com\/ssl\/how-to-enable-ssl-https-on-wordpress\/\">Ultimate\nGuide on How to Install SSL &amp; HTTPS on WordPress.<\/a> <\/p>\n\n\n\n<div class=\"graysection\"><h2>Get SSL Certificates Up to 82% Off!<\/h2>\n<p>SSL certificates don&#8217;t have to cost you an arm and a leg. Get SSL certificates starting for as little as $12.42 per year through RapidSSLOnline.com.<\/p>\n<p><a class=\"more-link floatnone\" style=\"text-decoration: none;\" href=\"https:\/\/www.rapidsslonline.com\/ssl-types.aspx\">Shop SSL Certificates<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>After purchasing your SSL certificate and installing it on your server, you\u2019ll still need to make some changes within WordPress itself to change your HTTP site to HTTPS in WordPress.<\/p>\n<div class=\"article-wpr-button\"><a href=\"https:\/\/www.rapidsslonline.com\/ssl\/how-do-i-change-http-to-https-on-my-wordpress-site\/\" class=\"btn btn-green\">Read More<\/a><\/p>\n<div>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,5],"tags":[37],"class_list":["post-501","post","type-post","status-publish","format-standard","category-ssl-advanced","category-wordpress-ssl","tag-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How Do I Change HTTP to HTTPS on My WordPress Site? - SSL\/TLS Certificates<\/title>\n<meta name=\"description\" content=\"Considering that Google labels non-HTTPS websites as &quot;Not Secure,&quot; it&#039;s vital that you change HTTP to HTTPS on your WordPress site. We&#039;ll show you how.\" \/>\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.rapidsslonline.com\/ssl\/how-do-i-change-http-to-https-on-my-wordpress-site\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How Do I Change HTTP to HTTPS on My WordPress Site? - SSL\/TLS Certificates\" \/>\n<meta property=\"og:description\" content=\"Considering that Google labels non-HTTPS websites as &quot;Not Secure,&quot; it&#039;s vital that you change HTTP to HTTPS on your WordPress site. We&#039;ll show you how.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rapidsslonline.com\/ssl\/how-do-i-change-http-to-https-on-my-wordpress-site\/\" \/>\n<meta property=\"og:site_name\" content=\"SSL\/TLS Certificates\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/rsosslcertificates\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-09-06T21:28:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-09-09T06:03:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rapidsslonline.com\/ssl\/wp-content\/uploads\/2019\/09\/WordPress.png\" \/>\n<meta name=\"author\" content=\"Casey Crane\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@RSOSSL\" \/>\n<meta name=\"twitter:site\" content=\"@RSOSSL\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Casey Crane\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How Do I Change HTTP to HTTPS on My WordPress Site? - SSL\/TLS Certificates","description":"Considering that Google labels non-HTTPS websites as \"Not Secure,\" it's vital that you change HTTP to HTTPS on your WordPress site. We'll show you how.","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.rapidsslonline.com\/ssl\/how-do-i-change-http-to-https-on-my-wordpress-site\/","og_locale":"en_US","og_type":"article","og_title":"How Do I Change HTTP to HTTPS on My WordPress Site? - SSL\/TLS Certificates","og_description":"Considering that Google labels non-HTTPS websites as \"Not Secure,\" it's vital that you change HTTP to HTTPS on your WordPress site. We'll show you how.","og_url":"https:\/\/www.rapidsslonline.com\/ssl\/how-do-i-change-http-to-https-on-my-wordpress-site\/","og_site_name":"SSL\/TLS Certificates","article_publisher":"https:\/\/www.facebook.com\/rsosslcertificates\/","article_published_time":"2019-09-06T21:28:55+00:00","article_modified_time":"2019-09-09T06:03:12+00:00","og_image":[{"url":"https:\/\/www.rapidsslonline.com\/ssl\/wp-content\/uploads\/2019\/09\/WordPress.png","type":"","width":"","height":""}],"author":"Casey Crane","twitter_card":"summary_large_image","twitter_creator":"@RSOSSL","twitter_site":"@RSOSSL","twitter_misc":{"Written by":"Casey Crane","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rapidsslonline.com\/ssl\/how-do-i-change-http-to-https-on-my-wordpress-site\/#article","isPartOf":{"@id":"https:\/\/www.rapidsslonline.com\/ssl\/how-do-i-change-http-to-https-on-my-wordpress-site\/"},"author":{"name":"Casey Crane","@id":"https:\/\/www.rapidsslonline.com\/ssl\/#\/schema\/person\/24349032d0b90283d4682ad113e46d4d"},"headline":"How Do I Change HTTP to HTTPS on My WordPress Site?","datePublished":"2019-09-06T21:28:55+00:00","dateModified":"2019-09-09T06:03:12+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rapidsslonline.com\/ssl\/how-do-i-change-http-to-https-on-my-wordpress-site\/"},"wordCount":719,"commentCount":0,"publisher":{"@id":"https:\/\/www.rapidsslonline.com\/ssl\/#organization"},"image":{"@id":"https:\/\/www.rapidsslonline.com\/ssl\/how-do-i-change-http-to-https-on-my-wordpress-site\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rapidsslonline.com\/ssl\/wp-content\/uploads\/2019\/09\/WordPress.png","keywords":["WordPress"],"articleSection":["SSL Advanced","WordPress SSL"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.rapidsslonline.com\/ssl\/how-do-i-change-http-to-https-on-my-wordpress-site\/","url":"https:\/\/www.rapidsslonline.com\/ssl\/how-do-i-change-http-to-https-on-my-wordpress-site\/","name":"How Do I Change HTTP to HTTPS on My WordPress Site? - SSL\/TLS Certificates","isPartOf":{"@id":"https:\/\/www.rapidsslonline.com\/ssl\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rapidsslonline.com\/ssl\/how-do-i-change-http-to-https-on-my-wordpress-site\/#primaryimage"},"image":{"@id":"https:\/\/www.rapidsslonline.com\/ssl\/how-do-i-change-http-to-https-on-my-wordpress-site\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rapidsslonline.com\/ssl\/wp-content\/uploads\/2019\/09\/WordPress.png","datePublished":"2019-09-06T21:28:55+00:00","dateModified":"2019-09-09T06:03:12+00:00","description":"Considering that Google labels non-HTTPS websites as \"Not Secure,\" it's vital that you change HTTP to HTTPS on your WordPress site. We'll show you how.","breadcrumb":{"@id":"https:\/\/www.rapidsslonline.com\/ssl\/how-do-i-change-http-to-https-on-my-wordpress-site\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rapidsslonline.com\/ssl\/how-do-i-change-http-to-https-on-my-wordpress-site\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rapidsslonline.com\/ssl\/how-do-i-change-http-to-https-on-my-wordpress-site\/#primaryimage","url":"https:\/\/www.rapidsslonline.com\/ssl\/wp-content\/uploads\/2019\/09\/WordPress.png","contentUrl":"https:\/\/www.rapidsslonline.com\/ssl\/wp-content\/uploads\/2019\/09\/WordPress.png","width":476,"height":509,"caption":"Graphic: WordPress Login Portal"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rapidsslonline.com\/ssl\/how-do-i-change-http-to-https-on-my-wordpress-site\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"SSL Resources","item":"https:\/\/www.rapidsslonline.com\/ssl\/"},{"@type":"ListItem","position":2,"name":"SSL Advanced","item":"https:\/\/www.rapidsslonline.com\/ssl\/ssl-advanced\/"},{"@type":"ListItem","position":3,"name":"How Do I Change HTTP to HTTPS on My WordPress Site?"}]},{"@type":"WebSite","@id":"https:\/\/www.rapidsslonline.com\/ssl\/#website","url":"https:\/\/www.rapidsslonline.com\/ssl\/","name":"SSL\/TLS Certificates","description":"Secure a website in few minutes with Trusted SSL Certificate","publisher":{"@id":"https:\/\/www.rapidsslonline.com\/ssl\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rapidsslonline.com\/ssl\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rapidsslonline.com\/ssl\/#organization","name":"RapidSSLOnline","url":"https:\/\/www.rapidsslonline.com\/ssl\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rapidsslonline.com\/ssl\/#\/schema\/logo\/image\/","url":"https:\/\/www.rapidsslonline.com\/ssl\/wp-content\/uploads\/2019\/10\/rapidsslonline-logo.png","contentUrl":"https:\/\/www.rapidsslonline.com\/ssl\/wp-content\/uploads\/2019\/10\/rapidsslonline-logo.png","width":266,"height":39,"caption":"RapidSSLOnline"},"image":{"@id":"https:\/\/www.rapidsslonline.com\/ssl\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/rsosslcertificates\/","https:\/\/x.com\/RSOSSL","https:\/\/in.linkedin.com\/company\/rapidsslonline-com"]},{"@type":"Person","@id":"https:\/\/www.rapidsslonline.com\/ssl\/#\/schema\/person\/24349032d0b90283d4682ad113e46d4d","name":"Casey Crane","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/c18d819d34a1995e91a4aa7518e9048df7856f336a1ede2262a572db7b1c2506?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c18d819d34a1995e91a4aa7518e9048df7856f336a1ede2262a572db7b1c2506?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c18d819d34a1995e91a4aa7518e9048df7856f336a1ede2262a572db7b1c2506?s=96&d=mm&r=g","caption":"Casey Crane"}}]}},"_links":{"self":[{"href":"https:\/\/www.rapidsslonline.com\/ssl\/wp-json\/wp\/v2\/posts\/501","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rapidsslonline.com\/ssl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rapidsslonline.com\/ssl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rapidsslonline.com\/ssl\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rapidsslonline.com\/ssl\/wp-json\/wp\/v2\/comments?post=501"}],"version-history":[{"count":0,"href":"https:\/\/www.rapidsslonline.com\/ssl\/wp-json\/wp\/v2\/posts\/501\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rapidsslonline.com\/ssl\/wp-json\/wp\/v2\/media?parent=501"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rapidsslonline.com\/ssl\/wp-json\/wp\/v2\/categories?post=501"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rapidsslonline.com\/ssl\/wp-json\/wp\/v2\/tags?post=501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}