Check 28.06 · Multilingual linking and schema

Identify orphan pages by language

Find translated pages that no page in their language links to, reachable only via hreflang or the sitemap, and get source pages to add for each one.

Priority
Important
Difficulty
Intermediate
Estimated time
3 h to 1 day
Free, no account: your progress is saved in this browser.

Ask an AI to check this point on your site

Opens the assistant with a ready-made question: this check, its goal and your site URL.

For Gemini, Copilot or another assistant, copy the question. The link opens the chosen service directly: nothing goes through this site.

In short

On a multilingual site, a page can be connected to the site without being connected to its language: the German page of a product is only reached through the language switcher of the French page, through an hreflang annotation or through the sitemap, and no German page links to it. It is orphaned in its language. The task is to crawl each version separately, count for each page the links it receives from pages in the same language, then suggest for each orphan the source pages to add, drawing on the links its version receives in the main language.

Why it matters

Google asks that every important page receive a link from at least one other page of the site. Standard orphan page detection (opens in a new tab) misses the multilingual case: a crawl of the whole site, which follows the language switcher and the hreflang annotations, finds the German page, counts it as linked, and the problem disappears from the report.

For the German-speaking visitor, and for a crawler exploring the German version from its own pages, this page does not exist: no German menu, category or article leads to it. The causes are almost always the same:

  • translation published without being added to the language's menu or category;
  • untranslated category or section, whose child pages no longer have a parent in the language;
  • related content blocks that are empty or filtered on another language;
  • links in translated articles still pointing to the default language, see fix links to the default language (opens in a new tab).

The hreflang annotations tell Google which version to show; they do not replace the links that connect a page to its version.

What it improves

  • Discovery and recrawling of translated pages from their own version.
  • Relative importance of translated pages in their language. An indirect effect, not guaranteed.
  • Visitor journey Pages become reachable from their language's navigation.
  • Return on the translation investment A translated page nobody reaches produces nothing.
  • Generative engines A page connected to its topic in its language is easier to find for crawlers that follow links. No practice guarantees a citation.

How to check

Quick check of one page: in Screaming Frog, select the URL, Inlinks tab at the bottom, and look at the source pages. If they are all in another language, or if the only link comes from the switcher, the page is orphaned in its language.

Spot check: in Search Console, Links report, table of top internally linked pages. If pages of one language are rare there while they make up a large share of the site, run the full analysis.

How to implement

Step 1 — List the published pages of each language

Gather the list of indexable URLs for each language from several sources:

  • Sitemaps: one sitemap per language, or one sitemap with hreflang annotations.
  • CMS: on WordPress with Polylang, wp post list --post_type=page,post --post_status=publish --lang=de --field=url, as WP-CLI passes the lang parameter to the query. With WPML, start from the sitemap or the SEO plugin's export.
  • Search Console: Performance report, Page filter “URLs containing” /de/, Pages tab, export.

Step 2 — Crawl each language separately

In Screaming Frog (paid licence beyond 500 URLs):

  1. Configuration > Spider > Crawl: untick Crawl Hreflang, so pages are not reached through their annotations.
  2. Configuration > Include: https://example.com/de/.* for the German version. For the language served without a prefix, use Configuration > Exclude instead, with https://example.com/(de|en|es)/.*.
  3. Start the crawl on the language's homepage (https://example.com/de/).
  4. Export the HTML URLs returning 200 from the Internal tab.

The pages from step 1 missing from this crawl cannot be reached from their language. Compare the two lists with the method in detect orphan pages (opens in a new tab) (comm or COUNTIF), language by language.

The per-language crawl tells you which pages are orphaned; it does not tell you where to link them from. This dependency-free Python script starts from a full crawl (Bulk Export > Links > All Inlinks) and a sitemap with hreflang annotations. For each page, it counts the source pages in the same language and in other languages and, for orphans, suggests source pages: the equivalents, in the page's language, of the pages that link to its version in the other languages.

#!/usr/bin/env python3
"""Usage: python3 orphelines.py https://example.com/sitemap.xml all_inlinks.csv > orphelines-par-langue.csv"""
import csv
import gzip
import re
import sys
import urllib.request
import xml.etree.ElementTree as ET
from collections import defaultdict

SM = "{http://www.sitemaps.org/schemas/sitemap/0.9}"
XHTML = "{http://www.w3.org/1999/xhtml}"
DEFAULT, LANGS = "fr", {"fr", "de", "en", "es"}
SWITCHER = {"Français", "Deutsch", "English", "Español", "FR", "DE", "EN", "ES"}
PREFIX = re.compile(r"^https?://[^/]+/([a-z]{2})(?:[-_][a-z]{2})?(?:/|$)", re.I)


def fetch(url):
    request = urllib.request.Request(url, headers={"User-Agent": "audit-orphelines"})
    with urllib.request.urlopen(request) as response:
        data = response.read()
    return gzip.decompress(data) if data[:2] == b"\x1f\x8b" else data


def collect(url, table):
    root = ET.fromstring(fetch(url))
    for loc in root.findall(f"{SM}sitemap/{SM}loc"):
        collect(loc.text.strip(), table)
    for entry in root.findall(f"{SM}url"):
        alternates = {
            link.get("hreflang").lower().split("-")[0]: link.get("href")
            for link in entry.findall(f"{XHTML}link")
            if link.get("rel") == "alternate" and link.get("hreflang") != "x-default"
        }
        alternates = alternates or {"?": entry.findtext(f"{SM}loc").strip()}
        for href in alternates.values():
            table.setdefault(href, {}).update(alternates)
    return table


