FOR ENQUIRY : +91 80 170 49 042 info@7boats.com

explain this tag hreflang=”x-default”

If you have different language versions for your website or online shop, then you should use the rel=”alternate” hreflang=”x” link attribute markup – as is recommended by Google. The value “x” is the country code according to ISO 639-1.

Usage: The markup for the <head> part of the HTML document:

<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" />
  • example.com/en-gb: For English-speaking users in the UK
  • example.com/en-us: For English-speaking users in the USA
  • example.com/en-au: For English-speaking users in Australia
  • example.com/: The homepage may, for example, display a list of countries to chose from and is defined as default page for users worldwide

Read more here – https://www.sistrix.com/ask-sistrix/onpage-optimisation/how-do-i-correctly-use-the-new-x-default-hreflang-link-attribute-for-international-targets/

 

0 responses on "explain this tag hreflang="x-default""

    Leave a Message

    Your email address will not be published. Required fields are marked *