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.

'Rel-Alternate-Hreflang'

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.
  • http://www.mybloggertricks.com/en/
  • http://www.mybloggertricks.com/sp/
  • http://www.mybloggertricks.com/fr/
  • http://www.mybloggertricks.com/gr/
  • 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="http://www.mybloggertricks.com/en/" 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="http://www.mybloggertricks.com/" 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

Need Quick Help within 24 Hours? ASK NOW



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 »

15 comments : Post Yours! Read Comment Policy ▼
PLEASE NOTE:
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.

    ReplyDelete
  2. QASIM
    I DO THINK THAT ALMOST 95% OF PEOPLE COMMENT HERE JUST TO BUILD BACLINKS !
    IT'S DISHEARTENING.IS TI BECAUSE THE MBT STANDARDS ARE GOING DOWN??
    OR IT'S JUST SOME PROBLEM WITH HE READERS??
    I DO KNOW THAT ALL LINKS PUT HERE IS NO-FOLLOW BUT STILL I WOULD LIKE YOU TO MAKE NECESSORY ACTIONS BRO
    HAIL MBT.
    REGARDS ANZ

    ReplyDelete
  3. @Anz Joy
    i will agree with you, now it have become trend of the MBT readers to comment here for just the backlinks. even MBT have made a policy but even though MBT is not taking any action them not understanding why?

    ReplyDelete
  4. 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.

    Regards
    www.gulmiresunga.com

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

    ReplyDelete
  6. 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.

    ReplyDelete
  7. @Mohammad Mustafa Ahmedzai
    It's great to see you back Mohammed bro..Hope to see you soon in full action

    ReplyDelete
  8. weldone always bloggerticks my college and i learn everyday here

    kregards from shayrikiduniya@com

    ReplyDelete
  9. agreed qasib but how to add it in blogger.do 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

    ReplyDelete
  10. Well this kind of information is really worth searching for this. It’s good to have these kinds of articles around to keep the information flow steady. Helping those who really can make things right in the future, good work!



    Play Online Games

    ReplyDelete
  11. Hi Qasim,

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

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

    Thanks

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

    ReplyDelete