How to switch WordPress website from http to https

Today’s quick tutorial is How to switch WordPress website from http to https. If you don’t know yet, Google will penalize non-secure websites if they can’t provide https connection. Additionally it can badly affect your website User Experience. Fortunately, most of the hosting providers can provide you a SSL certificate, sometimes even free. So first we need to get SSL certificate. Open your hosting cPanel and check for the SSL certificate, usually it’s on the domains tab. Just follow the steps to get your SSL certificate. But even after receiving certificate you might not have the magic green lock on the address bar.

I have SSL certificate, but my connection still not secure.

switch_to_https_1

 

If you’re using WordPress and facing this problem, here is the quick fix. First, check you General settings and change the URL from http to https.

switch_to_https_2

 

But even after this you might see non-secure connection. So the trick here is that some of your images might still be loading over HTTP. Open you browser console (F12) if you a Chrome user and you’ll see yellow warnings. Here I have 3 images loaded over HTTP instead of HTTPS. To fix that we need to re-upload these images.

switch_to_https_3

First 2 images are from About me widget and the last is logo, uploaded via WordPress Customizer. Just re-upload image in widget and you’ll see https in URL. Save your widget and move on to the next part.

switch_to_https_4

 

Open WordPress customizer and re-upload your logo.

switch_to_https_5

Enjoy your https secure connection

If you’ve done everything correctly you’ll see the green lock in address bar, it means that your connection is fully secure 😉 If you want to read more about SSL certificates and why it’s important, here is more detailed guide.

switch_to_https_6

 

Sharing is caring!

2018-07-28T14:18:10+00:00Nov 4th, 2017|Tutorials, WordPress|

Leave A Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This website uses cookies and third party services. Learn More Agree