Neova高级 SEO 平台

URL 是使用无效代码的 hreflang 目标

在 Neova 中 直接在抓取过程中运行,无需任何设置。

规则最近审核:2026年10月17日 · 指南更新:2026年7月1日

其他 HTML 页面用 Google 无法使用的 hreflang 值指定了此 URL,因此这些标注对此 URL 不起作用。

您可以做什么

在每个指定此 URL 的 HTML 页面上更正代码。

Neova 为何标记

  • 用无效代码指向此 URL 的页面,无法为它提供任何可用的语言信号。
  • Google 只支持 ISO 639-1 语言和 ISO 3166-1 Alpha 2 地区,以及 x-default。
  • 搜索者于是可能看到该页面的另一个版本,而不是这一个。

来源

完整指南

这一部分目前只有英文版。

Element Code: HR-020

TL;DR: Another page points an hreflang annotation at this URL, but that incoming annotation is malformed: a bad language or region code, an http/https or trailing-slash mismatch, or a URL that does not resolve cleanly. Google throws out the whole reciprocal relationship, so your carefully built international cluster quietly stops working. Fix it at the source page, not here.
SEVERITY
Medium to high
CATEGORY
Hreflang
DIRECTION
Incoming
DETECTION
Validator + crawl
FIX LOCATION
Source page

What This Issue Actually Means

Hreflang is a two-way handshake. If page A says "my French version is page B," then page B has to say "my English version is page A" back. The pointers reference each other by URL and by an hreflang value that names a language, optionally a region, using ISO 639-1 for language and ISO 3166-1 Alpha-2 for country. When it all lines up, Google groups the pages into one cluster and serves the right version to the right audience.

This check, "Invalid Incoming," means some other page is trying to complete that handshake with the current URL, but its half of the annotation is invalid. The incoming reference is broken in a way that makes it unusable. Common culprits: a language code that does not exist (a classic is en-UK, when the correct region is en-GB), a made-up or transposed region, or a target URL that does not match the live URL because of a protocol difference, a www difference, a trailing slash, or a redirect in the path. Because hreflang requires an exact, canonical, self-consistent set of URLs, any of these breaks the pairing.

Why This Matters for International SEO

Google's own documentation is blunt about this: hreflang annotations must be confirmed from both sides, and invalid or non-reciprocal ones are ignored. "Ignored" is the part people underestimate. It does not silently degrade to partial credit. When the incoming annotation is invalid, the reciprocal link is not confirmed, and the cluster relationship for that pair collapses. Google then falls back to its own guess about which version to show, which is exactly the outcome you built hreflang to prevent.

The real-world symptom is the wrong-language result in search: British users landing on the US page, Spanish users getting the Latin American variant, or duplicate-looking pages competing against each other instead of being consolidated into one localized cluster. On a large multi-region site, a scattering of invalid incoming annotations can unravel a big chunk of your geo-targeting without any single dramatic failure to point at.

The Reciprocal Handshake, and Where It Breaks

Page A (en) points to B as "fr" Page B (fr) must point back to A valid pointer invalid incoming: en-UK / slug mismatch Result: pairing not confirmed Google ignores the relationship, guesses the version

How to Detect It

  • Screaming Frog SEO Spider: enable hreflang crawling and read the Hreflang tab. It reports non-reciprocal (unconfirmed) links, missing return tags, invalid language and region codes, and mismatched URLs. The "Non-Reciprocal" and "Incorrect Language and Region Codes" filters are where invalid incoming annotations surface.
  • The Merkle / Aleyda Solis hreflang testing tools: paste a URL and they parse every annotation, validate each code against the ISO lists, and flag the malformed ones with the exact bad value.
  • Sitebulb: its international hints group hreflang problems by type and severity, which is handy for triaging a large cluster.
  • Google Search Console: the legacy International Targeting report is gone, but URL Inspection and coverage data still help you confirm which version Google actually chose, which is your evidence that the relationship is or is not working.
  • Manual view-source: on the source page, read the rel="alternate" hreflang tags directly. Check the exact string of the code and the exact target URL, character for character, against the live canonical.

