How can I redirect http to https?

Create an .htaccess file with the following contents and upload it to your public_html directory.

RewriteEngine On
RewriteCond %{SERVER_PORT} !443
RewriteRule (.*) https://www.yourdomain.com/ [R]

  • 499 Users Found This Useful

Was this answer helpful?

Related Articles

I can not get the transfer authorization email can it be forwarded to a different email address?

The authorization has to be authorized by the registered contact for the domain. We cannot change...

Convert PDF to HTML Service

To convert your PDF files to html try using the following converter tool from Adobe:...

What are these .htaccess files that keep popping up?

.htaccess files are default files the server uses to perform certain tasks. Features such as...

Domain Slamming - Beware

There are several companies out there using a predatory practice of attempting to have you renew...

Exclude directory or folder from a rewrite rule in .htaccess

To exclude a directory or group of directories from rules in your .htaccess insert the following...