Redirect http to https

Steps on how to redirect your website from http (unsecured site) to https (secured site):

  1. Login website’s Cpanel.
  2. Open your File Manager.

3. Go to your root folder (public_html folder).

4. Create or edit .htaccess file.

5. Add the following code below to your .htaccess file then save.

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*) https://%{SERVER_NAME}/$1 [R,L]
By |2018-12-06T03:12:32+00:00December 5th, 2018|How To's, Tutorials, Websites|

Did this work for you?