Skip to content

How to Install an SSL Certificate on WordPress [Step by Step]

How To Install SSL Certificates

An SSL certificate is a must for any website that wants to provide a secure user experience.

And since 2014, Google has used SSL as a ranking signal in its search algorithm.

If you want your WordPress site to get traffic from Google and keep your user’s data secure, you should install an SSL certificate.

Fortunately, installing an SSL certificate on WordPress has never been easier.

We have been in the online marketing business since 2009, installing hundreds of certificates on WordPress sites no matter what the hosting provider.

And in this post, we will share our step-by-step guide on how to do it.

Quick Summary

  • This guide explains how to install an SSL certificate on WordPress for data security and improved Google ranking.
  • It covers SSL activation, HTTP to HTTPS redirection, fixing mixed content warnings, and updating your Google Search Console sitemap.
  • Also discussed are the importance of SSL certificates, their types, and solutions to common SSL installation issues.

What Is an SSL Certificate?

SSL stands for Secure Sockets Layer, and it is a way to secure communications between a website and its visitors.

Secure Sockets Layer

When you open a website in your browser, a lot of data is exchanged between your computer and the web server that hosts the website.

This data includes the pages you visit, your login information, your location, and any other form data you may enter on the site, such as your credit card information.

Without SSL, this data is sent in plain text, which means hackers can intercept and read it.

Obviously, we don’t want our sensitive data to fall into the wrong hands, which is why Secure Socket Layer Certificates are so necessary.

Installing an SSL certificate on your WordPress site will encrypt the data sent between your site and your visitors’ browsers.

This means that even if someone were to intercept the data, they would not be able to get any useful information from it because it would all be scrambled.

Why Do I Need an SSL Certificate?

You need to install an ssl certificate for your WordPress site for many reasons.

  1. Most importantly, it will help to keep your site’s data secure, as mentioned previously.
  2. Certificates can help to improve your site’s search engine ranking.
  3. Google has stated that they give preference to sites that have certificates when ranking search results. So, if you want your site to rank higher in Google’s search results, then you need to have a certificate installed.
  4. Having a certificate will help to build trust with your site’s visitors and improve conversion rates.
  5. If you don’t have a certificate, then your site will show a “Not Secure” warning in the browser’s address bar. This can make visitors to your site feel uneasy, and it may make them less likely to trust your site with their personal information.

How to Install SSL Certificate WordPress?

Step 1: Activate the WordPress SSL Certificate

custom ssl certificate generation process differs from one hosting provider to another, and it’s impossible to give a one-size-fits-all solution.

But we can provide you with instructions on installing a basic ssl certificate with some of the most popular hosting providers on the market, such as WPX, SiteGround, Cloudways, and others.

WPX

  1. Log in to your WPX account
  2. Hover over My Services and Select WordPress Hosting
  3. Click on Manage service
  4. Click on Manage Websites from the left sidebar
  5. Click on SSL and select Install Free Certificate from the dropdown menu
  6. A pop-up window will appear. Click on Install to continue the installation.
  7. Once the installation process is successful, you will see a message on the top right corner that says “Let’s Encrypt SSL certificate was installed for YourDomain.”

Activate the WordPress SSL Certificate - WPX

Siteground

  1. Log in to your SiteGround Account
  2. Go to SSL Settings
  3. In the Install New SSL section, choose your domain, select the Let’s Encrypt SSL option from the dropdown menu, then click on GET

Activate the WordPress SSL Certificate - Siteground

Bluehost

  1. Log in to your Bluehost Account
  2. Click on My Sites from the left sidebar
  3. Locate the domain name of the site you want to install an ssl certificate to and click Manage Sites
  4. Open the Security tab
  5. Toggle the SSL Certificate: Let’s Encrypt button On

Activate the WordPress SSL Certificate - Bluehost

Cloudways

  1. Log in to Cloudways
  2. Navigate to Applications
  3. Select the application you want to add the certificate to
  4. Go to the Application Management tab and click SSL certificate
  5. Select Let’s Encrypt, provide your email address and domain name, then click Install Certificate

Activate the WordPress SSL Certificate - Cloudways

Hostgator

Every Hostgator account comes with a preinstalled custom ssl certificate.

All you need is to connect your domain name to your hosting account and the certificate will be automatically activated.

Godaddy

If you have a Managed WordPress web hosting account with GoDaddy, then your custom ssl certificate will be installed automatically.

cPanel

If you aren’t using WordPress-specific hosting, then your website is probably hosted on a server that uses cPanel.

In this case, you can install an SSL certificate using cPanel’s SSL/TLS Manager.

  1. Download the SSL certificate
  2. Log in to your host account
  3. Go to cPanel, navigate to SSL/TLS, then click Generate, view, upload, or delete SSL certificates or SSL Certificate Signing Requests based on your cPanel version
  4. Upload you certificate
  5. Go back to the SSL/TLS page, click Manage SSL Sites, then select Browse Certificate
  6. Select the certificate you installed, then click on Use Certificate
  7. Click Install Certificate

Activate the WordPress SSL Certificate - cPanel

