# WordPress hreflang and multilingual SEO

> Set up WordPress hreflang with WPML, map real translations, and catch the reciprocal-link and URL mistakes Google ignores.

Canonical: https://scaplet.com/seo/wordpress/hreflang

Guide WordPress WordPress · International SEO

Set up WordPress hreflang with WPML, map real translations, and catch the reciprocal-link and URL mistakes Google ignores.

5 min

read

3

sources

Oct 24, 2026

updated

Scaplet Editorial Team

author

In one line

WordPress does not automatically know which URLs are translations of each other. With WPML, configure the site languages and URL format, then enable its SEO language links. Google says each language version must list itself and all other versions, with fully qualified URLs and reciprocal links. Verify the rendered links for real translations; Google does not use hreflang to detect page language.

30-second check

## Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo%2Fwordpress%2Fhreflang%20(%22WordPress%20hreflang%20and%20multilingual%20SEO%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo%2Fwordpress%2Fhreflang%20(%22WordPress%20hreflang%20and%20multilingual%20SEO%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo%2Fwordpress%2Fhreflang%20(%22WordPress%20hreflang%20and%20multilingual%20SEO%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo%2Fwordpress%2Fhreflang%20(%22WordPress%20hreflang%20and%20multilingual%20SEO%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 4 parts, 5 minutes.

