Buy .LK Domain Name - Click Here

How to Redirect http to https?

When you put your domain.com in the address bar, there will not redirect to a secure SSL link as the default. Web Browser also will show your URL as not secure.

To fix this issue, you have to install SSL first. After that, place a .htaccess redirection via cPanel easy.

cPanel > Redirect.

After that do the settings as the below image.

(cpanel.lk domain is our domain name. use your domain instead of cpanel.lk)

Everything is done after "Add". Finally clear browser cache and try. You will be redirected to https://www.yourdomain.com

Here is a Tutorial Video from our youtube channel too.

 

  • 12 Users Found This Useful
  • SSL, HTTPS, HTTP, Website, Redirect, Domain, Domains, Secure URL, cPanel
Was this answer helpful?

Related Articles

 How do I move my site from my old host to your servers?

Transferring your account to us can be an easy process with zero downtime if done properly. To do...

 How to Increase Upload Max File Size in cPanel?

When you upload a theme or plugin or anything from a PHP application, you may need to increase...

 Where do I upload my website files?

Your account has both non-web accessible space and of course your web accessible space. Your user...

 What are some account basics?

We'll explain some basic procedures and steps to use your account. Username and Passwords:...

 How can I download a backup of my site?

Please login to your control panel and create a full backup. This may take a few minutes to...