Neova고급 SEO 플랫폼

hreflang이 head 밖에 있거나 rel=alternate 링크에 있지 않음

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

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

Google은 올바른 형식의 head 안에 있는 link rel=alternate 요소에서만 HTML hreflang을 읽습니다. 다른 곳에 있는 주석은 인정되지 않습니다.

해 볼 수 있는 조치

각 주석을 rel=alternate가 있는 link 요소로 head 안에 옮기세요.

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

  • Google은 올바른 head 안의 link rel=alternate 요소에서만 HTML hreflang을 읽습니다.
  • body로 파싱되었거나 rel=alternate가 없는 주석은 쓰이지 않으므로, 언어 버전이 전달되지 않습니다.
  • Google은 잘못된 요소 뒤의 head 요소도 무시하므로, 뒤에 있는 링크가 밀려나는 경우가 많습니다.

출처

전체 가이드

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

This check fires when hreflang exists but is built wrong: invalid language or region codes, tags in the wrong place, or two delivery methods fighting each other. The markup is present, so it looks handled, but Google either can't parse it or gets contradictory instructions and drops the lot.

What This Check Flags and Why It Bites

Misconfigured hreflang is worse than none, because it burns crawl budget and gives you a false sense that international targeting is solved. Common culprits: a made-up code like en-uk (the country is gb), a region code with no language, hreflang <link> tags dumped in the <body> instead of the <head>, or the same URLs annotated in both HTML and the XML Sitemap with different values. Any of these can void the cluster.

Wrong vs Right, Side by Side

Here is a block riddled with the classic mistakes, followed by its corrected form:

<!-- BROKEN -->
<link rel="alternate" hreflang="en-uk" href="https://example.com/uk/" />        <!-- invalid country code -->
<link rel="alternate" hreflang="gb" href="https://example.com/gb-page/" />      <!-- region with no language -->
<link rel="alternate" hreflang="fr_FR" href="https://example.com/fr/" />       <!-- underscore, must be hyphen -->
<link rel="alternate" hreflang="us" href="https://example.com/us/" />          <!-- "us" is not a language -->

<!-- FIXED -->
<link rel="alternate" hreflang="en-gb" href="https://example.com/uk/" />
<link rel="alternate" hreflang="en-us" href="https://example.com/us/" />
<link rel="alternate" hreflang="fr-fr" href="https://example.com/fr/" />
<link rel="alternate" hreflang="x-default" href="https://example.com/" />

The fixes: hyphens not underscores, real ISO 639-1 language codes, ISO 3166-1 Alpha-2 country codes, absolute URLs, and a language always present before any region.

The Configuration Errors That Trip Sites

Misconfiguration What Google Does Correct Approach
Invalid code (en-uk, zh-cn misuse, region-only) Ignores the invalid row, sometimes the whole set ISO 639-1 language, ISO 3166-1 Alpha-2 region, hyphenated
Tags in <body> or after markup errors close the head early Never parses them Place in <head> or use the HTTP header / sitemap method
Same URLs in HTML and sitemap with conflicts Sees contradictory signals, discards Pick one delivery method per cluster
Relative URLs Resolution is unreliable Always absolute, with protocol and host
hreflang pointing at redirecting or noindexed URLs Drops those targets Point only at final, indexable 200 URLs

How to Detect It

  1. Screaming Frog, Hreflang tab. The Incorrect Language & Region Codes and Non-200 Hreflang URLs filters surface invalid codes and bad targets immediately after a crawl.
  2. Validator. Run suspect URLs through an hreflang validator; it flags malformed codes, wrong placement, and mixed-method conflicts with specific error lines.
  3. View source. Confirm the tags actually sit inside <head> and that no earlier markup error closed the head prematurely, which silently pushes them into the body.
  4. Search Console. The International Targeting report that used to flag unknown language codes was deprecated in 2022, so use URL Inspection on key URLs to corroborate the crawl findings.

How to Fix It

  1. Audit every code against ISO 639-1 (language) and ISO 3166-1 Alpha-2 (region). Kill invented combos like en-uk.
  2. Consolidate to one delivery method. If you are torn between HTML and sitemap, the implementation guide lays out which suits your scale.
  3. Verify placement. Head-only for the <link> method, and make sure no broken tag above it closes the head early.
  4. Point at clean targets: absolute, indexable, 200-status URLs, never a redirect chain or a noindexed page.
  5. Recrawl and revalidate until the error filters come back empty.

When two rows genuinely disagree about which URL serves a language, that is its own diagnosis in conflicting hreflang entries. If the misconfiguration turns out to be a missing return reference rather than a bad code, see missing self-referencing hreflang.

FAQ

Why Is Misconfigured Hreflang Worse Than Having None?

None is a clean slate Google fills with its own logic. Misconfigured markup actively misleads the crawler, wastes budget on rows it cannot use, and hides the problem behind tags that look present in the source.

Is en-uk Really Wrong?

Yes. The language is en, but the United Kingdom's ISO country code is gb, so the valid value is en-gb. en-uk is a non-existent code Google discards.

Can I Use Both HTML Tags and Sitemap Hreflang?

Pick one per cluster. Running both invites the two sources to drift apart, and once they conflict, Google stops trusting either. Consistency beats redundancy here.

Does Capitalization Matter in the Codes?

Google is case-insensitive on the values, but the separator must be a hyphen, not an underscore, and the format language-first is non-negotiable. Stick to lowercase language, uppercase or lowercase region, hyphenated.

My Hreflang Points to Pages That Redirect. Problem?

Yes. hreflang targets should be the final, canonical, indexable URLs. Pointing at a redirect or a noindexed page gets that alternate dropped from the cluster.

How Do I Handle Chinese, Norwegian, and Other Tricky Codes?

These trip people constantly. Simplified Chinese is zh or zh-cn, traditional is zh-tw or zh-hant; Norwegian splits into nb and nn, not a bare no in most cases. When a language has script or dialect variants, check the ISO 639-1 list before you guess, because an invented shorthand gets the row discarded like any other invalid code.

Can a Single Markup Error Break Every Hreflang Tag on the Page?

It can. An unclosed tag earlier in the head can close the head element prematurely in the parsed DOM, shoving every hreflang <link> below it into the body where Google never reads them. Validate the whole head, not just the hreflang block.

내 사이트에서 찾아보기

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

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

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

글로벌 SEO 점검 전체 · 가이드 · 점검 라이브러리

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