Glossary · Glossary

Hreflang

Hreflang is a signal that helps search engines understand language or regional variants of equivalent pages.

Updated Jun 4, 2026 Reviewed Jun 4, 2026 en

Hreflang is a signal that tells search engines about language or regional variants of equivalent pages. It helps search systems choose the most appropriate localized URL for a user when a site offers multiple versions of substantially the same content.

For Geolyze, hreflang matters because the site supports English, Chinese, Spanish, and French routes. As localization expands, each reviewed localized page should connect to its equivalent pages instead of floating as an isolated URL.

Why it matters

Localized pages can look similar to search systems. Without clear alternate signals, the wrong language page may appear for a user, localized URLs may compete awkwardly, or search systems may not understand that pages belong to the same translation set.

Hreflang does not make a page useful by itself. It works best when each localized page is actually reviewed, accessible, canonicalized correctly, and linked consistently from the site architecture.

How it differs

The HTML lang attribute describes the language of a document. Hreflang describes alternate URLs for different languages or regions. They support different tasks and should not be treated as substitutes.

A canonical URL identifies the representative URL for duplicate or similar content. Hreflang connects equivalent localized pages. These signals should agree: localized pages usually canonicalize to themselves and list their language alternates.

A sitemap can carry hreflang alternates, but hreflang can also be implemented in HTML or HTTP headers.

Example

A page can list its language alternates in the HTML head:

<link rel="alternate" hreflang="en" href="https://www.geolyze.org/glossary/hreflang/" />
<link rel="alternate" hreflang="fr" href="https://www.geolyze.org/fr/glossary/hreflang/" />
<link rel="alternate" hreflang="es" href="https://www.geolyze.org/es/glossary/hreflang/" />
<link rel="alternate" hreflang="zh-cn" href="https://www.geolyze.org/zh-cn/glossary/hreflang/" />
<link rel="alternate" hreflang="x-default" href="https://www.geolyze.org/glossary/hreflang/" />

Each equivalent page should point back to the others, including itself. If one locale is missing or unreviewed, do not pretend the page exists just to complete the pattern.

How teams use it

Teams review hreflang when adding languages, changing locale routes, consolidating duplicates, or auditing international search issues. A practical review asks:

  1. Does every localized page have a real equivalent?
  2. Are alternates reciprocal and self-referential?
  3. Are alternate URLs fully qualified?
  4. Do canonical tags point to the correct page?
  5. Does the sitemap or HTML output match the current locale inventory?

Common misunderstanding

Hreflang is not a translation system and not a quality signal for weak localization. It only labels alternate URLs that already exist. Unreviewed machine translation, thin locale pages, or mismatched content can still create a poor search and user experience.

Read next

Use these glossary paths to move from the definition into adjacent concepts, topic clusters, and operator guides.