HTTPS redirects to HTTP: a step that drops visitors onto an insecure address
Last reviewed
One of your redirects drops visitors onto an insecure address.
An HTTPS-to-HTTP redirect is a step in a chain of redirects that sends visitors from a secure https:// address to an insecure http:// one, even when a later step returns them to https. For that moment the connection is unprotected, so whatever is sent can be read or altered. It usually comes from one redirect rule written with http:// instead of https://, and the fix is to correct that rule.
Why a redirect from HTTPS to HTTP costs you customers
Visitors rarely see the insecure step, which is what makes it easy to miss. During it, the address requested and any cookies without the Secure flag travel unencrypted, exactly what HTTPS exists to prevent. A browser set to use secure connections only may show a warning before it follows the step, and each extra hop in the chain also slows the first page a visitor sees.
What usually causes a redirect from HTTPS to HTTP
- A redirect rule on the server or in a plugin was written with http:// in its destination
- The site's own address setting still starts with http://, so the platform sends visitors there first
- An old domain or the www version redirects to http://, and the server then upgrades it again
- A redirect plugin still holds entries from before the site moved to HTTPS
- A short link or campaign redirect points at the http:// version of the page
How to check for a redirect from HTTPS to HTTP yourself
- Use a free redirect-chain lookup site. Paste your https:// address and read the list of steps: every address in it should begin with https://.
- Try the versions people really type or click: with and without www, and any old domain you used to own. Each chain should stay on https:// from start to finish.
- In WordPress, open Settings, then General, and check that both the WordPress Address and the Site Address begin with https://.
- If you use a redirect plugin or your host's redirect settings, read the destinations listed there for any that still begin with http://.
How to fix a redirect from HTTPS to HTTP
- Have your web person find the rule that produces the http:// step and change its destination to https://. The lookup shows which address the step starts from.
- Update the site address in the platform settings to https://, so the platform stops generating insecure addresses.
- Point old domains and the other www version straight at the final https:// address in a single step, rather than through an http:// hop.
- Once every chain stays secure, ask your developer about HSTS, a setting that tells browsers to use https for your domain from then on.
- Recheck the chains after any change of host, domain or redirect plugin, which is when stray http:// rules tend to return.
How Prsona catches a redirect from HTTPS to HTTP
Prsona follows the redirects from your address on each scan and flags a step that goes from an https:// address to an http:// one, naming both addresses so your web person can find the rule.
Prsona looks for a redirect from HTTPS to HTTP as part of SSL certificate monitoring.
Keep every route to your site on a secure connection.
Questions about a redirect from HTTPS to HTTP
If the final page has a padlock, does an http step in between matter?
Yes. The padlock describes the last page, not the journey to it. During the insecure step the request travels unencrypted, so someone on the same network could read or change it, including sending the visitor somewhere else. Keeping every step on https closes that gap.
What is HSTS, and should I turn it on?
HSTS, short for HTTP Strict Transport Security, is a header that tells browsers to use only https for your domain for a set period. It stops insecure steps from happening in the browser at all. Turn it on only after every page and redirect works on https, because browsers refuse http for that domain while it is active.