Neova고급 SEO 플랫폼

HSTS 헤더가 없거나 max-age가 1년 미만임

Neova에서는 크롤링 자체에서 실행됩니다. 따로 설정할 것이 없습니다.

규칙 최종 검토: 2026년 10월 17일 · 가이드 업데이트: 2026년 7월 7일

HSTS가 없으면 브라우저는 여전히 첫 요청을 일반 HTTP로 보낼 수 있어 가로채기에 노출됩니다. max-age가 0이면 브라우저에 이 호스트의 규칙을 잊으라고 알리는 것입니다.

해 볼 수 있는 조치

HTTPS 응답에 Strict-Transport-Security를 보내세요. max-age를 단계적으로 최소 31536000(1년)까지 올리고, 모든 하위 도메인이 HTTPS로 전환되면 includeSubDomains를 추가하세요.

Neova가 찾는 방법

Neova는 모든 주소의 응답 헤더를 읽습니다.

Neova가 플래그를 지정하는 이유

  • HSTS가 없으면 브라우저가 여전히 첫 요청을 일반 HTTP로 보낼 수 있어, HTTPS로 리디렉션되기 전에 가로채일 수 있습니다.
  • max-age 0은 브라우저에 해당 호스트의 규칙을 버리라고 알립니다. Lighthouse와 HSTS 사전 로드 목록은 최소 31536000초(1년)를 요구합니다.
  • 검색엔진 규칙이 아니라 보안 관례입니다.

출처

작성하는 티켓

이 부분은 현재 영어로만 제공됩니다.

SE-006 · HSTS Header Is Missing or Its Max-Age Is Under One Year

How to Check the Fix: 1. Run the check again in Neova
2. Spot-check sample URLs across affected templates
3. Record the re-check date and period label next to the baseline

Neova writes this ticket for every affected page group and sends it to Jira, Linear, Asana and the rest, after you approve it.

전체 가이드

이 부분은 현재 영어로만 제공됩니다.

TL;DR: The HSTS header forces browsers to use HTTPS for your domain on every request, closing the man-in-the-middle window that a plain redirect leaves open. It's not a ranking factor, but it locks users onto your canonical HTTPS URLs. Start with a short max-age, then ramp to a year.

What a Missing HSTS Header Means

The Strict-Transport-Security (HSTS) header tells the browser to only ever connect to your domain over HTTPS — even if a user types http:// or clicks an old link — so if it's missing, that very first request still travels in the clear and can be hijacked before your redirect fires. This closes the tiny but real window that a plain HTTP-to-HTTPS redirect leaves open to a man-in-the-middle attacker.

Like most security headers, HSTS is not a direct ranking factor. Its SEO value is defensive: it locks users onto the canonical HTTPS version of every URL, which keeps your protocol signals clean and stops the kind of session-hijacking that leads to hacked-site warnings.

A Real Example and the Fix

A site that redirects to HTTPS but never sends HSTS looks fine in a browser yet returns nothing here:

$ curl -sI -A 'Mozilla/5.0' https://example.com/ | grep -i strict-transport
# (no output — header absent)

The fix is one header. This is the exact value GitHub ships in production — a full year, all subdomains, preload-eligible:

Strict-Transport-Security: max-age=31536000; includeSubDomains; preload

Re-check after deploy and the header comes back:

$ curl -sI -A 'Mozilla/5.0' https://example.com/ | grep -i strict-transport
strict-transport-security: max-age=31536000; includeSubDomains; preload

What Each HSTS Directive Does

Token Meaning Recommendation
max-age=31536000 How long (seconds) the browser remembers to force HTTPS 1 year once you're confident
includeSubDomains Applies the rule to every subdomain too Add only after confirming all subdomains do HTTPS
preload Opts into the browser-baked preload list Add last; submission is one-way and slow to reverse
max-age=0 Tells the browser to forget the policy Emergency kill-switch only

Why HSTS Closes a Gap Plain Redirects Can't

