--> How to use "x-default hreflang" for international landing pages? | Experience Lab - Online business creation and development guide for bloggers and startups

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

Delivering your blog's or website's content in a multitude of languages can make your web entity accessible to a wider range of...




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

COMMENTS

Name

Affiliate Marketing,12,Announcement,34,Bing,9,Bitcoin,38,blog,7,Blogger Resources,42,Blogger Templates,4,blogger tricks,156,Blogging ethics,70,Blogging tips,198,Bugs and Errors,34,Business,4,Copyright Violation,9,CSS and HTMLTricks,95,Designs,8,drop down menu,7,eBook,12,Email Marketing,7,Events,30,Facebook,30,Facebook tricks,49,Google,157,Google AdSense,42,Google Analytics,7,Google Plus,51,Google Plus Tricks,38,Guest Posts,112,home,2,How To,77,Internet,1,JSON Feeds,25,Kitchen Recipes,2,Label Based Sitemap Themes,1,Make Money Online,108,Marketing,16,MBT Blogger Templates,7,Menus,1,News,146,Pages,1,Posts,10,presentations,15,Responsive,10,Reviews,7,SEO,307,Settings,6,Shortcode,15,Sitemap Themes,1,Social Media,155,Technology,3,Templates,1,Tips,2,Tools,1,Traffic Tips,80,Video,19,Web Designing,62,web hosting,18,Webmaster Tools,97,Widgets,199,wordpress,26,
ltr
item
Experience Lab - Online business creation and development guide for bloggers and startups: How to use "x-default hreflang" for international landing pages?
How to use "x-default hreflang" for international landing pages?
http://2.bp.blogspot.com/-WndHliUi9IE/UW7Yo0jpwZI/AAAAAAAAEDc/C856ULk5fT8/s320/multilingual+landing+pages.png
http://2.bp.blogspot.com/-WndHliUi9IE/UW7Yo0jpwZI/AAAAAAAAEDc/C856ULk5fT8/s72-c/multilingual+landing+pages.png
Experience Lab - Online business creation and development guide for bloggers and startups
https://www.experiencelab.info/2013/04/how-to-use-hreflang-for-international.html
https://www.experiencelab.info/
https://www.experiencelab.info/
https://www.experiencelab.info/2013/04/how-to-use-hreflang-for-international.html
true
2959477579779989044
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share. STEP 2: Click the link you shared to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy