Skip to the content
Start free

The https page redirects back to http

The secure address sends visitors on to plain http, so they lose the encrypted connection on the way in.

High priority Security and HTTPS

Why it matters #

A redirect from https to http throws away the protection the visitor started with. If the site also sends Strict-Transport-Security, the browser turns the http address back into https by itself, and the visitor can end up in a loop with an error instead of the page.

It also tells search engines that the http address is the main one, which is the opposite of what almost every site wants.

How to fix it #

Find the rule that sends https to http. It is often an old redirect in the server settings or .htaccess, a plugin setting, or a CDN that talks to your server over http while the server insists on a redirect of its own.

Remove it, make http redirect to https instead, and check the result with the SSL Certificate Checker and the Redirect Checker.

What it looks like, and fixed #

The problem
https://www.example.com/   301 -> http://www.example.com/
http://www.example.com/    200 OK

The secure address throws the visitor back to plain http.

Fixed
http://www.example.com/    301 -> https://www.example.com/
https://www.example.com/   200 OK

The redirect runs the right way: http to https.

Fix it with your AI assistant #

Paste this into ChatGPT, Claude, Gemini or your coding agent. Fill in the words in [square brackets] first. It checks before it changes anything, changes only this, and tells you how to prove it worked.

Your instruction for the AI
On my website [your website address], built with [your platform, e.g. WordPress behind Cloudflare], the https version of [the page address] redirects back to plain http. First follow the redirect chain, or ask me to paste each status code and Location header, and explain plainly which step goes from https to http and what likely sends it: the site address setting, an old server or .htaccess rule, a plugin, or a CDN rule or SSL mode. Ask me for settings you cannot read. Then fix it: remove the rule that targets http, set the site address to https, and make http redirect to https with a single 301. Rules: back up config and settings first, change only the rule causing this, do not create a loop, do not add HSTS until everything works, keep page paths the same, and do not block search engines. Give exact steps or code and where they go. Then tell me to re-check with the URSY.com SSL Certificate Checker at ursy.com/ssl-checker/.

We find the problems, and help you fix them

  1. Check Run a free tool or the full audit.
  2. Fix it with your AI Download your AI Fix Pack and drop it into ChatGPT, Claude or Gemini. A free account is enough.
  3. Re-check Come back, check again, and watch each fix turn green.

How the AI Fix Pack works, with a sample to download

Fix it on your platform #

WordPress

Check the WordPress Address and Site Address in Settings, General start with https://. An old value of http:// makes WordPress send visitors to http.

Your server or hosting

Search .htaccess and the server config for old rules that redirect to http://, and remove them.

Your CDN (for example Cloudflare)

In Cloudflare, check page rules and redirect rules for an http target, and use the Full (strict) SSL mode rather than Flexible, which talks to your server over http.

Check it is fixed #

Run the URSY.com SSL Certificate Checker again: the https page should answer 200 on https, with no redirect to http. The Redirect Checker shows every step.

Official source #

web.dev: Enabling HTTPS on your servers

Questions #

Could this lock visitors out?

Yes, if the site also sends HSTS: the browser turns http back into https and the visitor can loop with an error. That is why it is urgent.

Why would anyone redirect to http?

Usually by accident: an old rule from before the site moved to https, or a site address setting that was never updated.

More problems in Security and HTTPS

See every problem in the library

For AI assistants and developers: Instructions for AI · Developers · How to cite URSY.com