Redirect HTTP to HTTPS: close the insecure way into your site
Last reviewed
If http:// still loads your site, visitors can browse it insecurely.
If your site answers on plain http:// instead of forcing a redirect to the secure https:// version, some visitors and links will load an unencrypted page. Browsers increasingly mark these as "Not secure", search engines prefer the secure version, and any data on the page can be read in transit.
Why a missing HTTP to HTTPS redirect costs you customers
A missing HTTPS redirect splits your site into a secure and an insecure version. It confuses search engines, erodes the trust signal in the address bar, and leaves a door open that a modern site should have closed. It is a small fix that quietly costs rankings and confidence.
What usually causes a missing HTTP to HTTPS redirect
- The redirect rule was never added at the server or CDN
- A migration dropped the HTTPS enforcement
- A subdomain or landing page was set up without it
How to check for a missing HTTP to HTTPS redirect yourself
- In a private browser window, type http:// followed by your domain, spelled out in full, and press enter.
- Watch the address bar after the page loads. It should have changed to https:// with a padlock. If it still reads "Not secure", there is no redirect.
- Run the same test on the www version and on one inner page, because redirects are sometimes set up for the homepage only.
- Test any separate landing page or subdomain you advertise, as these are often built outside the main site and skipped.
How to fix a missing HTTP to HTTPS redirect
- Look for a "force HTTPS" or "always use HTTPS" switch in your hosting dashboard or content delivery network. For most sites that one setting is the whole fix.
- If there is no switch, ask your developer or host to add a permanent 301 redirect from http to https at the server level.
- Update the site address in your CMS settings to the https:// version, so the site stops generating insecure links to itself.
- After the redirect is confirmed working, have your developer add a Strict-Transport-Security header so returning browsers skip the insecure version entirely.
How Prsona catches a missing HTTP to HTTPS redirect
Prsona requests the plain http:// version on every scan and flags it if the site serves instead of redirecting to https://, so every visitor lands on the secure page.
Prsona looks for a missing HTTP to HTTPS redirect as part of SSL certificate monitoring.
Check whether the http:// version of your site forwards to https://.
Questions about a missing HTTP to HTTPS redirect
Does having an SSL certificate automatically redirect HTTP to HTTPS?
No. Installing a certificate only makes the secure version available. The insecure version keeps working alongside it until a redirect is added. Many sites run for years with both live because the owner always types or bookmarks the https address and never sees the other one.
Should the redirect from HTTP to HTTPS be a 301 or a 302?
Use a 301. It tells browsers and search engines the move is permanent, so they update their records and pass ranking signals to the secure address. A 302 says the move is temporary, which can leave the old insecure address in search results longer than you want.