Home / Fix guides / Website security

How to move my website from HTTP to HTTPS

Install an SSL/TLS certificate on your hosting (most hosts offer one free), redirect every http:// address to its https:// version, and fix any links that still point to HTTP. For a small site this is often under an hour of work.

HTTP sends everything between your visitor and your website as plain text. HTTPS wraps that traffic in encryption and proves the visitor reached the real site. Moving over means getting a certificate, switching the site to use it, and making sure nothing still loads the old way. This page explains each step in plain terms.

What the problem looks like

Visitors see it in the browser address bar. Instead of a padlock, they see the words "Not secure" next to your address, and on pages with a form (contact, login, checkout) the warning can become more prominent. Some browsers show a full page warning before letting people through.

You may also notice that your address starts with http:// when you type it in, or that both the http:// and https:// versions of your site load separately. That second case is common after a certificate is installed but the redirect is missing. If you mainly see a warning in the browser, the page on what the Not secure warning means is a good companion to this one.

Why it matters

  • Trust and sales: People hesitate to fill in a form or pay on a page marked "Not secure". Many will simply leave.
  • Security: Without HTTPS, anyone on the same network (public Wi-Fi, for example) can read or alter what is sent, including form entries and login details.
  • Search: Google has said for years that HTTPS is a (small) ranking signal. The bigger effect is indirect: warnings hurt how long people stay and whether they contact you.
  • Features: Modern browsers require HTTPS for some features, and many services and plugins expect it.

How to check if your site has it

These free checks take a few minutes:

  1. Type your address starting with http:// (not https) into a browser. A healthy site jumps automatically to https:// and shows a padlock.
  2. Click the padlock or the warning icon in the address bar. It shows whether the connection is secure and who the certificate was issued to.
  3. Try the www and non www versions of your address, both with http:// and with https://. All four combinations should end up on one https:// address.
  4. Run your domain through the free SSL Labs server test (ssllabs.com/ssltest). It reports whether a certificate exists, whether it is valid, and whether the chain is complete.

SiteMonday also checks this in week 10, which covers your domain, SSL and email deliverability, and the finding appears in the written report and ranked fix list.

How to move to HTTPS in general

The steps are the same on every platform, even if the buttons differ.

  1. Get a certificate. Many hosts include a free one, often from Let's Encrypt, and switch it on with one click. If your host does not, you can buy one, but for most small business sites a free certificate is enough.
  2. Install it and make sure it renews. Free certificates are short lived (Let's Encrypt certificates last 90 days), so renewal must be automatic. Hosts that offer it usually handle this for you.
  3. Redirect all HTTP traffic to HTTPS. Use a permanent (301) redirect so visitors and search engines learn the new address.
  4. Update your site address. In your content system, change the site URL from http:// to https://.
  5. Fix internal links and files. Images, scripts and stylesheets that still load from http:// cause warnings. See mixed content warnings.
  6. Tell search engines. Add the https:// version as a property in Google Search Console, submit your sitemap again, and update links you control, such as your Google Business Profile and social profiles.

Common platforms

Menu names change between versions and themes, so look for the idea rather than the exact label.

  • Shared hosting with cPanel: Look for a section called SSL/TLS Status or AutoSSL (often under Security). Run it for your domain, then add the redirect in .htaccess or with a Force HTTPS switch if your host provides one.
  • WordPress: After the certificate is active, go to Settings, General and change both the WordPress Address and Site Address to https://. Then check for old links in your content. A step by step version is in the WordPress guide.
  • Website builders (Wix, Squarespace, Shopify): HTTPS is usually included and switched on automatically for connected domains. If it is missing, look in the domain settings for an SSL or security option.
  • Cloudflare: In the SSL/TLS section, choose an encryption mode that validates your server's certificate (Full or Full (strict) where possible) and turn on Always Use HTTPS. Avoid Flexible mode if you can, because traffic from Cloudflare to your server stays unencrypted.

On Apache, the redirect usually goes in .htaccess:

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

On nginx, a separate server block for port 80 does the same job:

server {
    listen 80;
    server_name example.com www.example.com;
    return 301 https://$host$request_uri;
}

Replace example.com with your own domain, and back up the file before editing. If you are not comfortable editing server files, ask your host or developer to do it.

How to confirm the fix worked

  1. Visit the http:// version of your home page and a few inner pages. Each should land on https:// with a padlock.
  2. Open a page with images and a form. If the padlock shows a warning, something is still loading over HTTP.
  3. Check that the redirect is permanent. Free online redirect checkers show a 301 status for the first step.
  4. Re-run the SSL Labs test and confirm the certificate is valid and the chain is complete.
  5. In Google Search Console, watch the https property over the next few weeks for indexing errors.

How to stop it coming back

  • Check renewal. The most common cause of a sudden warning later is a certificate that silently failed to renew. See what to do when a certificate expires.
  • Set a reminder. Note your certificate expiry date and check it monthly if you cannot confirm automatic renewal.
  • Use https everywhere. When you add images, embed codes or links, use https:// addresses or relative paths.
  • Consider HSTS later. The Strict-Transport-Security header tells browsers to always use HTTPS. Only add it once everything works, and start with a short duration, because it is hard to undo if something breaks.
  • Recheck after changes. Moving host, changing DNS or adding a CDN can reset certificate settings, so test again afterwards.

Step by step for your platform

Questions

Will moving to HTTPS hurt my Google rankings?

Not if the redirects are 301s and every old address points to its new https version. Rankings can wobble briefly while Google re-crawls, but this usually settles.

Is HTTPS free?

Often yes. Many hosts include free certificates, and Let's Encrypt is a well known free provider. Paid certificates exist but are not required for most small business sites.

Why do I still see Not secure after installing a certificate?

Usually a page still loads an image, script or stylesheet over HTTP (mixed content), or the redirect is missing so you are viewing the http address. Check both.

Do I need to do anything for www and non www versions?

Yes. Pick one as your main address and redirect the other three combinations (http and https, with and without www) to it.

How long does it take?

With a host that offers one click certificates, a small site can be done in under an hour. Larger sites with many hard coded http links take longer to clean up.

Can I do this myself if I am not a developer?

Often, yes, if your host has an SSL button and your site has a setting for its address. If you need to edit server files, ask your host or a developer.

Related problems