Log in

Hreflang

Hreflang is a tag in the page code that tells Google the same content exists in other languages and which version to show a guest from a given country or language.

Why a hotel website needs hreflang

A hotel with PL, EN and DE versions wants a guest from Germany to see the German page on Google and a guest from Poland the Polish one. Without hreflang, Google may show the wrong version or treat language versions as duplicate content.

How to set up hreflang correctly

Each language version of a page points to all the others and to itself, for example hreflang="pl", "en", "de", plus an x-default version. The links must be reciprocal and lead to the equivalent page, not to the home page.

Most common mistakes

Missing return links, pointing to the home page instead of the equivalent page, wrong language codes and unchecked machine translations that lower the quality of a language version.

Frequently asked questions

Does a small guesthouse need an English version?

If you host international guests, yes. An English version with correct hreflang lets you reach them without portals.

Where do I add hreflang?

In the page head (link rel="alternate"), in the sitemap or in HTTP headers. Many website systems do it automatically.

Related terms

See how AI sees your property

The free audit shows whether AI assistants and Google recommend your property.

Run a free audit
Back to the glossary
HotelSpot