Make your site secure with HTTPS

Confirm your free SSL certificate has issued, redirect all visitors to HTTPS, and clear up mixed content warnings.

BeginnerAbout 15 minutes7 steps

What you’ll need

  • A domain that already points to Traxio
  • DirectAdmin access

Certificates issue automatically, but a certificate alone doesn’t move visitors to HTTPS. This tutorial checks the certificate, adds the redirect and fixes anything still loading insecurely.

Steps

  1. Step 1: Confirm the domain resolves to Traxio

    Certificates can’t issue until it does. How to check your domain is pointing to Traxio

  2. Step 2: Check the certificate

    Visit https://yourdomain.co.uk and https://www.yourdomain.co.uk. Both should load with no warning. Or open Account Manager then SSL Certificates to see the installed certificate and the names it covers.

  3. Step 3: Request it if it’s missing

    In Account Manager then SSL Certificates, choose the free certificate option, tick your domain and www, and save. Wait a few minutes. SSL certificate not issued or not renewing

  4. Step 4: WordPress: update the site address

    In Settings → General, change both addresses to https://. You’ll be asked to log in again.

  5. Step 5: Add the HTTPS redirect

    In System Info & Files then File Manager, edit public_html/.htaccess (show hidden files) and add at the top:

    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
  6. Step 6: Test the redirect

    In a private window, visit http://yourdomain.co.uk/. The address bar should change to https://.

  7. Step 7: Fix mixed content

    Open a few pages with developer tools (F12) on the Console tab and look for Mixed Content warnings. Update any http:// images or scripts. How to fix mixed content warnings

Check it worked

http://yourdomain.co.uk redirects to https://, the padlock shows on every page you checked, and the console shows no mixed content warnings.

If something goes wrong

What happensWhat to do
Too many redirectsConflicting redirect or Cloudflare Flexible SSL. “Too many redirects” and HTTPS redirect loops
Certificate warning on www onlyRequest the certificate with www ticked. Site works with www but not without (or the reverse)
500 error after editing .htaccessA typo. Restore the file and paste the rule again. 500 Internal Server Error: how to fix it

Following along without an account? Traxio’s free web hosting trial gives you everything this tutorial uses, free for 30 days.

Popular

Tip: press / to search from any pageSee all results