Step 2: Force HTTP to HTTPS Redirection

In the previous step, we activated the free SSL certificate, but we didn’t force WordPress to use the SSL version of our site just yet.

Right now, your website has 2 versions:

  1. The old HTTP version. http//diggitymarketing.com
  2. The secure https protocol. https://diggitymarketing.com

What we need to do is redirect all traffic from the old version of our site to the new one.

This means that if someone tried to access the old, unsecured version of your website (HTTP), they would be automatically redirected to the new, secure one (HTTPS). Check out the difference between HTTPS and HTTP in our article.

In other words, we need to tell WordPress to use the SSL version of our site by default.

There are a few ways to do this, but using the Really Simple SSL Plugin is the easiest and fastest one.

Really Simple SSL is a free WordPress plugin that will automatically redirect your website to the SSL version.

It’s really easy to use, and it doesn’t require any technical knowledge.

Here is how to use it:

  1. Log in to your WordPress Dashboard
  2. Go to Plugins and click Add New
  3. Search for Really Simple SSL
  4. Click Install
  5. Wait till the installation is done, then click Activate
  6. Once the plugin is activated, click on Settings
  7. Click on Go ahead and activate SSL!
  8. That’s it! All the traffic to your website will now be redirected to the HTTPS version.

Force HTTP to HTTPS Redirection - Real Simple SSL

Step 3: Fix Mixed Content Warnings

This rarely happens, but in some cases, you might see a mixed content warning after installing an SSL certificate.

Mixed content errors happen when your website tries to load both secure (HTTPS) and unsecure (HTTP) content at the same time.

For example, the old page was loading its content from the HTTP URL but when you installed the certificate, you forced all URLs to be HTTPS.

If the certificate isn’t installed properly, the page will try to load content from both versions (HTTPS and HTTP) and that’s when you see the mixed content warning.

Luckily, fixing mixed content warnings is pretty easy.

SSL Insecure Content Fixer

All you need to do is to:

  1. Download and activate the SSL Insecure Content Fixer plugin
  2. After activation, navigate to SSL Insecure Content in your WordPress Dashboard
  3. Select the level of fixing you want the plugin to do. It’s recommended to start with Simple and if it didn’t work, try Content, Widgets, etc.

You can also use the Better Search Replace plugin.

After activation, navigate to the plugin settings, type in your HTTP domain in the Search for field and your HTTPS domain in the Replace with field, then click Run Search/Replace.

Step 4: Update Your Sitemap at Google Search Console

Search engines treat the https protocol of your website as a completely different site, so you need to submit the new sitemap to Google.

Sitemap

If you don’t, Google will continue to index your old pages and you might lose your rankings.

To update your sitemap, follow these steps:

  1. Generate a new sitemap
  2. Log in to your Google Search Console account
  • Click on Sitemaps from the left sidebar
  • Paste in the URL of your sitemap
  • Click Submit

Google Search Console

Step 5: Update Your Google Analytics (Optional)

If you have Google Analytics installed on your website, it will be pointed to the previous (unsecure) version of your website.

To fix that, you need to update the Default URL in your Google Analytics settings.

Here is how to do that:

  1. Log in to your Google Analytics account
  2. Click on Admin from the left sidebar
  3. Go to Property Settings
  4. Paste the HTTPS version of your website in the Default URL field
  5. Click Save

Update Your Google Analytics

What Are the Different Types of SSL Certificates?

Secure Socket Layer Certificates can be broadly classified based on the level of validation required to issue and the number of websites or domains they can secure.

SSL Certificates Based on Validation

1. Domain Validation (DV)

domain validation certificate is the most common type of SSL certificate.

Domain Validated Certificates DV

They are typically used for personal websites, blogs, and small businesses that don’t handle sensitive information.

Obtaining a DV certificate usually only takes a few minutes as you only need to prove your ownership of the domain.

You can do this by receiving an email at an address associated with the domain or by adding a DNS record.

Once you have proven your domain ownership, you will be able to generate the certificate.

2. Organization Validation (OV)

Organization Validation (OV) certificates are more expensive than DV certificates, but they offer a higher level of website security.

Organization Validated Certificates OV

An OV certificate verifies the authenticity of the organization that owns the website and also confirms that the company has been vetted by a third party.

This process usually takes about 2 days as the CA will need to verify the organization’s identity and conduct background checks.

However, once the certificate is issued, it will offer users a higher level of trust.

3. Extended Validation (OV)

An EV certificate not only verifies the organization’s authenticity but also requires a thorough vetting process.

Extended Validation Certificate EVC

This includes confirming the organization’s legal existence, verifying its physical address, and conducting background checks on its principals.

The EV certificate issuance process usually takes a week as the CA needs to complete all the necessary checks.

Once the certificate is issued, it will offer users the highest level of trust as they can be confident that they are dealing with a legitimate organization.

SSL Certificates Based on the Number of Websites

1. Single Domain SSL Certificate

From its name, you can probably guess that a single-domain SSL certificate can only be used for one website.

This is the most basic type of certificate and it is usually enough for most small businesses and personal websites.

2. Wildcard SSL Certificate

