How to Redirect http to https on your Website

All our hosting plans comes with Free SSL Certificates preinstalled. 

Please follow the steps below to redirect your http pages to https

You can redirect all http traffic to https by creating a .htaccess file and entering the below code into it.

(remember to change your domain name where needed)

RewriteEngine On
RewriteCond %{SERVER_PORT} !=443
RewriteCond %{HTTP_HOST} ^(www\.)?google\.com$ [NC]
RewriteRule ^${REQUEST_URI} [R,L]

If you are a wordpress users also update your site url to https:

You can do this by going to Settings » General and updating both your WordPress and site URL address fields.


Change from to for both fields.

  • SSL, http to https redirection
  • 169 Users Found This Useful
Was this answer helpful?