Skip to content

Redirects

HTTPS downgrade

An HTTPS downgrade is a redirect that sends visitors from an https:// address to an http:// one on the same site, undoing their encryption.

Scanetra rating: MediumCheck RDR-01

Why it matters

Visitors who arrived securely are moved to an unencrypted page, where content can be read or changed. It usually comes from an old rule or an app that builds its own http:// links behind a proxy.

What Scanetra looks for

  • Any redirect in the chain from https:// to http:// on the same hostname.

It reads only your homepage's public response. How a scan works

How to fix it

Find the rule

Follow the redirect chain to see which step drops to http://:

curl -sIL https://example.com/ | grep -i '^location'

App behind a proxy or CDN

The app thinks requests are HTTP because the proxy talks to it over HTTP. Pass the original scheme and let the app trust it, for example in nginx:

proxy_set_header X-Forwarded-Proto $scheme;

WordPress

Set both WordPress Address and Site Address to https:// under Settings › General.

Replace example.com with your own domain, and test changes on a staging copy first where you can.

Check that it worked

Every redirect from https://your-site/ stays on https://. Then scan again.

Check your own site

A free scan tells you whether your site passes this check, and the 24 others.

Scan a website