HTTP to HTTPS with SSL in WordPress

What is HTTPS?

A large part of the company websites do not yet use HTTPS. There are many different reasons why it is important to switch from HTTP to HTTPS, the main reason being security. In this blog we explain what HTTPS is exactly, why it is important to make this switch and how to do it. So read on for more information!

HTTPS, also called Hypertext Transfer Protocol Secure, is an encryption method that allows a browser to securely connect to a WordPress website. The data and data that are exchanged during a visit to a website are encrypted. Data is made unrecognizable prior to sending and so only the sender and recipient of the information can read it.

What is SSL?

HTTPS websites can be recognized by a visible padlock in the address bar of the web browser. The lock means that all traffic on the WordPress website is encrypted with an SSL certificate. SSL stands for Secure Socket Layer and is a security protocol. To secure your WordPress website with SSL you need an SSL certificate. The certificate is actually a small file with data that ensures that all information is sent in an encrypted form.

What are the benefits of SSL?

An SSL certificate offers several advantages. The certificate protects the data of the visitors and through this protection you radiate reliability. Visitors often leave personal information on a WordPress website, for example when filling out a contact form or when placing an order. It even turns out that an SSL certificate increases the conversion of your website, because the green lock gives the visitors a safe feeling. Moreover, the certificate also strengthens your position in Google. The search engine attaches great importance to safety.

How do you get an SSL Certificate?

To get an SSL on your WordPress website you need to request an SSL certificate through a CSR (Certificate Signing Request). This is an encrypted file with the application information on the one hand, and a digital signature on the other. The CSR must then be validated by the certificate authority. The duration of this depends on the type of certificate you are requesting. If your application is approved, you can install the SSL certificate on your WordPress website. It is often also possible to arrange this through your hosting provider, which in most cases you get for free with the first website.

How to force HTTP to HTTPS?

Time needed: 3 minutes.

Migrating from HTTP to HTTPS is not difficult, but accuracy is important during this process. Therefore, follow the following step-by-step plan:

  1. Create a .htaccess file

    Create a .htaccess file via a text editor. Name the file as follows: .htaccess

  2. Add the right code

    Add the following code to the file you just created:
    RewriteEngine On
    RewriteCond %{HTTPS} !=on
    RewriteRule ^https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

  3. Place the file online

    Via an FTP program you can put the .htaccess file online within the httpdocs.

  4. Test the result

    Visit your own WordPress website now. You should now automatically end up on https:// instead of http://. If this is the case, your website is now forced to https:// and your website is secured with SSL.

HTTPS with SSL with a WordPress plugin

It is also possible to set up SSL on your WordPress website with a WordPress plugin:

Really Simple SSL

Start met het installeren en activeren van deze plugin. Vervolgens zal er een knop met de boodschap ‘Ok, SSL activeren!’ verschijnen. Klik op deze knop, zo zal de plugin SSL instellen op jouw WordPress website.

When to switch to HTTPS?

HTTPS has become the standard, new websites that are still being built often get the HTTPS protocol as standard. But existing websites often lag behind. When is it wise to switch to HTTPS?
As indicated earlier in this article, HTTPS offers several benefits. People value safety. That connects and creates trust. Moreover, you want to protect your website as well as possible against attacks from outside at all times, right? Google will also reward you with this switch. So it is no longer a question of whether you should switch, but when you switch. Good luck!

Need help forcing HTTP to HTTPS?

We can well imagine that you do not want to carry out this process independently and manually. Then let us support you! We are happy to offer a helping hand to make your WordPress website as safe as possible. Do not hesitate and let our WordPress specialists advise you in case you need help! Please contact us via live chat, e-mail or call us on 030 20 72 488.

© WPmaintenance.com 2011 - 2022 | All rights reserved | WordPress Maintenance is part of Artitex