Metricum Lab

Technical SEO

How to Check Whether Two Pages Link Back With Hreflang

On November 24, 2026, we checked the English, Ukrainian and Finnish listings for Yoast SEO on WordPress.org. Both localized pages pointed to English. Only one had a return link: the English page listed the Ukrainian URL among its 20 hreflang tags and omitted the Finnish URL.

Yurii Pekach PublishedUpdated5 min read
The Finnish page points to English. English and Ukrainian link to each other. The return link from English to Finnish is missing.

The short answer

To check a pair, follow the hreflang URL from page A to page B. Search B’s annotations for A’s exact URL and its language code. In the diagram, UK stands for Ukrainian. WordPress.org uses uk-ua for that listing. English listing · Ukrainian listing · Finnish listing

Where to find hreflang and how to read it

The English listing includes this line in its HTML head:

WordPress.org · HTML

<link rel="alternate" href="https://uk.wordpress.org/plugins/wordpress-seo/" hreflang="uk-ua">

rel="alternate" identifies another version of the listing. href gives its address, and hreflang="uk-ua" describes the destination: Ukrainian for Ukraine. A text search for “uk” across the whole document would also pick up menu items and ordinary links.

Where you look depends on how the site publishes its annotations. For these listings we compared the HTML response with the rendered DOM. On a site that uses HTTP headers, read the Link header on both responses. For a sitemap implementation, look up each URL’s entry and inspect its alternate links. Google supports all three methods. Google’s localized versions documentation

Check a pair of URLs in Chrome

  1. Open page A. In DevTools, select Network, enable Preserve log, then reload. Select the document request. Record the URL and status under Headers. Under Response, find the canonical and the language links in the head.
  2. Copy B’s address directly from A’s language tag and open it. If the request redirects, keep both the declared URL and the final URL. Keep the path, query string and trailing slash as recorded in Network. How to check redirects
  3. On B, run the following in Console. The last line filters for A’s full address. To reproduce the Finnish case, run it on the English listing with sourceURL set as shown.

Chrome DevTools · Console

{
  const sourceURL = 'https://fi.wordpress.org/plugins/wordpress-seo/';
  const rows = Array.from(
    document.querySelectorAll('head link[rel~="alternate"][hreflang][href]'),
    link => ({
      lang: link.hreflang,
      rawHref: link.getAttribute('href'),
      url: link.href
    })
  );
  console.table(rows);
  console.log('All tags:', rows.length);
  console.table(rows.filter(row => row.url === sourceURL));
}

rawHref shows the attribute as written. url is the address the browser resolved. Google requires fully qualified URLs in hreflang annotations. If several rows match your URL, inspect the language code on each.

On the same tab, open the hreflang view in your Chrome extension. Compare each code and destination with the console output. If a tag is present in Elements but missing from Network → Response, save both observations for the developer investigating the render. Comparing response HTML with the DOM

The English and Ukrainian listings link back to each other

Follow the uk-ua annotation from the English listing to uk.wordpress.org. The Ukrainian document supplies the other half of the pair:

WordPress.org · HTML

<link rel="alternate" href="https://wordpress.org/plugins/wordpress-seo/" hreflang="en">
EN ↔ UK
Starting pageLanguage tag followedReturn tag on the destination
Englishuk-ua → Ukrainian listingen → original English URL
Ukrainianen → English listinguk-ua → original Ukrainian URL

Both URLs returned HTTP 200 without a redirect. Each page declared itself canonical. EN · UK

The Finnish listing points to English. Does English point back?

On the Finnish listing, the navigation is in Finnish and most of the plugin description is in English. The English URL appears twice in these excerpts from the head:

WordPress.org · HTML

<link rel="canonical" href="https://fi.wordpress.org/plugins/wordpress-seo/">
<link rel="alternate" href="https://wordpress.org/plugins/wordpress-seo/" hreflang="en">
<link rel="alternate" href="https://wordpress.org/plugins/wordpress-seo/" hreflang="x-default">

The en tag names the English alternate. x-default assigns that same URL to visitors whose locale has no explicit match. The Finnish URL appears in the canonical element, but none of the page’s 20 hreflang tags names Finnish as an alternate of itself.

On the English listing, the filter for https://fi.wordpress.org/plugins/wordpress-seo/ returned zero matches across 20 tags. You can check that empty result without changing tabs: replace fi.wordpress.org with uk.wordpress.org in sourceURL and run the snippet again. The same selector picks up the uk-ua row.

The FI and EN requests both returned 200, and their response HTML and rendered DOM agreed on the language links. Google assesses reciprocity between pages, so the missing Finnish return can coexist with a working English–Ukrainian pair. Our check covers the HTML of these listings. We did not audit the sitemap or measure search impressions, and the tags alone tell us nothing about the directory’s translation policy. FI · EN · Google’s return-link guidance

What to put in the developer ticket

Record one direction per entry. Keep the declared target and the final URL in separate fields so a redirect remains visible. For FI → EN, they happened to match.

FI → EN
FieldRecorded value
Source URLhttps://fi.wordpress.org/plugins/wordpress-seo/
Expected target localeEnglish, en
Declared targethttps://wordpress.org/plugins/wordpress-seo/
Final URL and statushttps://wordpress.org/plugins/wordpress-seo/ · 200
Target canonicalhttps://wordpress.org/plugins/wordpress-seo/
Return matches for the source URL0 of 20 HTML annotations
FindingFI → EN exists; EN → FI is absent from the inspected HTML

For your own catalog, ask the editor whether a partially translated listing should belong to the locale group. If Finnish belongs, the ticket can be specific: “Update the product’s locale mapping so the English listing names the Finnish URL with the agreed language code. On the Finnish page, add its self-reference and retain the English alternate.” If the team intentionally excludes that listing, document the supported locales and align the outgoing tags with that decision.

To accept the change, request both pages again and attach their final URLs, status codes, canonicals and return tags. Run the English–Ukrainian check once more: the same template generates those links, and that pair already worked before the change.

Primary sources and documentation

Sources

Every changing search, browser, interface or technical-behavior claim in this guide is tied to a current primary source.

  1. wordpress.org EN (opens in a new tab)
  2. uk.wordpress.org UK (opens in a new tab)
  3. fi.wordpress.org FI (opens in a new tab)
  4. developers.google.com Google’s return-link guidance (opens in a new tab)
  5. metricumlab.com How to check redirects (opens in a new tab)
  6. metricumlab.com Comparing response HTML with the DOM (opens in a new tab)

Need help diagnosing and implementing the fix?

Technical SEO audit

Review language alternates and canonical URLs.

Technical SEO