1. [Connect pages that are actual equivalents 01](#connect-pages-that-are-actual-equivalents)
2. [Enable language and SEO settings in WPML 02](#enable-language-and-seo-settings-in-wpml)
3. [Meet Google's reciprocal hreflang rules 03](#meet-google-s-reciprocal-hreflang-rules)
4. [Audit the rendered output 04](#audit-the-rendered-output)

_01_Decide what should be linked

## Connect pages that are actual equivalents

Use [hreflang](/glossary/hreflang) for localized versions of the same page, such as an English product page and its French translation. It tells Google these URLs are language or regional alternatives. Google says it does not use hreflang or the HTML lang attribute to detect the language of a page, and hreflang does not translate copy or replace a [canonical tag](/glossary/canonical-url).

Page pair

### Same product translated for another market

Hreflang?

Yes, if each URL is a real localized version

Reason

The pages are alternate versions of the same product

Page pair

### Two different products with similar names

Hreflang?

No

Reason

They are not the same content localized for different users

Page pair

### US English and UK English pages with different pricing or shipping

Hreflang?

Often, if the pages target those regions

Reason

Regional variants can be mapped with language-region codes

Page pair

### A page and its print view or tracking URL

Hreflang?

No

Reason

These are not language or regional versions

A language switcher helps visitors reach translations, while hreflang helps search engines understand the relationship. Keep each language's content, currency, availability, legal terms, and delivery details appropriate for the market. A translated menu alone does not make the underlying page a localized equivalent.

_02_How it works

## Enable language and SEO settings in WPML

WPML's language setup guide (updated October 8, 2026) places language, switcher, URL, and SEO options under WPML → Settings. If you use [Yoast SEO](/seo/yoast/seo) or Rank Math with the WPML SEO add-on and the SEO plugin's [XML sitemap](/glossary/xml-sitemap) is on, WPML says the hreflang links go in the sitemap instead and the HEAD option is turned off, so they are not output twice. If your theme or another plugin writes language links too, choose one owner and remove duplicate or conflicting annotations.

1. 01

### Set the source language

During WPML setup, choose the language of the existing content, then add the languages you plan to publish. WPML also lets you create a custom language, for example Canadian French or Swiss German, when a country-specific variant is real for the content.
2. 02

### Choose language URL structure

Under WPML settings, select the format you intend to maintain: different languages in directories, a different domain per language (subdomains or separate domains), or the language name added as a parameter such as `?lang=es`. Directories only work when your permalink structure is not the default one. Keep URLs stable after launch; moving formats changes page URLs and requires migration planning.
3. 03

### Enable the SEO language links

In WPML → Settings, open the SEO Options section and enable Display alternative languages in the HEAD section, which adds the hreflang links to the page `<head>`. WPML says this information is not visible on the front end, only in the source code. The [Position](/glossary/average-position) of hreflang links option defaults to As early as possible (priority 1); Later in the head section (priority 10) is its suggested fix for theme or plugin conflicts.
4. 04

### Publish matching translations

Connect each translated post or page to its source item in WPML. Do not link unrelated pages just to create a complete language matrix.
5. 05

### Check the switcher separately

Use WPML → Settings → Language Switchers to choose where the visitor-facing switcher appears; WPML adds a switcher to the footer by default. Confirm that it links to the translation for the current page, not only to each language's homepage.

_03_Worth knowing

## Meet Google's reciprocal hreflang rules

### Every version lists itself and the other variants

A French page must include the French URL along with the English and other translated URLs.

### Use absolute URLs

Include `https://` and the full host. Google says alternate URLs must be fully qualified, including the transport method (http or [https](/glossary/https)).

### Keep links reciprocal

If page A points to page B, page B must point back to A. Google says that without return links, the tags will be ignored.

### Use valid language-region codes

Identify the language first and add a region only when the variant is genuinely regional; a region alone is not a language code.

### Use `x-default` for a real fallback

Google describes it as the value for any language not explicitly listed by an hreflang tag on the page.

### Choose one implementation method

Google says HTML tags, HTTP headers, and sitemaps are equivalent from its perspective, and using more than one method has no benefit in Search and adds maintenance work.

Same alternate set on each language version

```
<link rel="alternate" hreflang="en" href="https://example.com/en/product" /> <link rel="alternate" hreflang="fr" href="https://example.com/fr/produit" /> <link rel="alternate" hreflang="x-default" href="https://example.com/language-selector" />
```

_04_How it works

## Audit the rendered output

**Do not send every language to the homepage**A reciprocal hreflang set should connect equivalent pages. Pointing every translated URL at a language homepage breaks the page relationship and sends searchers to a different task.

If WPML's setting is on but tags are missing or wrong, inspect conflicts with the theme or another SEO plugin and test its alternate output position. Continue with the [WordPress SEO hub](/seo/wordpress), [WordPress XML sitemap guide](/seo/wordpress/xml-sitemap), and the [hreflang definition](/glossary/hreflang).

1. 01

### Pick equivalent URLs in each locale

Choose one translated product, one article, and one category. Confirm the editorial team considers each set equivalent before checking tags.
2. 02

### Inspect the live page source

Search the `<head>` for `hreflang`. Confirm every URL is absolute, each page includes itself, and all versions use the same alternate set.
3. 03

### Check both directions

Open each alternate URL and verify it points back to the others. Check that every URL returns the intended page and canonicalizes to itself or its own accepted canonical.
4. 04

### Check localized visitor paths

Use the language switcher from a product or article and confirm it lands on the corresponding translation. Check region-specific prices, shipping, currency, and legal information where those differ.

Sources · 3

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- wpml.org
- google.com

1. 01 [Language Setup | WPML Documentation](https://wpml.org/documentation/getting-started-guide/language-setup/) wpml.org · checked 2026-10-24
2. 02 [Localized versions of your pages | Google Search Central](https://developers.google.com/search/docs/specialty/international/localized-versions) developers.google.com · checked 2026-10-24
3. 03 [Language URL options | WPML Documentation](https://wpml.org/documentation/getting-started-guide/language-setup/language-url-options/) wpml.org · checked 2026-10-24

Questions

## Asked a lot.

3 questions people ask next, answered from the sources on this page.

_01_ Does WordPress support hreflang by default?

WordPress core does not map multilingual translations for you. A multilingual plugin such as WPML can connect translated content and output hreflang annotations.

_02_ Do hreflang links need to point back to each other?

Yes. Google says each language version must list itself and all other language versions, and that without [reciprocal links](/glossary/reciprocal-links) the tags will be ignored.

_03_ Should I use hreflang in HTML and the sitemap?

Usually choose one method. Google treats HTML tags, HTTP headers, and sitemaps as equivalent and says using more than one method has no benefit in Search and adds maintenance work.

## Keep learning

[All platform guides](/seo)

[Learn WordPress SEO CMS](/seo/wordpress) [Related XML sitemap Crawling and indexing](/glossary/xml-sitemap) [Read next AMP on WordPress CMS](/seo/wordpress/amp) [Do Run a free site audit Free, about two minutes](/site-audit)

More in WordPress SEO
[AMP on WordPress](/seo/wordpress/amp) [Google Analytics on WordPress](/seo/wordpress/google-analytics) [How to put WordPress in maintenance mode](/seo/wordpress/maintenance-mode) [WordPress 404 page](/seo/wordpress/404) [WordPress AI crawlers](/seo/wordpress/ai-crawlers) [WordPress breadcrumbs](/seo/wordpress/breadcrumbs) [WordPress canonical tags](/seo/wordpress/canonical-tags) [WordPress Core Web Vitals](/seo/wordpress/core-web-vitals) [WordPress favicon](/seo/wordpress/favicon) [WordPress Google Search Console setup](/seo/wordpress/search-console) [WordPress hreflang and multilingual SEO](/seo/wordpress/hreflang) [WordPress HTTPS](/seo/wordpress/ssl) [WordPress image SEO](/seo/wordpress/image-seo) [WordPress internal links](/seo/wordpress/internal-links) [WordPress lazy loading](/seo/wordpress/lazy-loading) [WordPress noindex](/seo/wordpress/noindex) [WordPress redirects](/seo/wordpress/redirects) [WordPress robots.txt](/seo/wordpress/robots-txt) [WordPress SEO plugins](/seo/wordpress/seo-plugin) [WordPress SEO titles and meta descriptions](/seo/wordpress/title-and-meta) [WordPress speed optimization](/seo/wordpress/page-speed) [WordPress structured data](/seo/wordpress/structured-data) [WordPress www redirect](/seo/wordpress/www-redirect) [WordPress XML sitemap](/seo/wordpress/xml-sitemap)

Terms on this page
[Hreflang](/glossary/hreflang) [Canonical URL](/glossary/canonical-url) [Average position](/glossary/average-position) [XML sitemap](/glossary/xml-sitemap) [HTTPS](/glossary/https) [Reciprocal links](/glossary/reciprocal-links)

Free · 2 minutes

## Tools point. Agencies advise. _This one ships._

Run the free audit, then approve the fixes. Every change can be undone.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **0→7** ChatGPT citations in six weeks Paylane
