Addresses and SEO

hreflang and page language

Vabelon adds hreflang tags and the page language to the head of your pages, so that search engines and browsers know which language each page is in. This page shows the Vabelon hreflang output.

The Vabelon hreflang tags

A page that has at least one published translation lists every language it exists in:

<link rel="alternate" hreflang="en-US" href="https://example.com/about-us" />
<link rel="alternate" hreflang="es" href="https://example.com/es/sobre-nosotros" />
<link rel="alternate" hreflang="x-default" href="https://example.com/about-us" />

The codes come from the hreflang column under Settings, then Vabelon. See add your languages. A page with no translations prints no hreflang tags.

Page language

Each page announces its own language in the lang attribute of the page, such as lang="es". Screen readers and browsers use it.

How to check

Open a translated page, view its source, and search for hreflang.

The rules Vabelon follows

  • Each page lists itself as well as its other languages, because Google requires every version to list all versions.
  • The x-default line points to the version in your default language.
  • Vabelon prints the tags on single pages, on posts and on the front page. However, it prints none on archives, search results or the later pages of a list.
  • Only published translations count, so a draft never appears in the tags.

For the background, read the guide to hreflang tags.

Built by