What to do After Installing SSL Certificate on Your WordPress Website
Ravi Chahar
Customer Support Specialist || ???? WordPress Professional || Web Developer || Speaker || Social Media Marketer ??
It’s one of the sensitive topics these days and people are really worried about their non-HTTPS websites. Many people have enabled it but don’t know what to do after installing SSL certificate.
As I have discussed before, you can also enable SSL using your Inmotion Hosting account if you’re their customer. It’s just like any other web hosting.
But the point occurs as if what would you do if you use CloudFlare or your web hosting and fail to apply the SSL accurately.
Most of the times, people fail because of their existing content. In this article, you will learn the things you should do to fix everything.
Check the URL of Your Website Along With All the Posts and Pages
You may know many bloggers who are using the free SSL certificate of CloudFlare and explain how it’s done.
Well, nowadays, you don’t need a CDN for enabling SSL if your web hosting is good enough. Most of the web hosting companies are providing free SSL for one year.
You can easily enable SSL certificate on your WordPress website but the problem occurs if you have been publishing for quite a long time.
First of all, you should check the main URL of your website if it’s getting redirected to the HTTPS. If it’s working then you have to check the posts and the pages.
If those are also working then fine otherwise, you have to make a redirect from HTTP to HTTPS.
Add this code in the .htaccess file of your website. I hope you know how to edit this file.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^example\.com [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]
Don’t forget to replace the example\.com and the www.example.com with your domain name.
If everything goes fine then congrats. But you get the mixed content error in the Google Search Console then go ahead.
Check the Interlinks of Your Whole Website
If you have posted many posts and added the interlinks then you should check when you click on those links, whether they fetch the HTTPS or not.