Moving sites and blogs from HTTP to HTTPS is one of the crucial parts for participating in today's competition on SERP. As Google started to rank sites running on a secure connection a bit higher than a regular HTTP website, there is a need to switch to HTTPS considering the benefits of both readers and site owners. Learn how to easily switch WordPress blog to HTTPS. If you have researched a bit more about switching your blog to HTTPS, you must have come across the following steps.

  1. Buy an SSL certificate from a third-party vendor
  2. Install SSL certificate on your server
  3. Configure your site for enabling port 443
  4. Update blog URLs and links
  5. Redirect old HTTP links to new HTTPS link

Are we going to follow this? No. Maybe, we should follow this but not all. The first three steps will be taken care of a third party network for your blog. You need to do the remaining part of the steps to switch WordPress blog to HTTPS. Switch WordPress Blog to HTTPS If you are a beginner, I suggest you implement Cloudflare on your blogs for security and performance.

What is CloudFlare?

Cloudflare is a CDN which helps in securing websites and caching them so that users could see the web page faster than usual. It provides various security services and caching services absolutely for free. However, they provide premium services which include protecting sites from other severe threats.

Create an account at Cloudflare and Add your site

  1. Go to cloudflare.com and sign up for a new account.
  2. Complete all the formalities that are needed for account verification.
  3. Once you have signed up, log into your CloudFlare account and add a new site.
  4. CloudFlare will automatically fetch your name servers, CNAME, A records and other domain configurations.
  5. Now, to make the Cloudflare work, you need to add CloudFlare's nameserver to your domain configuration. You can remove the existing name servers as Cloudflare will be pointing your domain to your host.
  6. Once you have configured, you can check your site's domain configuration on dnswatch.info.

When you are sure that your site is pointing to CloudFlare, you can proceed to next steps.

Enable HTTPS on CloudFlare

  1. Login to Cloudflare account and choose your site.
  2. Click Crypto menu
  3. Under SSL section, change the dropdown to Flexible.

Enable Automatic Redirection from HTTP to HTTPS

  1. Under Crypto menu, find an option that says, "Automatic HTTP rewrites."
  2. Turn on this feature to redirect all HTTP links to https.

Let WordPress know that you have switched to HTTPS

Changing WordPress URL

  1. Login to your WordPress dashboard.
  2. Go to Settings > General.
  3. Update WordPress Address and Site Address fields to https.
  4. Click on Save Changes.

Changing Internal Links

  1. Download and install Velvet Blues Update URLs plugin for WordPress.
  2. Activate and go to Tools > Update URLs.
  3. In the place of Old URL field, provide your HTTP version of your blog address. Example: http://cryptlife.com
  4. In the New URL field, provide the new https version of your blog address. Example: https://cryptlife.com

Resolving Mixed Content Errors

As a WordPress user, you have a plugin to resolve these errors. You should note that this plugin will help plugins and themes to generate a https URL of CSS/JS files to be included in the head section of your theme's page. Really Simple SSL plugin for WordPress will help to resolve such issues. Also, the plugin notifies for further configuration errors and suggests for changes. And voila! that's all, you have switched WordPress blog to HTTPS.

Conclusion

Cloudflare technique of switching WordPress blogs to HTTPS is the simplest method for beginners. Cloudflare free account provides SSL certificate for everyone that uses a shared SSL certificate. In order to get your own dedicated certificate, you need to pay Cloudflare and upload your own dedicated certificate. You need to update the new HTTPS version of your blog URL in Google Analytics. Also, you need to add a new property of HTTPS version and submit a sitemap to Google via Google Seearch Console. Happy Securing your blog!