Neova고급 SEO 플랫폼

hreflang이 상대 URL을 사용함

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

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

Google은 hreflang에 스킴을 포함한 완전한 URL을 요구합니다. 상대 URL이나 프로토콜 상대 URL은 이 요구 사항을 충족하지 않습니다.

해 볼 수 있는 조치

각 hreflang href를 https://...로 시작하는 전체 URL로 쓰세요.

Neova가 찾는 방법

Neova는 모든 주소에 대한 서버 응답을 규칙과 대조합니다.

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

  • Google은 https://를 포함한 완전한 hreflang URL을 요구하므로, 상대 URL이나 프로토콜 상대 URL은 규칙을 충족하지 못합니다.
  • Google이 쓸 수 없는 주석은 검색자가 엉뚱한 언어 버전을 보게 합니다.
  • 전체 URL은 페이지를 복사하거나 다른 호스트에서 제공해도 올바르게 유지됩니다.

출처

작성하는 티켓

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

HR-017 · Hreflang Uses a Relative URL

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: hreflang annotations that point at relative URLs (like /fr/produit instead of https://example.com/fr/produit) are invalid. Google ignores them, so your language and region targeting silently stops working. Every href value in an hreflang cluster must be a fully qualified absolute URL with protocol and host.
Check code
HR-016
Severity
High
Where
head / sitemap / header
Fix effort
Low
Detect with
Screaming Frog

What This Check Is Flagging

hreflang is how you tell Google that a page has equivalent versions in other languages or regions, so the right version gets served to the right searcher. The mechanism is a set of <link rel="alternate" hreflang="xx"> tags (or the sitemap / HTTP header equivalents), and each one carries an href pointing at the alternate URL. This check fires when that href is relative instead of absolute.

An absolute URL is the whole address: scheme, host, path. A relative URL is a fragment that only makes sense in the context of the current page. Browsers resolve relative links against the current document all day long, which is exactly why people assume hreflang will too. It will not. The hreflang spec and Google's own documentation both require the fully qualified form.

Relative (broken) hreflang="fr" href= "/fr/produit" Google cannot resolve host: annotation dropped.

Absolute (valid) hreflang="fr" href= "https://ex.com/fr/produit" Google maps the cluster: correct version served.

Rule: scheme + host + path, every time. No leading-slash paths, no protocol-relative //. https:// example.com /fr/produit

Why It Matters for SEO

When hreflang works, a French searcher lands on the French page and a Canadian searcher lands on the CA page, without you fighting canonical wars or accidentally cannibalizing your own rankings across locales. When the annotations are invalid, none of that happens. Google treats a relative href as unparseable and drops the pairing. Because hreflang is bidirectional and requires every page in the cluster to point at every other page (including itself), one broken href can unravel the whole return-tag relationship for that set.

The failure is quiet, which is what makes it nasty. Nothing errors out, nothing 404s, the page renders fine. You just gradually notice the wrong-language version outranking the right one in a market, or duplicate-content style suppression where two near-identical localized pages compete instead of cooperating. By the time it shows up in revenue it has usually been broken for months.

How to Detect It

  • Screaming Frog SEO Spider: crawl with hreflang extraction on, then open the Hreflang tab. It flags non-absolute URLs and missing return tags directly. This is the fastest way to audit a whole site.
  • Google Search Console: the International Targeting report is deprecated, but the URL Inspection tool still shows how Google parsed a page's alternates. If a relative href was dropped, it will not appear in the detected alternates.
  • Sitebulb: runs a dedicated hreflang audit with a "not absolute URL" hint and a visual cluster map, which is handy for explaining the problem to a stakeholder.
  • View source / server logs: for a spot check, view the raw HTML or the XML Sitemap and eyeball the href values. If any start with /, ./, ../, or //, they are relative or protocol-relative and need fixing.

Common Ways This Creeps In

You Wrote Type Result
/fr/produit Root-relative Invalid, dropped
produit Path-relative Invalid, dropped
//example.com/fr/produit Protocol-relative Not recommended, risky
https://example.com/fr/produit Absolute Valid

How to Fix It, Step by Step

  1. Find the source of the tags. hreflang is almost always generated by a template, a plugin, or a sitemap builder, not hand-authored per page. Fix it at the source and you fix every page at once.
  2. Emit the full URL. Prepend the canonical scheme and host to whatever path your code produces. In practice that means concatenating https://yourdomain.com with the localized path, using the same casing and trailing-slash convention as your canonical tags.
  3. Match your canonical exactly. The hreflang href for a page should be byte-identical to that page's self-canonical: same protocol, same host (www or not), same trailing slash. Mismatches here create a second, separate class of hreflang bug.
  4. Do not use protocol-relative //. It technically has a host but Google's guidance is to specify the protocol. Pick https:// and commit.
  5. Re-crawl and confirm. Run Screaming Frog again and check the Hreflang tab shows zero non-absolute URLs and complete return tags before you call it done.

What "Good" Looks Like

Every href in every hreflang annotation is a complete https://host/path string. Each URL in the cluster lists all the others plus itself, and each of those references is absolute and matches the target page's canonical. A crawl comes back clean with no "not absolute" and no "missing return tag" warnings. Served to the right searcher, the right localized page wins.

Do

  • Use full https://host/path URLs in every hreflang href
  • Fix at the template or plugin so all pages inherit the fix
  • Keep hreflang hrefs identical to each page's self-canonical
  • Re-crawl in Screaming Frog to confirm zero non-absolute warnings
  • Include a self-referencing hreflang for each page

Don't

  • Ship root-relative /fr/page or path-relative hrefs
  • Use protocol-relative //host/path and hope it resolves
  • Assume browsers resolving relative links means Google will too
  • Mix www and non-www between hreflang and canonical
  • Leave one page's cluster half-fixed: it breaks the return tags

FAQ

Does This Apply to Hreflang in XML Sitemaps Too?
Yes. Whether your hreflang lives in the HTML head, the HTTP header, or the XML Sitemap, the href always has to be an absolute URL. Sitemaps are actually a common offender because people template the loc and the alternate paths separately and forget the host on one of them.
Will Google Show an Error If My Hreflang Is Relative?
Not loudly. The old International Targeting report is gone, so the annotation just gets silently ignored. That is why a crawler like Screaming Frog or Sitebulb is your early warning system rather than Search Console.
Is Protocol-Relative //example.com/ Acceptable?
It is not recommended. Google's documentation asks for the full URL including the protocol. Use https:// explicitly and avoid the ambiguity entirely.
One Page Had a Relative href but the Rest Are Fine. Is That a Real Problem?
Yes, because hreflang is a cluster. If page A points at page B with a broken href, the return-tag relationship for that pair fails and can weaken confidence in the whole set. Fix every href, not just most of them.

International Setup Gone Quiet?

If the wrong-language version keeps outranking the right one, the hreflang cluster is usually the culprit. Our team audits the whole return-tag graph and hands you a fix list.

내 사이트에서 찾아보기

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

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

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

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

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