How to Install WordPress SSL Certificate?

How to Install WordPress SSL Certificate?

WordPress SSL certificate install is one of the most complicated software among popular software. In addition to being difficult to switch, Do I lose my indexes? Can I lose my search engine ranking? Will it cause loss of SEO? etc. There are a lot of questions people's minds.

However, if you follow all the steps in order, you can switch from HTTP to HTTPS without any problems.

Purchase SSL Certificate

Before you can install SSL on WordPress, you must purchase an SSL Certificate and install it on your server. You may have information about the installation steps from our How to Install an SSL Certificate? article.

Why should I migration from Http to Https?

"I have an ordinary blog or website". Why should I use an SSL certificate? You could be right until recently but Web browsers are starting to give various alerts in non-https web sites. These warnings can cause adverse effects on your visitors.

After HTTPS switch, even though it causes the concern of losing rankings to website owners, It is officially explained by google that there will be no such loss with a proper 301 redirect. It is also explained that when you switch to https, it will have a good effect on your rankings.

Things to Do Before Starting

Before you begin, it's important to pay attention to the following steps.

  • First, make a backup of your website and make sure your backup is working.
  • If you have plugin that overwrite the htaccess file, disable the write feature or plugin until you complete the https pass.
  • Disable your site if you have any cache plugin. You can re-enable it after the installation is complete.
  • Buy your static IP address (not required on SNI supported servers) 1-2 days before the SSL Certificate. This will make the switch to HTTPS faster.
  • When you switch from HTTP to HTTPS, all your social media share counts will be reset. Unfortunately, there is no precautions for this.
  • Finally, read this article from beginning to end before proceeding to apply. Then go back and apply step by step. So you can make an easier switch.

WordPress HTTP to HTTPS Migration Settings

There are two types of redirect methods for Wordpress to do HTTPS redirect with server-based and plugin. Although there are plugins to route HTTP links, the best practice is to make server-based redirects. This is because redirects made with the plugin can cause additional overhead to the server. In this article, we will explain how to apply both methods to redirect

HTTP to HTTPS Redirect in Apache Server

If you are using a Apache Server, In your .htaccess file in the main directory, find the # END WordPress code and add the following code.

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

RewriteCond %{HTTP_HOST} ^www\.yourwebsite\.com [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ "https\:\/\/yourwebsite\.com\/$1" [R=301,L]

If you're using your site address with the www prefix, also change the www prefix in the above code.

RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ "https\:\/\/www\.yourwebsite\.com\/$1" [R=301,L]

HTTP to HTTPS Redirect in Nginx Server

If you are using a Nginx, Add the following code to the Nginx config file. If you do not have access to this file, request it from the server administrator.

server {
  listen 80;
  return 301$request_uri;

HTTP to HTTPS Redirect with Really Simple SSL

You can redirect links starting with all http in website to https links with Really Simple SSL plugin. After installing the plugin, you have to activate it by clicking on the Go ahead, activate SSL! button on the start screen. This plugin is useful in the beginning but it is not recommended because it will put an additional load on the server.

Updating HTTP Links in Your Content

We can now go through the changes that need to be made in our content. All can add links or images to your articles from time to time. These links will prevent the SSL certificate from working properly when you pass HTTPS. For SSL certificate to work properly, you need to pass these links from HTTP to HTTPS. You can use the Better Search Replace plugin for this.

Once you have installed the Better Search Replace plugin, make the plugin settings as described in the picture below. Uncheck the Run as dry run? option if you do not want the report to be served and click to Run Search/Replace button.

When the Run as dry run? option is selected, your database will be presented with a report on what it will change without any changes being made. After reviewing this report, you can un-mark the Run as dry run? option and click on the Run Search/Replace button again, so that all http links are replaced with https.

Editing Theme Files

There are a few more steps we need to do in our theme files to complete the Wordpress SSL certificate installation process. Download the theme files (wp-content/themes) to your computer. Using the search function in the directory of advanced editor programs such as Sublime Text, Notepad++, you can find links to http:// and replace them with https://. If you change an external link, make sure that this link supports https. Otherwise your site will take a long time to load.

If you have followed all of these steps correctly, you have completed the WordPress SSL setup and successfully transitioned from HTTP to HTTPS. Congratulations! :)

You can check with the SSL Checker tool whether your SSL certificate is installed correctly on your server, or you can find the HTTP links on your page with the Why No Padlock tool.

If you do not have an SSL certificate, you can purchase it from our SSL Certificates products and use our free SSL installation support.

That you completed WordPress software HTTP to HTTPS redirection. Is everything done? Of course No :) You can access other processes from our What to do After Installing SSL Certificate? article.

