How To Redirect Website From HTTP to HTTPS SSL Step by Step?

By making a setup document, and adding some code to it, you can constrain your site to divert to its protected URL. To construct this record you need to sign in through FTP or SSH to your server. At the point when you add a SSL testament to your site, guests to the URL use it to see changes from HTTP to HTTPS in your application. The’S ‘tries to scramble your association. You will require all URLs on your site to naturally connection to the HTTPS form after you have added a SSL testament. In the event that you need to do a SSL divert to your safe HTTPS area, in this article you can find out about how to divert http to https.

Redirect Website From HTTP to HTTPS

Why SSL?

As a site proprietor, you have a larger number of advantages than misfortunes by guaranteeing that your site is ensured with SSL (or ‘Secure Sockets Layer’, the innovation that permits insurance on HTTPS domain sites). Prior to disclosing how to divert http to https , let us take a gander at the reasons why you should utilize SSL to secure your site:

1-SSL Protects Data

The center reason for a SSL authentication is to get the correspondence among server and customer. All of data is scrambled upon SSL arrangement. The information is secured layman’s words, and must be opened by the planned client (program or server) in light of the fact that nobody else would have the way to open it.

2-SSL Affirms Your Identity

The subsequent main role of a SSL declaration is to verify a site. As far as Web security, personality confirmation is quite possibly the most basic viewpoints. There is no doubt that the Internet is getting increasingly deceptive. There have been instances of individuals losing a huge number of dollars on trick sites. It is here that SSL testaments become possibly the most important factor.

3-Better Search Engine Ranking

Google made enhancements to its calculation in 2014 to give the HTTPS-empowered sites the high ground. This was apparent in various investigations done by SEO specialists around the world. One such investigation by Brian Dean, originator of, uncovers a reasonable relationship among HTTPS and higher rankings of the web indexes.

4-SSL Lets You Satisfy PCI/DSS Requirements

You will learn a couple of things about PCI/DSS necessities while tolerating on the web installments. Your site should be PCI viable to acknowledge installments on the web. One of the 12 essential principles set by the installment card industry (PCI) is to have introduced a SSL endorsement.

5-SSL Increases Consumer Trust

On the off chance that it were dependent upon us we would have changed the name of SSL (Secure Socket Layer) to TTL (Trust Transmitting Layer). Fortunately it isn’t. Be that as it may, this doesn’t prevent us from commending the SSL authentication. Other than the encryption and confirmation, SSL endorsements are significant according to the perspective of client trust. The clients are advised by the easy to perceive signs that the information they send is ensured. Furthermore, in the event that you assembled an OV or EV SSL, they would have the option to see the subtleties of your association. At the point when they realize you are a real organization, they are undeniably bound to work with you or even return to your site.

SSL Certificate is Mandatory by Google

Google has consented to signal sites that don’t have a SSL Certificate based on its site to give a more secure web perusing experience from 2018 onwards. On the off chance that somebody neglects to follow this law, all the basic internet browsers utilized across the globe like Google Chrome and Firefox Mozilla will rebuff them by showing a ‘Undependable’ ready message on the URL bar. This could be likely that the site will likewise be hindered to load to the program in the short term. Whatever site you have, from an individual blog to any SSL shopping entryway is required and inability to agree it might bring about guest misfortune that isn’t something that a site proprietor needs to confront.

How To Redirect HTTP To HTTPS?

At the point when you have empowered SSL, you need to divert guests to your new HTTPS site who are as yet utilizing your old HTTP site. You will naturally divert guests to your HTTPS area; regardless of whether they need to utilize your old HTTP domain. On the off chance that you are thinking about how would I naturally divert HTTP to HTTPS, we need to say that the redirection arrangement depends on the sort of server running your site. Underneath we layout how to do this with a couple of basic organization arrangements on web servers:

How To Redirect From HTTP to HTTPS in Nginx Server?

In the event that you are running a Nginx server, you can transform it by following these actions to get your old HTTP site diverted to HTTPS:

  • Sign into your Nginx server

Instructions to Redirect HTTP To HTTPS Apache

By following the means underneath, you can execute a SSL divert to your new HTTPS page in the event that you run your site on the Apache Server:

  • Sign into your Apache server

At the point when you see this order:

LoadModule modify module modules/, uncomment it and add the accompanying order toward the finish of the document:

RewriteEngine On RewriteCond %{HTTPS} Off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}.

To check whether the reset has succeeded, reboot Apache and take a stab at getting to your old HTTP to check whether it tends to be diverted.

How To Redirect HTTP To HTTPS Cloudflare?

  • In the event that you are utilizing Cloudflare you can execute the accompanying SSL divert:

An elective method to permit HTTPS on Cloudflare is by utilizing the Page Rules:

  • Go to Page Rules


Very much like Cloudflare, in the event that you are running your site with SUCURI and you need to arrange it for SSL, this is the thing that you need to do:

  • Sign in to your SUCURI account

Snap the “Save” tab under and your site will run HTTPS consequently as typical quickly



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Daniel Jackson

n6host is one of the most powerful web hosting services available which can help you lunch your website!