def prefix_lang(url):
    match = PREFIX.match(url)
    code = match.group(1).lower() if match else DEFAULT
    return code if code in LANGS else DEFAULT


table = collect(sys.argv[1], {})
lang_of = {href: code for alts in table.values() for code, href in alts.items() if code != "?"}
sources = defaultdict(set)

with open(sys.argv[2], encoding="utf-8-sig") as handle:
    for row in csv.DictReader(handle):
        if row.get("Type", "Hyperlink") != "Hyperlink" or row.get("Anchor", "").strip() in SWITCHER:
            continue
        sources[row["Destination"]].add(row["Source"])

writer = csv.writer(sys.stdout)
writer.writerow(["url", "langue", "sources_meme_langue", "sources_autres_langues", "statut", "sources_suggerees"])

for url in sorted(table):
    code = lang_of.get(url) or prefix_lang(url)
    same = {s for s in sources[url] if (lang_of.get(s) or prefix_lang(s)) == code}
    other = sources[url] - same
    status = "linked" if same else ("orphan in its language" if other else "orphan")
    suggestions = set()
    if not same:
        for alt_code, alt_url in table[url].items():
            if alt_code in (code, "?"):
                continue
            for src in sources.get(alt_url, ()):
                equivalent = table.get(src, {}).get(code)
                if equivalent and equivalent != url:
                    suggestions.add(equivalent)
    writer.writerow([url, code, len(same), len(other), status, " ".join(sorted(suggestions)[:5])])
python3 orphelines.py https://example.com/sitemap.xml all_inlinks.csv > orphelines-par-langue.csv

The full crawl must follow the switcher and the hreflang annotations, so that every page and all its inlinks appear in the export. Adapt DEFAULT, LANGS and SWITCHER as for the matrix of links by language (opens in a new tab). The script reduces each hreflang code to its language (de-AT becomes de): for regional variants of the same language, adapt the key.

Sample result, to be sorted by status, then by impressions in Search Console:

URL Language Same-language sources Other-language sources Status Suggested sources
/de/tee/genmaicha/ de 0 3 Orphan in its language /de/tee/gruener-tee/ /de/blog/japanische-tees/
/de/ratgeber/wasserhaerte/ de 0 0 Orphan —
/en/tea/genmaicha/ en 6 1 Linked —

Fictitious example.

Step 4 — Decide and fix

Situation Fix
Orphan in its language, suggested sources available Add the link in the suggested pages, starting with the category or the pillar page
Parent category not translated Translate the category, or attach the page to a translated category
Page missing from the language's menu Add it to the language's menu, see translate anchors, menus and footer (opens in a new tab)
Article links pointing to the default language Fix the links, see fix links to the default language (opens in a new tab)
Empty related content blocks See check related content, footer and in-article links (opens in a new tab)
Orphan with no links at all, no traffic, unnecessary translation Remove the translation, update the hreflang annotations and the sitemap

For a high-value page, add at least one contextual link from a page in the same language and on the same topic, in addition to the menu or the category.

Step 5 — Prevent it from coming back

  • Add to the procedure for publishing a translation: “the page receives at least one link from a page in its language”.
  • Run the script again at each scheduled crawl and track, per language, the number of pages orphaned in their language. See schedule automated crawls (opens in a new tab).

Good to know: click depth and the distribution of link equity by language are measured with the same data; see check click depth and link equity distribution (opens in a new tab).

Common mistakes

  • Crawling the whole site in one go: the switcher and the hreflang annotations connect every page, and no orphan by language shows up.
  • Counting the switcher's links as links from the language.
  • Treating the sitemap as a link: it helps the page get discovered, it does not connect it to its version.
  • Fixing page by page without addressing the common cause, often an untranslated category or menu.
  • Linking from any page of the language to make the alert go away, with no topical relationship.
  • Keeping unnecessary translations, orphaned and without traffic, instead of removing them cleanly.

Frequently asked questions

What is a page orphaned in its language?

It is a translated page that no page in its own language links to. It remains reachable through another version's language switcher, an hreflang annotation or the sitemap, so a crawl of the whole site counts it as linked. Yet for a visitor or a crawler browsing that language's version, it is inaccessible: no menu, category or article in the language leads to it.

Are hreflang annotations enough to connect a translated page?

No. Hreflang annotations tell search engines which pages are language versions of one another, so they can show the right one in the results. They do not replace internal links, which connect a page to the rest of its version and signal its importance. A translated page must receive links from pages in its language, just as its original version receives them in its own.

How do you crawl a single language with Screaming Frog?

Start the crawl on the language's homepage, restrict crawling to that language's prefix in the Include configuration, for example https://example.com/de/.*, and untick hreflang crawling in the crawl options. For a language served without a prefix, exclude the other languages' prefixes with the Exclude configuration instead. Then compare the URLs found with the list of pages published in that language.

Updated on

Topic checklist (PDF)

And now?

In the “Multilingual linking and schema” topic

  1. Favor links to the same language
  2. Fix links to the default language
  3. Translate anchor text
  4. Check the language switcher on every page
  5. Check related content, footer and in-article links
  6. Identify orphan pages by language
  7. Build clusters for each market
  8. Check click depth and link equity distribution
  9. Use inLanguage on compatible types
  10. Translate name and description
  11. Adapt url to the language
  12. Keep a stable organization @id
  13. Create a distinct @id for each page
  14. Translate FAQ and Article markup
  15. Adapt Product and priceCurrency
  16. Adapt areaServed and contact details
  17. Check availability by country
  18. Check sameAs
  19. Validate the markup for each language