How to use "x-default hreflang" for international landing pages?

Multilingual sites
Delivering your blog's or website's content in a multitude of languages can make your web entity accessible to a wider range of audience. Indeed, this is one of the many strategies webmasters employ to increase their website traffic. They can simply configure their homepages to point towards specialized content tailored for different users' different language requirement. but now, there's a new and more SEO friendly way of doing this. Webmasters can now specify such specialized homepages using a new rel-alternate-hreflang annotation that Google only just introduced, and is compatible not only with Google, but other search engines as well such as Yandex.

There are two basic ways of delivering multi-lingual content; either through redirecting users to another page with the corresponding language setting, or dynamically changing your page's content to match the preferences of the users (and based on other things as well like their geographic location etc). But whatever way you deliver the content, this markup will still work perfectly.


Take this site as an example. Suppose we were to serve our content in four different languages, English, Spanish, French, and German. The respective URLs would look something like this.
  • and so on.....
If we were to add this annotation to our site, the best approach would be to use <link /> tags in the head of our HTML documents. Here's the syntax for this annotation.
<link href="" rel="alternate" hreflang="en" />
(for English content)

The 'x-default hreflang' attribute

You can use the "x-default" value in the hreflang attribute to indicate that a page indicated by the href attribute doesn't have any specific language preferences, and is the default page for any type of audience. This should be used when the link points to the homepage, and not to any language-specific page. For example;
<link href="" rel="alternate" hreflang="x-default" />
As mentioned earlier, it doesn't matter whether you change the content of your website dynamically to accommodate different languages, or redirect users to specific pages. This annotation will still work. If you have problems with using this annotations, please feel free to ask us in the comments below. Also share your feedback on the selection of topics at our blog =D

If you don't want to get yourself into Serious Technical Trouble while editing your Blog Template then just sit back and relax and let us do the Job for you at a fairly reasonable cost. Submit your order details by Clicking Here »


We have Zero Tolerance to Spam. Chessy Comments and Comments with 'Links' will be deleted immediately upon our review.
  1. Can this annotation solve the problem of doubling content?
    Cause we are going to have different content (though it looks rather similar) for US and UK countries. And I worry that google may detect this content as doubling.

  2. Bro can you share the tutorial to add google + comment box on blogger with facebook comment box .

    I had implement facebook and blogger comment box which you shares some months ago. But i am not able to replace the blogger comment box with google + comment.

    Hope you understand.


  3. agree with you m,y.b I also told this to mohammad but he is in dreams...

  4. Around 100 comments are posted daily and due to a weak Spam filter by blogger we have limited options to deal them all. As soon as I find links in comments I often try to delete them. I am busy at the moment, but I will change the comment system to remove all these spam comments. Thanks for your kind concern everyone.

  5. weldone always bloggerticks my college and i learn everyday here

    kregards from shayrikiduniya@com

  6. agreed qasib but how to add it in we have to add it below the /head in out blogger template.and yes i belie this really helps in increasing traffic.Widget for blogger

  7. Hi Qasim,

    Thanks for the informative post. With the help of your post i implemented this hreflang code in my blog

    It would be great if you can have a look on that.


  8. Great information, i haven't received any error for international seo in webmaster but i will implemented this code in my blog so it will safe my site for future use as well. Thanks buddy to share great info.