{"id":7554,"date":"2018-05-08T13:26:14","date_gmt":"2018-05-08T13:26:14","guid":{"rendered":"https:\/\/www.7boats.com\/academy\/?p=7554"},"modified":"2018-05-08T13:27:59","modified_gmt":"2018-05-08T13:27:59","slug":"explain-this-tag-hreflang-x-default","status":"publish","type":"post","link":"https:\/\/www.7boats.com\/academy\/explain-this-tag-hreflang-x-default\/","title":{"rendered":"explain this tag  hreflang=&#8221;x-default&#8221;"},"content":{"rendered":"<p>If you have different language versions for your website or online shop, then you should use the\u00a0<b>rel<\/b>=\u201d<b>alternate<\/b>\u201d\u00a0<b>hreflang<\/b>=\u201d<b>x<\/b>\u201d\u00a0<b>link<\/b>\u00a0attribute markup \u2013 as is recommended by Google. The value \u201c<b>x<\/b>\u201d is the country code according to ISO 639-1.<\/p>\n<p><strong>Usage:<\/strong>\u00a0The markup for the &lt;head&gt; part of the HTML document:<\/p>\n<pre class=\"highlight\"><code>&lt;link rel=\"alternate\" href=\"http:\/\/example.com\/en-gb\" hreflang=\"en-GB\" \/&gt;\r\n&lt;link rel=\"alternate\" href=\"http:\/\/example.com\/en-us\" hreflang=\"en-US\" \/&gt;\r\n&lt;link rel=\"alternate\" href=\"http:\/\/example.com\/en-au\" hreflang=\"en-AU\" \/&gt;\r\n&lt;link rel=\"alternate\" href=\"http:\/\/example.com\/\" hreflang=\"x-default\" \/&gt;<\/code><\/pre>\n<ul>\n<li><em><strong>example.com\/en-gb<\/strong><\/em>: For English-speaking users in the UK<\/li>\n<li><em><strong>example.com\/en-us<\/strong><\/em>: For English-speaking users in the USA<\/li>\n<li><em><strong>example.com\/en-au<\/strong><\/em>: For English-speaking users in Australia<\/li>\n<li><em><strong>example.com\/<\/strong><\/em>: The homepage may, for example, display a list of countries to chose from and is defined as default page for users worldwide<\/li>\n<\/ul>\n<p>Read more here &#8211;\u00a0https:\/\/www.sistrix.com\/ask-sistrix\/onpage-optimisation\/how-do-i-correctly-use-the-new-x-default-hreflang-link-attribute-for-international-targets\/<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you have different language versions for your website or online shop, then you should use the\u00a0rel=\u201dalternate\u201d\u00a0hreflang=\u201dx\u201d\u00a0link\u00a0attribute markup \u2013 as &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_vibebp_attr":"","_vibebp_dimensions":"","_vibebp_responsive_height":"","_vibebp_accordion_ie_support":"","footnotes":""},"categories":[315],"tags":[],"class_list":["post-7554","post","type-post","status-publish","format-standard","hentry","category-question-answers"],"_links":{"self":[{"href":"https:\/\/www.7boats.com\/academy\/wp-json\/wp\/v2\/posts\/7554","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.7boats.com\/academy\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.7boats.com\/academy\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.7boats.com\/academy\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.7boats.com\/academy\/wp-json\/wp\/v2\/comments?post=7554"}],"version-history":[{"count":0,"href":"https:\/\/www.7boats.com\/academy\/wp-json\/wp\/v2\/posts\/7554\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.7boats.com\/academy\/wp-json\/wp\/v2\/media?parent=7554"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.7boats.com\/academy\/wp-json\/wp\/v2\/categories?post=7554"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.7boats.com\/academy\/wp-json\/wp\/v2\/tags?post=7554"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}