General

Introducing “x-default hreflang” for international landing pages

The homepages of multinational and multilingual websites are sometimes configured to point visitors to localized pages, either via redirects or by changing the content to reflect the user’s language. Today we’ll introduce a new rel-alternate-hreflang annotation that the webmaster can use to specify such homepages that is supported by both Google and Yandex.

To see this in action, let’s look at an example. The website example.com has content that targets users around the world as follows:

Landing Page
Landing Page
  • http://example.com/en-gb: For English-speaking users in the UK
  • http://example.com/en-us: For English-speaking users in the USA
  • http://example.com/en-au: For English-speaking users in Australia
  • http://example.com/: The homepage shows users a country selector and is the default page for users worldwide

In this case, the webmaster can annotate this cluster of pages using rel-alternate-hreflang using Sitemaps or using HTML link tags like this:

<link rel="alternate" href="http://example.com/en-gb" hreflang="en-gb" />
<link rel="alternate" href="http://example.com/en-us" hreflang="en-us" />
<link rel="alternate" href="http://example.com/en-au" hreflang="en-au" />
<link rel="alternate" href="http://example.com/" hreflang="x-default" />

The new x-default hreflang attribute value for landing pages signals to our algorithms that this page doesn’t target any specific language or locale and is the default page when no other page is better suited. For example, it would be the page our algorithms try to show French-speaking searchers worldwide or English-speaking searchers on google.ca.

The same annotation applies for homepages that dynamically alter their contents based on a user’s perceived geolocation or the Accept-Language headers. The x-default hreflang value signals to our algorithms that such a page doesn’t target a specific language or locale.

This posted is written by Pierre Far, a Webmaster Trends Analyst.

Vaibhav S
Myself, Vaibhav S is a Founder and Editor-in-Chief of TechnoGiants, working Software Professional, and an avid lover of Software's and Web Services. I love computers and also love to write and share about Tech-related Stuff, Computers etc with others.
https://technogiants.net/

6 thoughts on “Introducing “x-default hreflang” for international landing pages

  1. I thіnk thіѕ is among the most ѵitаl infoгmation for me.

    Αnd i’m glad reading your article. But should remark on some general things, The site style is great, the articles is really great : D. Good job, cheers

  2. Appreciate your blogging and i also enjoy the articles and blog. Subscribed your RSS feeds.

  3. My brother recommended I may like this website.
    He was once totally right. This publish truly made my day.
    You can’t imagine just how so much time I had spent for this info! Thank you!

    1. Hi,
      Thanks for stopping by and also for your nice words.
      Hope to see you soon on TechnoGiants.
      Cheers,
      Vaibhav S

Comments are closed.