Do you intend to install SSL on your WordPress website? or What difficulties did you encounter when install SSL? You can share your experiences with us by writing comments.

11 people voted before. Would you like to vote?

  • 18/11/2018
  • 501

Apple Safari, HTTP Web Sites Not Secure Warning Test Started

Apple will display a more evident warning message on websites that use the HTTP protocol in the Safari browser as Google does in the Chrome browser...

  • 06/11/2018
  • 340

Comodo CA is Now Sectigo - Comodo CA Rebrands as Sectigo

The world leader in Certification Authority and web security solutions, Comodo CA rebrand name was changed to Sectigo. Comodo CA, was this change that..

  • 28/11/2018
  • 557

cURL in Thousands of Plugins SSL TLS Certificate Verification is Disabled!

Libraries, framework or plugins, it can give us time and functionality. Well Security? cURL certificate validation settings used in thousands of CMS p..

  • 25/08/2017
  • 642

Google Chrome, Non-SSL Websites Not Secure Warning!

SSL has begun to be considered as a factor for SEO with the updates made last year. Also, web sites that do not use SSL encounter unsafe warning in th..

  • 31/05/2017
  • 972

How to Install an SSL Certificate?

Although SSL certificate installation differs according to the server type and control panel used, the installation steps are almost identical. Requi..

  • 20/07/2017
  • 6.79K

How to Install OpenCart SSL Certificate?

Firstly, let's briefly explain to those who do not know OpenCart. OpenCart is ecommerce software built on open source PHP. Because it is open source,..

  • 13/10/2018
  • 279

New Chrome 70th Update Will Cause Security Warning on Thousands of Websites

Chrome 70th will begin issuing security warning on Symantec SSL Legacy certificates. Google, as mentioned in Google Chrome, Non-SSL Websites Not Secur..

  • 12/07/2017
  • 21.36K

OpenCart Turkish Full Version

The latest version of OpenCart was released on 18.07.2017 with version number As of 22.07.2017 we also offer Turkish version for you. Now le..

  • 14/01/2019
  • 5.32K

OpenCart Turkish Full Version

The latest version of OpenCart was released on 09.04.2019 and as of 29.01.2019 we also offer OpenCart Turkish version for you. 3.0.3...

Sectigo PositiveSSL Certificate

Sectigo PositiveSSL, 128 bit SSL Certificates are designed for encrypting web sites for low volume online transactions. Trusted by over 99.9% of curre..

Thawte SSL123 Wildcard

Now you can cost-effectively secure unlimited sub-domains with just a single SSL certificate thanks to the Thawte SSL123 Wildcard certificate. Thawte..

Extreme Web Hosting

Extreme web hosting package is a unlimited of disk space, traffic, etc features. Featuring unlimited features, extreme web hosting package is an ideal..

Sectigo PositiveSSL EV Certificate

The PositiveSSL EV is a revolutionary product in that it expands access to Extended Validation SSL. In the past EV SSL was viewed more as a luxury for..

RapidSSL Certificate

RapidSSL is the fastest and most cost-effective solution for entry-level e-commerce sites, web-based e-mail, and any other application that requires s..

Premium Web Hosting

Premium web hosting package is 10GB disk space and monthly unlimited bandwidth, email accounts etc features. Premium web hosting package is an ideal p..