Guides › Hosting, domain & email › Domain, DNS & SSL

How Do I Force My Website To Use HTTPS Everywhere?

HTTPS.

Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.
Domain, DNS and SSL

Once you have an SSL certificate, you need to send every visitor to the https version, and make sure all files load securely.

1Confirm SSL works2Add a redirect3Or use the host's toggle4Update WordPress addresses5Fix mixed content6Update external services7TestFixed? Test the site. If not, get help.
The steps in order. Work down the list and stop when the problem is solved.

Step 1: Confirm SSL works

Illustration for Step 1: Confirm SSL works

Open the https address and check for the padlock.

Step 2: Add a redirect

Illustration for Step 2: Add a redirect

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

Step 3: Or use the host's toggle

Illustration for Step 3: Or use the host's toggle

In hPanel or cPanel there is often a Force HTTPS option.

Step 4: Update WordPress addresses

Illustration for Step 4: Update WordPress addresses

In Settings, General change both URLs to https.

Step 5: Fix mixed content

Illustration for Step 5: Fix mixed content

Replace http:// links in the database with a search and replace plugin.

Step 6: Update external services

Illustration for Step 6: Update external services

Change Google Search Console, analytics and social links.

Step 7: Test

Illustration for Step 7: Test

Visit the http version and confirm it redirects.

Still stuck?

If these steps do not solve it, we fix it for you for a flat $99. Full refund if we do not solve it within 7 days.

Related guides

Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.

Last updated 2026-11-22.