How to Redirect Website from HTTP to HTTPS?

 

You may need to create a .htaccess file, and you can use your control panel's File Manager under public_html folder.

Using the following code in your .htaccess file automatically redirects visitors to the HTTPS version of your site:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

If you have an existing .htaccess file:

  • Do not duplicate RewriteEngine On.
  • Make sure the lines beginning RewriteCond and RewriteRule immediately follow the already existing RewriteEngine On.

 

 

 

  • htaccess, https
  • 5 Users Found This Useful
Was this answer helpful?

Related Articles

Can I upgrade at any time; to another package how much does it cost?

Yes, you can upgrade at any time . It is free to upgrade and the only charge would be the...

Can I transfer an existing domain to DOMAININDIA?

Transferring a Domain Name from Another Registrar to DOMAIN INDIA If you want to transfer a...

2.How long does it take for my account to be setup after signing up?

  if you make online payment, No more waiting! Publish your website right now with Instant...

How do I check to see if the domain name which I want to register is available?

Please navigate to the Domain Names section. Then search for domain name availability using...

Do you offer FTP access?

Yes! Clients who purchase any of the web hosting plans can upload their files easily and quickly...