Guide
HTTP not redirecting to HTTPS? How to fix it
You have a certificate and the padlock shows when you type https://, but typing the plain address, or clicking an old link, still opens the site on http:// with “Not secure” next to it. That means the certificate works but nothing is forwarding visitors to it. This guide explains how to confirm the problem, the usual causes, and the one-time fix for the most common setups.
Free, read-only, about a minute. No login. Curious what you get back? Here’s a sample report.
Why it matters
On plain http, anything a visitor types into your contact or booking form travels unencrypted, and browsers label the page “Not secure”. Google’s web.dev explains that HTTPS protects the integrity of your site and the privacy of your visitors, and that many newer browser features only work on HTTPS (Why HTTPS matters).
Having a certificate isn’t enough on its own. Old links, printed flyers, directory listings and people typing your address by hand often still use http://. A redirect is the instruction that sends all of them to the secure version automatically.
How to test it in two minutes
- Open a private or incognito window, so your browser’s memory of earlier visits doesn’t hide the problem.
- Type
http://yourbusiness.comin full, includinghttp://. The address bar should switch tohttps://and show the padlock. - Repeat with
http://www.yourbusiness.com, and with a deeper page such ashttp://yourbusiness.com/contact. All of them should end up on https. - Or type your address into the free SSL checker, which reports whether http forwards to https, whether the padlock works, and whether browsers are told to stay on https.
A correct redirect is permanent (status 301 or 308) and goes straight to the final https address in one step. MDN’s guide to redirections explains the difference between permanent and temporary redirects, and Google recommends permanent server-side redirects when a page moves for good (Redirects and Google Search).
HTTPS redirect not working? Check these first
If https shows the padlock but typing http never forwards, or a host panel still says the http to https redirect is not enabled, check these before adding extra rules. A working certificate and a redirect are separate settings.
- The redirect is missing or switched off at the host or CDN. Many hosts leave “force HTTPS” as its own switch. On Cloudflare, turn on Always Use HTTPS under SSL/TLS > Edge Certificates; that redirects every http request to https (Cloudflare docs).
- The Apache rule never runs. In
.htaccess, rewrite rules do nothing unlessRewriteEngineis on (it is off by default), and they run in the order they are written. Put the https redirect above other rewrites, including the WordPress block, or an earlier rule can handle the request first (Apache: forcing HTTPS). - A cached http response is hiding the fix. Browsers store responses and reuse them on later visits. After you change the redirect, retest in a private window so you are not looking at yesterday’s http page.
- WordPress Address and Site Address still start with http. On Settings > General, both WordPress Address (URL) and Site Address (URL) should include
https://(WordPress: changing the site URL). - Mixed content is a different issue. Forcing HTTPS does not fix images or scripts that still load over http on an https page; browsers check those resources separately (MDN).
Confirm with the free SSL checker, which reports whether http forwards to https.
The usual causes
1. The certificate is on, but the redirect was never switched on
Many hosts install a free certificate automatically but leave “force HTTPS” as a separate setting that is off by default.
2. Only one version of the address redirects
The redirect is set up for yourbusiness.com but not for www.yourbusiness.com, or the other way round. The certificate also has to cover both names.
3. Your site’s own address setting still says http
Platforms like WordPress store the site address. If it still starts with http://, the site may keep generating http links, or bounce visitors back and forth.
4. A CDN or proxy in front of the site
If you use a service such as Cloudflare, it may handle the redirect itself, and a rule on your server can clash with it, causing a “too many redirects” error.
5. A redirect chain instead of one hop
Going from http to www, then to https, then to the final page works, but each extra hop adds a delay that hurts more on phones (see why your website is slow on mobile).
How to fix it, by setup
Menu names change from time to time, so treat these as directions rather than exact clicks. Back up first if you edit server files.
Hosting control panel (cPanel, Plesk and similar)
- Look for SSL/TLS, Domains or HTTPS in your hosting panel.
- Turn on the option named “Force HTTPS”, “HTTPS redirect” or similar, for both the www and non-www address.
- Test again in a private window.
WordPress
- Make sure the certificate already works:
https://yourbusiness.comshould load with the padlock. - Under Settings > General, change both WordPress Address and Site Address to start with
https://. - Turn on your host’s HTTPS redirect (above), or ask your host to add the server rule. WordPress documents the steps in its HTTPS guide.
- Update old
http://links to your own images and pages, so secure pages don’t load insecure files (mixed content).
Cloudflare
- In the Cloudflare dashboard, open SSL/TLS > Edge Certificates.
- Turn on Always Use HTTPS, which redirects every http request to https (Cloudflare docs).
- If you then see “too many redirects”, your server and Cloudflare disagree about encryption. Ask your web person to check the SSL/TLS encryption mode before adding more rules.
Apache or Nginx servers
If you or your developer manage the server, the redirect is a short rule in the server configuration. Apache documents it in its redirecting and remapping guide, and Nginx in converting rewrite rules (a separate server block for port 80 that returns a 301 to the https address).
Squarespace, Wix and Shopify
These platforms provide the certificate and normally handle the redirect for you. If http doesn’t forward, check the domain or SSL settings for a secure-only option, and confirm your custom domain is fully connected to the platform for both www and non-www. If it still doesn’t work, contact the platform’s support with the exact address that stays on http.
After the redirect works: tell browsers to stay on https
Once every address forwards correctly, add the Strict-Transport-Security (HSTS) header. It tells browsers to use https for your site automatically on future visits, even if someone types http. MDN notes that browsers ignore this header when it arrives over plain http, so it only works once https is in place (MDN: Strict-Transport-Security).
Start with a short time setting, then raise it once you’re sure everything works. Only consider the browser preload list at hstspreload.org once every subdomain you use supports https, because removal from the list is slow. The free security headers checker shows whether HSTS is on.
What to ask your web person
- “Does every http address, with and without www, forward to https in one permanent (301 or 308) redirect?”
- “Is the redirect set in one place only (host, server or CDN), so they don’t clash?”
- “Does our certificate cover both the www and non-www address, and does it renew automatically?”
- “Are any images or scripts still loading over http?”
- “Can we add the Strict-Transport-Security header once the redirect is confirmed?”
Frequently asked questions
Why does my site still show “Not secure” when I have an SSL certificate?
Usually because the visitor reached the plain http version and nothing forwarded them to https. It can also mean the page loads some images or scripts over http, or the certificate doesn’t cover the exact address used, such as the www version.
Should the redirect be 301 or 302?
Use a permanent redirect (301 or 308). A temporary redirect (302 or 307) tells browsers and search engines the move may be undone, so they keep the old http address around.
Will redirecting to HTTPS hurt my Google rankings?
A permanent redirect is the method Google recommends when a page moves for good. Keep it to one hop, update your own internal links to https, and make sure your sitemap lists the https addresses.
What causes “too many redirects” after forcing HTTPS?
Two systems are redirecting in opposite directions, most often a CDN such as Cloudflare and a rule on your server, or a site address setting that still says http. Keep one redirect in one place and make sure the CDN’s encryption mode matches your server.
Do I still need HSTS if I have a redirect?
It is recommended. The redirect fixes the first visit; HSTS makes browsers go straight to https on later visits without first trying http. Add it only after every address loads correctly on https.
Check your redirect and padlock now
The free PatchPulse check confirms whether http forwards to https, whether your certificate works, and which security settings are missing, plus your speed on phones.
Want it checked every week? See website monitoring pricing (from $79/month), or website monitoring for senior living communities, website monitoring for healthcare clinics, website monitoring for law firms, website monitoring for home services businesses, website monitoring for HVAC companies, website monitoring for plumbers, website monitoring for dental practices, website monitoring for auto repair shops.
Related: all guides · free tools · FAQ
Optional email
Get the occasional PatchPulse email
A short email with practical speed, security and SEO tips for small-business sites, plus one anonymized finding from our scans. Every email has an unsubscribe link, and we never share your address. Privacy.