How do I force my site to load over HTTPS? Print

  • 0

After your SSL is active, redirect all traffic to HTTPS so visitors always use the secure version. The easiest way is in cPanel > Domains, where you can toggle Force HTTPS Redirect for each domain.

For full control, add this to the top of your .htaccess file in public_html:

  1. Open File Manager and enable Show Hidden Files.
  2. Edit .htaccess and add:
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]

WordPress users can simply set both URLs to https://yourdomain.com under Settings > General. Clear your cache and test in a private browser window.


Was this answer helpful?

« Back