How To Do An SSL Redirect [Redirecting HTTP To HTTPS]

by:

How to

Spread the word!

What’s one of the most important step to let Google know that your website is safe and official? Redirecting HTTP to HTTPS. Commonly known as SSL Redirect, it is the crucial thing to do just after creating a website.

Some people face difficulty to redirect HTTP to HTTPS, it is not so difficult, but the main thing is to set up your website according to HTTPS.

The most common problem is the Not loading of some Javascript. If you aren’t a web designer, you must be thinking what is the use of Javascript on a website? But, when you’ll see your website without scripts, you’ll definitely know the importance of these scripts.

We will discuss Javascript later and for now, let us focus on SSL redirect.

Here, we will discuss How to do an SSL Redirect.

 

What Is HTTPS

ssl redirect http to https

According to Google,

Hyper Text Transfer Protocol Secure (HTTPS) is the secure version of HTTP, the protocol over which data is sent between your browser and the website that you are connected to. The ‘S’ at the end of HTTPS stands for ‘Secure’. It means all communications between your browser and the website are encrypted.

A short explanation is enough because we have been taught about this at our school.

 

SSL

ssl redirect http to https

 

SSL (Secure Sockets Layer) is a standard security protocol for establishing encrypted links between a web server and a browser in an online communication. The usage of SSL technology ensures that all data transmitted between the web server and browser remains encrypted.

 

SSL Redirect

Now, you must have got an idea that the SSL Certificate is needed to do the SSL Redirect.

But, where do I will get one?

That’s why we are here.

To generate an SSL Certificate, I would recommend you to use SSL For Free. It lets you generate a free SSL Certificate and helps you to redirect HTTP to HTTPS.

ssl redirect http to https

Follow these steps for SSL redirect:

  1. Open the website SSL For Free.
  2. Enter your website’s full URL and then Create a Free SSL Certificate.
  3. Now, click on Manual Verification.
  4. Now, download the files provided.
  5. Create a folder in your server’s File Manager named “.well-known“. If you use Windows you may have to add a dot at the end of the folder name in order to create a folder with a dot at the beginning.
  6. Open “.well-known” and create a folder named “acme-challenge” inside it.
  7. Upload the downloaded files to the “acme-challenge” folder.
  8. Now, open both the URLs provided to you in your web browser. If the pages show some random characters, you’re done.
  9. Now, click Download SSL Certificate. It will automatically generate a certificate needed for an SSL Redirect.
  10. It will show you some random numbers, but, don’t panic, you don’t need to know what these numbers are.
  11. Just open your C-Panel. Find anything related to redirect SSL/TLS  and click on it.
  12. As you have your own keys and certificate, click on Manage Certificates.
  13. Select a domain and just Copy/Paste the random numbers that were terrifying you.
  14. Make sure to copy all the things in the right place. (Don’t copy CRT under KEY).
  15. Now Install Certificate.
  16. Wait for a couple of minutes and then open your website with an HTTPS added before it.
  17. And then it’s done.

See, how easy it was to do an SSL Redirect. Now, you know how to redirect HTTP to HTTPS.

This is an important step to do while creating a website because if you don’t do an SSL Redirect, browsers may point out your website to be UNSECURE.

Feel free to comment regarding How to redirect HTTP to HTTPS or SSL Redirect and you can also submit your articles and get featured.

Spread the word!

4 Replies to “How To Do An SSL Redirect [Redirecting HTTP To HTTPS]”

  1. Andrew Mathers says:

    Nice Article. Helped me a lot. I was having problem in switching from http to https, but, now its all good. Nice work.. Keep it up.

  2. Brat says:

    Using Cloudflare only can give you ssl certification with additional security without using sslforfree.com .
    Nice information btw

    • admin says:

      Thanks Brat for your comment.
      Yeah, you can use Cloudflare too. But, Cloudflare makes your website down for almost 24 hours before switching to https.

Leave a Reply

Your email address will not be published. Required fields are marked *

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

shares