How to Fix It, Step by Step

The current page is the victim, not the offender. You fix this on whichever source page emits the bad incoming annotation.

  1. Identify the offending source. Your crawler names the URL whose annotation is invalid. Open its markup or sitemap entry.
  2. Correct the code. Validate the language against ISO 639-1 and the region against ISO 3166-1 Alpha-2. Fix classics like en-UK to en-GB. Language comes first, region second, joined by a hyphen.
  3. Match the URL exactly. The target must be the canonical, indexable, self-referencing URL: right protocol, right host, right trailing-slash convention, no redirect in between. Point hreflang at final destinations only.
  4. Confirm reciprocity. Make sure the target page points back with a matching code. Both halves must agree or the pair is discarded.
  5. Include a self-referencing tag. Every page in the cluster should list itself, which is a requirement people routinely forget.
  6. Re-crawl and validate. Run Screaming Frog again and confirm the pair now shows as reciprocal with valid codes and zero mismatches.

Common Invalid Codes and Their Fixes

Wrong Value Why It Is Invalid Correct Value
en-UK UK is not the ISO region code en-GB
en-EU EU is not a country in ISO 3166-1 en or a real region
pt-PT-BR Only one region allowed after language pt-BR
spa-ES Language must be 639-1, not 639-2 es-ES
http://site.com/fr Protocol/slash mismatch vs canonical https://site.com/fr/

Good Versus Broken

DO
  • Validate every code against ISO 639-1 and 3166-1
  • Point at canonical, final, indexable URLs only
  • Confirm both sides reference each other
  • Include a self-referencing hreflang tag on every page
  • Re-crawl after edits to prove reciprocity
DON'T
  • Invent codes like en-UK, en-EU, or zh-CN-HK
  • Point hreflang at a URL that redirects
  • Mix http and https or slash conventions across the cluster
  • Assume one-directional annotations count
  • Target noindex or non-canonical URLs

What "Good" Looks Like

Every incoming annotation that targets this page uses a valid language and region code, points at the exact canonical URL with no redirect, and is matched by a return tag from this page. Your crawler shows the pair as confirmed and reciprocal, and Search Console serves the correct localized version to each audience. When the whole cluster is self-consistent, hreflang does the quiet, boring job you designed it for.

FAQ

The Error Is on This Page's Report, so Why Do I Fix a Different Page?
Because "incoming" means the broken annotation lives on the page pointing at you. This URL is the target of a bad reference. Correct the code or the URL on that source page and the reciprocal relationship for this pair repairs itself.
Can I Use a Region Code Without a Language?
No. Hreflang requires a language code, with an optional region after it. A bare region like just US is invalid. The one special case is x-default, which marks the fallback page for unmatched users.
Does a Trailing Slash Really Break It?
If your canonical URL has a trailing slash and the hreflang target omits it (or the reverse), and the two resolve as different URLs or one redirects, then yes, the exact-match requirement fails. Keep the annotation identical to the live canonical, character for character.
Where Can I Declare Hreflang?
Three valid places: HTML <head> link elements, HTTP response headers (useful for PDFs and non-HTML files), and XML Sitemaps. Pick one method per set of pages and keep it consistent so annotations do not conflict.
International setup leaking traffic to the wrong regions?

We crawl the full hreflang graph, find every broken and non-reciprocal annotation, and hand you a page-by-page repair plan. .

在您自己的网站上找到它

Neova 在每次抓取时都会运行此检查项和其他所有检查项,然后把修复方法写成工单交给您的团队。

  • 适用于 Mac、Windows 和 Linux 的桌面应用
  • 全部 696 项检查,每项都附来源
  • Search Console 和 Analytics 4,以只读方式连接
  • 工单发送到 Jira、Linear 和 Asana

下载 Neova Desktop Free 套餐,或免费试用 Solo 14 天,无需银行卡。

全部国际 SEO 检查 · 指南 · 检查项库

作者:Neova Labs · 返回检查项库