SSL/TLS & Transport
critical Severity
Free Check

HTTPS Enforced (301 Redirect)

Ensures the root domain and all HTTP traffic permanently redirects (301) to an encrypted HTTPS connection.

Test Your Website for HTTPS Enforced (301 Redirect)

Run this check along with 90+ automated tests across your domain.

Why It Matters

Serving any pages over unencrypted HTTP exposes credentials, session cookies, and user communications to packet sniffing.

How We Check This

We send a plain HTTP request to port 80 and verify a 301/308 redirect to https://.

How to Fix & Implement

Copy-paste configuration blocks tailored for your web server or edge proxy.

nginx snippet
server { listen 80 default_server; return 301 https://$host$request_uri; }

Frequently Asked Questions

Should I use 301 or 302 redirect for HTTPS?

Use 301 (Permanent Redirect) so browsers cache the redirect and search engines index the HTTPS URL.