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
- 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.
- 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
- 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
sourceURLset 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">| Starting page | Language tag followed | Return tag on the destination |
|---|---|---|
| English | uk-ua → Ukrainian listing | en → original English URL |
| Ukrainian | en → English listing | uk-ua → original Ukrainian URL |
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.
| Field | Recorded value |
|---|---|
| Source URL | https://fi.wordpress.org/plugins/wordpress-seo/ |
| Expected target locale | English, en |
| Declared target | https://wordpress.org/plugins/wordpress-seo/ |
| Final URL and status | https://wordpress.org/plugins/wordpress-seo/ · 200 |
| Target canonical | https://wordpress.org/plugins/wordpress-seo/ |
| Return matches for the source URL | 0 of 20 HTML annotations |
| Finding | FI → 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.
- wordpress.org EN (opens in a new tab)
- uk.wordpress.org UK (opens in a new tab)
- fi.wordpress.org FI (opens in a new tab)
- developers.google.com Google’s return-link guidance (opens in a new tab)
- metricumlab.com How to check redirects (opens in a new tab)
- 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




