Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Use when checking whether a web server is configured to redirect all HTTP traffic to HTTPS.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -1% | 0% |
| case-02 | ✓→✓ | = Same ✓ | -25% | 0% |
| case-03 | ✓→✓ | = Same ✓ | -9% | 0% |
| case-04 | ✓→✓ | = Same ✓ | 6% | 0% |
| case-05 | ✓→✓ | = Same ✓ | 35% | 0% |
Without an HTTP-to-HTTPS redirect, users who type the domain without https:// or follow old links land on the insecure version of the site, exposing session cookies and form data to network attackers.
http://example.com to https://example.com with HTTP 301 (permanent redirect)https://$host$request_uriTest whether http://example.com redirects to https://example.com with a 301 status code. Check that the full URL path and query string are preserved in the redirect Location header.
Configure the web server to redirect all HTTP requests to HTTPS with a 301 status code, preserving the full request path. Verify the redirect with curl -I http://example.com.
Explain why redirecting HTTP to HTTPS is necessary, the difference between 301 and 302 redirects, and how HSTS can eliminate the redirect for returning users.
Review server config, headers, forms, and integration points related to Redirect HTTP to HTTPS. Flag exact responses, cookies, or browser behaviors that violate the rule, and verify them against the effective production-like response.
For full implementation details, code examples, and framework-specific guidance, see references/rule.md.
Rule page: https://frontendchecklist.io/en/rules/security/http-to-https
Other measured skills in the registry, with their headline benchmark lift.