A wildcard certificate can be used to secure multiple subdomains of a single domain.

Wildcard Certificate SSL

For example, if you have a website with the domain name example.com, you can use a wildcard certificate to secure subdomains such as blog.example.com and shop.example.com.

3. Multidomain SSL Certificate

Also known as a SAN certificate, a multidomain certificate can be used to secure multiple domains.

This is a great option for businesses that have multiple websites as it offers a cost-effective way to secure all of them with a single certificate.

What Type of Certificate Is Best for Your Website?

Now that you know the different types of SSL, how do you choose the right one for your website?

The answer to this question depends on a few factors:

  • The type of website you have
  • The level of security you need
  • The number of websites you need to secure

A DV certificate should be enough if you have a personal or a small business website that doesn’t handle sensitive information.

An OV or EV certificate would be a better option if you have an eCommerce website or a website that deals with sensitive information.

Online Store

If you have multiple websites, you can either choose to buy a separate certificate for each one or go with a multidomain certificate.

The choice ultimately comes down to your budget and your security needs.

Getting a Third-Party SSL Certificate

If your web host doesn’t offer SSL certificates, you can always also get one from a third-party provider.

Here are a few ways to do that:

1. CloudFlare

Cloudflare is a free content delivery network (CDN) that also offers free Secure Socket Layer certificates.

cloudflare home

Here is how to get your free certificate:

  1. Go to Cloudflare
  2. Create an account
  3. Choose the free plan
  4. Connect your website to Cloudflare. This can be done by updating the DNS records in your domain name registrar account
  5. After updating the nameservers, switch back to Cloudflare and click continue
  6. That’s it! Your free certificate should be working within 24 hours.

2. Let’s Encrypt

Let’s Encrypt is a free, automated, and open certificate authority (CA).

encrypt for aws

It offers free SSL/TLS certificates that are just as secure as paid certificates.

Here is how to get your free certificate from Let’s Encrypt:

  1. Go to Let’s Encrypt
  2. Click the Get Started button
  3. Follow the instructions to generate your free certificate
  4. After generating the certificate, you will need to install it on your web server.
  5. If you have shell (SSH) access, it’s recommended to install the certificate using the Certbot ACME client, as it can automatically update the certificate without you having to lift a finger. Just follow the instructions to install your certificate.

Most of the time, you don’t need to do any of that, almost 90% of hosting providers have Let’s Encrypt certificates built-in these days.

Just go to the Certbot host providers list and check if your provider is on the list.

If they are, just follow the instructions to enable Let’s Encrypt for your domain name.

3. Trusted Certificate Authorities (CAs)

The 2 methods mentioned above are the best way to get a free domain validation level SSL certificate but if you want a higher level of security (organization validation or extended validation), you will need to buy one from a trusted ssl provider.

Purchase from a trusted SSL Provider

Some of the most popular Certificate Authorities include:

Frequently Asked Questions (FAQs)

How Do I Find My SSL Certificate in WordPress Site?

Your SSL certificate information won’t be visible in your WordPress dashboard. To find your certificate information, you will need to log in to your account and go to the SSL/TLS Manager.

From there, you will be able to view your certificate’s expiration date, issuing authority, and other important information.

How Do I Find My SSL Certificate in WordPress Site

What if Your Web Host Does Not Offer a Free SSL Certificate?

If your web host does not offer an SSL certificate, you can still purchase a third-party certificate or one from Let’s Encrypt.

How to Install SSL Without Cpanel?

If your hosting account does not have cPanel, you will need to install your SSL certificate manually.

This can be done by editing your website’s .htaccess file.

SSL Not Appearing on the Login and Admin Pages, What Should Be Done?

If your SSL certificate is not appearing on your login and admin pages, you will need to force HTTPS address direction.

How Should I Handle SSL When Changing Web Host?

After migrating your website to the new web host, you will need to reinstall your SSL certificate.

You can usually do this from your hosting account’s SSL/TLS Manager.

SSL Manager

How Do You Know if a Website Has an SSL Certificate?

You can usually tell if a website has an SSL certificate by looking at the URL.

If the website is using a secure connection, the URL will start with “HTTPS” instead of “HTTPS.”

You can also look for a lock icon next to the URL.

Conclusion

Installing an SSL certificate on your WordPress website is a fairly simple process.

All you need is to choose the right certificate for your needs and then follow the instructions provided by your hosting provider.

With that being said, it will save you a lot of trouble if you choose a hosting provider that offers free certificates.

For that, we recommend Siteground, they offer free SSL certificates with every hosting plan, and their prices are very reasonable.

 

Matt-Author-Img

Article by

Matt Diggity

Matt is the founder of Diggity Marketing, LeadSpring, The Search Initiative, The Affiliate Lab, and the Chiang Mai SEO Conference. He actually does SEO too.

Want to rank easier, higher and faster?

Sign up and join 100,000+ other subscribers and get SEO test results sent straight to your inbox.

moz sidebar

"One of the most effective SEOs I've ever met"- Cyrus Sheppard

As Seen On...

Search Engine Journal
New York Post
ahrefs brand