Say a user on cafe Wi-Fi types yourdomain.com. The browser fires http://yourdomain.com, your server answers with a 301 to HTTPS, and everything looks secure from there. But that first HTTP request — and the redirect response — travelled in the clear, and anyone on that network can intercept it and rewrite the redirect to a look-alike phishing host. HSTS shuts this down: once a browser has seen your header, it upgrades to HTTPS before sending anything, so that first plaintext request never happens again. The preload list goes one step further, baking the rule into the browser so even the very first visit is protected. This is the whole reason HSTS exists on top of a redirect — not redundancy, but covering the one moment the redirect can't.

How to Detect It

  1. curl: curl -sI -A 'Mozilla/5.0' https://yourdomain.com/ | grep -i strict-transport-security. Silence means it's missing.
  2. securityheaders.com: the scan lists HSTS presence, the max-age value, and whether includeSubDomains and preload are set.
  3. hstspreload.org: Google's official checker tells you whether your header qualifies for the preload list and why not if it doesn't.
  4. Screaming Frog: the Security tab flags "Missing HSTS Header" across every crawled URL in one pass.

How to Fix It

Send the header only over HTTPS — never on the plain-HTTP response, per the spec. Start with a short max-age, confirm nothing breaks, then ramp up.

Apache (.htaccess)

<IfModule mod_headers.c>
  Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains" env=HTTPS
</IfModule>

Nginx

add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;

Place this inside the server block that listens on 443, not the port-80 block.

WordPress (No Server Access)

Send it from PHP when you can't reach the server config:

add_action('send_headers', function () {
  if (is_ssl()) {
    header('Strict-Transport-Security: max-age=31536000; includeSubDomains');
  }
});

The is_ssl() guard keeps the header off any plain-HTTP response, which the spec requires.

The Safe Ramp

Ship max-age=300 first (five minutes). Browse the whole site, check subdomains, watch for anything that still needs plain HTTP. Bump to max-age=86400, then to a year, then — and only then — add preload and submit to hstspreload.org. Set includeSubDomains; preload with a subdomain that isn't HTTPS-ready and you'll hard-block it in every browser, with a slow, painful path to undo it.

Common Mistakes

  • Sending HSTS over HTTP. Browsers ignore the header on plain-HTTP responses by design — it only counts over HTTPS. Gate it behind an HTTPS check.
  • Jumping straight to a one-year max-age with preload. If one asset or subdomain still needs HTTP, you've locked users out with no quick undo.
  • Adding includeSubDomains before auditing subdomains. A legacy blog. or shop. subdomain on HTTP will break the moment the directive lands.
  • Forgetting the redirect. HSTS doesn't replace the 301 from HTTP to HTTPS — it complements it. Drop the redirect and first-time visitors have nothing to upgrade from.

FAQ

Is HSTS a Google Ranking Factor?

No. Google confirmed years ago that HTTPS is a lightweight signal, but HSTS specifically is not scored. You add it for security and clean protocol handling, not for a rankings bump.

Do I Still Need HTTP-to-HTTPS Redirects If I Have HSTS?

Yes. The redirect handles the very first visit before the browser has ever seen your HSTS header; HSTS protects every visit after that. Keep both — see HTTP does not redirect to HTTPS.

What's the Difference Between HSTS and CSP?

HSTS forces the connection to stay encrypted; Content-Security-Policy controls what content is allowed to load over it. Different jobs, and you want both.

Should I Add preload Right Away?

No. Preload bakes your domain into browsers and is deliberately hard to reverse. Run a long max-age with includeSubDomains in production for weeks first, confirm every subdomain is HTTPS-only, then submit.

Will HSTS Help My HTTPS Migration?

It's the finishing move, not the opener. Complete the migration, verify canonicals and redirects, then lock it in with HSTS. Our HTTPS migration checklist covers the full sequence.

내 사이트에서 찾아보기

Neova는 크롤링할 때마다 이 점검과 다른 모든 점검을 실행하고, 수정 방법을 팀을 위한 티켓으로 작성합니다.

  • Mac, Windows, Linux용 데스크톱 앱
  • 출처가 함께 있는 696개 점검 전체
  • Search Console과 Analytics 4를 읽기 전용으로 연결
  • Jira, Linear, Asana로 티켓 보내기

Neova 다운로드 Desktop Free 플랜 또는 Solo 14일 무료, 카드 불필요.

보안 점검 전체 · 가이드 · 점검 라이브러리

작성: Neova Labs · 점검 라이브러리로 돌아가기