{"id":7958,"date":"2014-11-13T12:38:00","date_gmt":"2014-11-13T12:38:00","guid":{"rendered":"https:\/\/www.heartinternet.uk\/blog\/?p=7958"},"modified":"2014-11-13T12:38:00","modified_gmt":"2014-11-13T12:38:00","slug":"how-to-use-hreflang-for-international-seo","status":"publish","type":"post","link":"https:\/\/www.heartinternet.uk\/blog\/how-to-use-hreflang-for-international-seo\/","title":{"rendered":"How to use hreflang for international SEO"},"content":{"rendered":"<p>If you want to expand your business internationally or if you notice that your site is receiving a significant amount of traffic from countries other than the one in which you&#8217;re based, it\u2019s time to implement an international version of your site.<\/p>\n<p>But how do you do it?<\/p>\n<p>Do you get a new geo-targeted TLD like .de, .es, .fr?<br \/>\nOr do you use a subdirectory on your current domain like example.com\/de or a subdomain like de.example.com?<\/p>\n<p>When you start to look for answers to these questions the chances are that you\u2019ll come across <em>rel=\u201dalternate\u201d hreflang=\u201dxx\u201d<\/em>.<\/p>\n<p>Read on to find out what hreflang is and how you can use it for international SEO.<\/p>\n<h3>What is hreflang?<\/h3>\n<p>The hreflang tag (also referred to as rel=\u201dalternate\u201d hreflang=\u201dx\u201d) helps you to tell Google which version of your website should be shown in which country. In other words, when you use this tag on your site you\u2019re basically telling Google which language you\u2019re using on a specific page so the search engine knows to serve that result to users searching in that specific language.<\/p>\n<p>This creates a better user experience as it ensures that the correct language version of your site is shown to the right users in the correct country.<\/p>\n<p>Here\u2019s how\u00a0<a href=\"https:\/\/plus.google.com\/u\/0\/+PierreFar\/posts\/baNJFxhku7i\" target=\"_blank\">Pierre Far<\/a>, Webmaster Trends Analyst at Google UK, explains it:<\/p>\n<p><em>\u201cThe idea of rel-alternate-hreflang is to help you signal to our algorithms that although these two pages have substantially the same content, the\u00a0<strong>small differences between them are still important.<\/strong> Specifically, the small differences are relevant for users of a specific language (and in a country).\u201d<\/em><\/p>\n<p>Extra resources:<\/p>\n<ul>\n<li><a href=\"https:\/\/support.google.com\/webmasters\/bin\/answer.py?hl=en&amp;answer=182192\" target=\"_blank\">Multi-regional and multilingual sites\u00a0<\/a>\u2013 Google explains the differences between multi-regional and multilingual sites and how you can target site content to a specific country.<\/li>\n<li><a href=\"https:\/\/support.google.com\/webmasters\/answer\/189077?hl=en\" target=\"_blank\">Hreflang<\/a> \u2013 Google\u2019s official support article on how to use hreflang for language and regional URLs<\/li>\n<\/ul>\n<h3>When should you use hreflang?<\/h3>\n<p>There are many situations when you can use hreflang so let\u2019s take a look some of them:<\/p>\n<p><strong>1. Same language, different parts of the world<\/strong><\/p>\n<p>You can use hreflang to target variants of a single language and indicate which region the content should be localised to.<\/p>\n<p>For example, a site in the US refers to football as \u201csoccer\u201d while in the UK it\u2019s called \u201cfootball\u201d. When you implement hreflang, Google will know which version of the site to deliver to US-based users so they see content that&#8217;s relevant to them.<\/p>\n<p>So you could have the following versions of your site:<\/p>\n<ul>\n<li>example.com\/en-gb\/ will target UK users<\/li>\n<li>example.com\/en-au\/ will target Australian users<\/li>\n<li>example.com\/en-us\/ will target USA users<\/li>\n<\/ul>\n<p>This is useful as it allows you to geo-target users as well as control variations in shipping, currency, seasonality and more.<\/p>\n<p><strong>2. Different languages<\/strong><\/p>\n<p>You may want to target users who speak different languages, so again you would have different versions of the site each using a different language:<\/p>\n<ul>\n<li>example.com\/en\/ &#8211; Targets English-speaking users<\/li>\n<li>example.com\/es\/ &#8211; Targets Spanish-speaking users<\/li>\n<li>example.com\/de\/ &#8211; Targets German-speaking users<\/li>\n<\/ul>\n<p>3. Combined<\/p>\n<p>Alternatively, you may want to target your site based on both location and language, as per the examples below:<\/p>\n<ul>\n<li>example.com\/en-gb\/ &#8211; Targets English-speaking users from the UK<\/li>\n<li>example.com\/en-au\/ &#8211; Targets English-speaking users from Australia<\/li>\n<li>example.com\/en-us\/ &#8211; Targets English-speaking users from the USA<\/li>\n<li>example.com\/es\/ &#8211; Targets Spanish-speaking users, independent of region<\/li>\n<li>example.com\/it-ch\/ &#8211; Targets Italian-speaking users from Switzerland<\/li>\n<li>example.com\/de\/ &#8211; Targets German-speaking users, independent of region<\/li>\n<li>example.com\/de-ch\/ &#8211; Targets Swiss users<\/li>\n<\/ul>\n<h3>Ways to use hreflang<\/h3>\n<p>You can use hreflang on your existing website, either by creating a subdirectory or a subdomain on your current domain, or you could get a country-code top-level domain name (ccTLD) like .it or .fr.<\/p>\n<p>Let\u2019s take a closer look at these three options:<\/p>\n<p><strong>1. Same site \u2013 language folders<\/strong><\/p>\n<p>Use it on a subdirectory on your current domain, as follows:<\/p>\n<ul>\n<li>example.com\/en\/ &#8211; For English-speaking users<\/li>\n<li>example.com\/es\/ &#8211; For Spanish-speaking users<\/li>\n<li>example.com\/de\/ &#8211; For German-speaking users<\/li>\n<\/ul>\n<p><strong>2. Same site \u2013 subdomains<\/strong><\/p>\n<p>You can also use hreflang on subdomains:<\/p>\n<ul>\n<li>en.example.com \u2013 For English-speaking users<\/li>\n<li>es.example.com \u2013 For Spanish-speaking users<\/li>\n<li>de.example.com \u2013 For German-speaking users<\/li>\n<\/ul>\n<p><strong>3. Different sites<\/strong><\/p>\n<p>Or you could get an entirely new top-level domain that\u2019s dedicated to users from specific countries or who speak a specific language:<\/p>\n<ul>\n<li>example.com \u2013 For English speaking users<\/li>\n<li>example.it \u2013 For Italian speaking users<\/li>\n<li>example.de \u2013 For German speaking users<\/li>\n<\/ul>\n<p>The TLD doesn\u2019t necessarily have to describe the language which will be used as the hreflang for that site. \u00a0For example, example.de can have de-ch as the main language.<\/p>\n<h3>How to generate the hreflang code<\/h3>\n<p>Generating the hreflang code is much easier thanks to tools like this Hreflang Generator. All you need to do is add the countries and language you want the snippet of code to be used for as well as the site and it then generates the code for you.<\/p>\n<p>In the example below, you can see how the generator has produced the HTML code for the main UK version of the site, a German language German subdirectory, an English language Canadian subdirectory and a French language Canadian subdirectory:<\/p>\n<pre>&lt;link rel=\"alternate\" href=\"https:\/\/www.mysite.com\/\" hreflang=\"en-gb\" \/&gt;\n\n&lt;link rel=\"alternate\" href=\"https:\/\/www.mysite.com\/de\" hreflang=\"de-de\" \/&gt;\n\n&lt;link rel=\"alternate\" href=\"https:\/\/www.mysite.com\/ca\" hreflang=\"en-ca\" \/&gt;\n\n&lt;link rel=\"alternate\" href=\"https:\/\/www.mysite.com\/ca-fr\" hreflang=\"fr-ca\" \/&gt;<\/pre>\n<p>If you want to validate the hrelflangs you\u2019ve implemented, you can use <a href=\"https:\/\/flang.dejanseo.com.au\/\" target=\"_blank\">this flang tool<\/a>.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.heartinternet.uk\/blog\/wp-content\/uploads\/flang.png\" alt=\"\" \/><\/p>\n<p>It\u2019s very easy to use: simply enter the URL and check to see that everything was implemented correctly.<\/p>\n<p>&nbsp;<\/p>\n<h3>General targeting with x-default<\/h3>\n<p>You can use x-default to show that the page is not specifically targeted. This basically tells Google that this is the default version of the site that should be displayed for users who don\u2019t correspond to any of the languages.<\/p>\n<p>This is how the code looks:<\/p>\n<pre>&lt;link rel=\"alternate\" href=\"https:\/\/example.com\/\" hreflang=\"x-default\" \/&gt;<\/pre>\n<p>For more information on x-default hreflang, check out the <a href=\"https:\/\/googlewebmastercentral.blogspot.co.uk\/2013\/04\/x-default-hreflang-for-international-pages.html\" target=\"_blank\">official blog post from Google<\/a>.<\/p>\n<h3>Where to add the code<\/h3>\n<p>Now that you have found the correct hreflang code for each of the versions of the site, the next step is to implement the code on the site correctly. This can be done in three different ways:<\/p>\n<p>&nbsp;<\/p>\n<p><strong>1. The head element on a webpage<\/strong><\/p>\n<p>Let\u2019s assume that you have content in British English and you\u2019ve created two separate pages to also target Spanish-speaking users and English-speaking users from Australia.<\/p>\n<p>Here are the hreflang links that you\u2019ll need to add to the head sections of the three pages:<\/p>\n<pre>&lt;link rel=\"alternate\" href=\"https:\/\/example.com\/\" hreflang=\"x-default\" \/&gt; - This is your main UK page that you will use as the default result in search engines when the user is not a Spanish or Australian English speaker.<\/pre>\n<pre>&lt;link rel=\"alternate\" hreflang=\"en\" href=\"https:\/\/www.example.com\/\"\/&gt; - This is your main UK page but you tell search engines to show it to UK English speakers only.<\/pre>\n<pre>&lt;link rel=\"alternate\" hreflang=\"es\" href=\"https:\/\/www.example.com\/es\/\"\/&gt; - This is your Spanish page for Spanish users only.<\/pre>\n<pre>&lt;link rel=\"alternate\" hreflang=\"en-au\" href=\"https:\/\/www.example.com\/au\/\"\/&gt; - This is your Australian English page that will be shown to Australian users only.<\/pre>\n<p>These tags need to be present on all four pages that have the same subject or product but are in different languages, language variations or have a different currency.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>2. Sitemap<\/strong><\/p>\n<p>This is an easier method to implement hreflang as it avoids the extra lines in the code within your pages, especially if you want to target more than three languages.<\/p>\n<p>Let\u2019s take an example. Imagine you have a page in English targeted at English speakers worldwide. You also have a page targeted at Spanish speakers worldwide and one at Italian speakers located in Switzerland.<\/p>\n<p>Your set of URLs is:<\/p>\n<ul>\n<li>www.example.com\/en\/<\/li>\n<li>www.example.com\/es\/<\/li>\n<li>www.example.com\/it-ch\/<\/li>\n<\/ul>\n<p>The following sitemap tells Google that the\u00a0www.example.com\/en\/ page has equivalent pages targeting worldwide Spanish-speaking users\u00a0(https:\/\/www.example.com\/es) and Switzerland (https:\/\/www.example.com\/it-ch\/).<\/p>\n<pre>&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\n\n&lt;urlset xmlns=\"https:\/\/www.sitemaps.org\/schemas\/sitemap\/0.9\"\n\n  xmlns:xhtml=\"https:\/\/www.w3.org\/1999\/xhtml\"&gt;\n\n  &lt;url&gt;\n\n    &lt;loc&gt;https:\/\/www.example.com\/en\/&lt;\/loc&gt;\n\n    &lt;xhtml:link\n\n                 rel=\"alternate\"\n\n                 hreflang=\"es\"\n\n                 href=\"https:\/\/www.example.com\/es\/\"\n\n                 \/&gt;\n\n    &lt;xhtml:link\n\n                 rel=\"alternate\"\n\n                 hreflang=\"it-ch\"\n\n                 href=\"https:\/\/www.example.com\/it-ch\/\"\n\n                 \/&gt;\n\n    &lt;xhtml:link\n\n                 rel=\"alternate\"\n\n                 hreflang=\"en\"\n\n                 href=\"https:\/\/www.example.com\/english\/\"\n\n                 \/&gt;\n\n  &lt;\/url&gt;\n\n\n  &lt;url&gt;\n\n    &lt;loc&gt;https:\/\/www.example.com\/es\/&lt;\/loc&gt;\n\n    &lt;xhtml:link\n\n                 rel=\"alternate\"\n\n                 hreflang=\"en\"\n\n                 href=\"https:\/\/www.example.com\/english\/\"\n\n                 \/&gt;\n\n     &lt;xhtml:link\n\n                 rel=\"alternate\"\n\n                 hreflang=\"it-ch\"\n\n                 href=\"https:\/\/www.example.com\/it-ch\/\"\n\n                 \/&gt;\n\n     &lt;xhtml:link\n\n                 rel=\"alternate\"\n\n                 hreflang=\"es\"\n\n                 href=\"https:\/\/www.example.com\/es\/\"\n\n                 \/&gt;\n\n  &lt;\/url&gt;\n\n\n  &lt;url&gt;\n\n    &lt;loc&gt;https:\/\/www.example.com\/it-ch\/&lt;\/loc&gt;\n\n     &lt;xhtml:link\n\n                 rel=\"alternate\"\n\n                 hreflang=\"es\"\n\n                 href=\"https:\/\/www.example.com\/es\/\"\n\n                 \/&gt;\n\n     &lt;xhtml:link\n\n                 rel=\"alternate\"\n\n                 hreflang=\"en\"\n\n                 href=\"https:\/\/www.example.com\/en\/\"\n\n                 \/&gt;\n\n&lt;xhtml:link\n\n                 rel=\"alternate\"\n\n                 hreflang=\"it-ch\"\n\n                 href=\"https:\/\/www.example.com\/it-ch\/\"\n\n                 \/&gt;\n\n  &lt;\/url&gt;\n\n\n&lt;\/urlset&gt;<\/pre>\n<p>You can also use a tool like the <a href=\"https:\/\/www.themediaflow.com\/tool_hreflang.php\" target=\"_blank\">Hreflang tool for XML Sitemaps<\/a> to import your XML sitemap and easily create a hreflang version of the sitemap.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>3. HTTP header<\/strong><\/p>\n<p>A third way to implement the hreflang tag is to add it in the HTTP header. This is used when pages aren\u2019t in HTML (e.g. PDF files or other media objects). Google gives an example of how to do here.<\/p>\n<p>Here is an example of a link targeting Spanish-speaking users:<\/p>\n<pre>&lt;https:\/\/es.example.com\/&gt;; rel=\u201dalternate\u201d; hreflang=\u201des\u201d<\/pre>\n<p><em><strong>Extra tip<\/strong><\/em><\/p>\n<p>Make sure that the language declaration of your site coincides with the language used in the hreflang tags.<\/p>\n<p>If your site is currently declared as &lt;html lang=&#8221;en&#8221;&gt; but you\u2019re adding a hreflang=\u201den-gb\u201d then you should also change the HTML declaration to en-gb.<\/p>\n<p>Make sure you use your Google Webmaster Tools (GWT) account to verify that you\u2019ve implemented the tags correctly. To do that, go to your GWT account: Search Traffic &gt; International Targeting:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.heartinternet.uk\/blog\/wp-content\/uploads\/advanced-seo.png\" alt=\"\" \/><\/p>\n<p>This is where you&#8217;ll see if there are any issues with your hreflang tags such as: missing return links or incorrect hreflang values. Find out more about these issues and <a href=\"https:\/\/googlewebmastercentral.blogspot.ro\/2014\/07\/troubleshooting-hreflang-annotations-in.html\" target=\"_blank\">how to troubleshoot them<\/a>.<\/p>\n<p>The Country tab allows you to set a country as the main target of your website. So even if you have various languages and are targeting various countries, you can still choose your primary market.<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.heartinternet.uk\/blog\/wp-content\/uploads\/advanced-seo2.png\" alt=\"\" \/><\/p>\n<h3>How does hreflang work in search engines?<\/h3>\n<p>Let\u2019s use an example from earlier: you have a page for users in the UK and another one with slight language variations for Australian users. You also a page that\u2019s translated into Spanish which is dedicated to Spanish-speaking users.<\/p>\n<p>This is the code that you\u2019ve added to all three pages:<\/p>\n<pre>&lt;link rel=\"alternate\" href=\"https:\/\/example.com\/\" hreflang=\"x-default\" \/&gt;\n\n&lt;link rel=\"alternate\" hreflang=\"en\" href=\"https:\/\/www.example.com\/\"\/&gt;\n\n&lt;link rel=\"alternate\" hreflang=\"es\" href=\"https:\/\/www.example.com\/es\/\"\/&gt;\n\n&lt;link rel=\"alternate\" hreflang=\"en-au\" href=\"https:\/\/www.example.com\/au\/\"\/&gt;<\/pre>\n<p>&nbsp;<\/p>\n<p>So which pages will your users see depending on where they\u2019re located?<\/p>\n<p>&nbsp;<\/p>\n<ol>\n<li>If your user is on Google.co.uk they will see this page: <em>https:\/\/example.com\/<\/em><\/li>\n<li>If your user is on Google.com.au they will see this page: <em>https:\/\/example.com\/au\/<\/em><\/li>\n<li>If your user is on Google.es they will see this page: <em>https:\/\/example.com\/es\/<\/em><\/li>\n<li>If your user is on Google.com or Google.de they will see this page (your default if there isn\u2019t a certain page specified): https:\/\/example.com\/<\/li>\n<\/ol>\n<h3>Extra resources<\/h3>\n<ul>\n<li><a href=\"https:\/\/moz.com\/blog\/hreflang-behaviour-insights\" target=\"_blank\">Getting hreflang Right: Examples and Insights for International SEO<\/a><\/li>\n<li><a href=\"https:\/\/moz.com\/blog\/the-international-seo-checklist\" target=\"_blank\">The International SEO Checklist<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><strong>Got a question about implementing hreflang on your site? Let us know in a comment below.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<hr \/>\n<p>If you want to expand your business internationally or if you notice that your site is receiving a significant amount of traffic from countries other than the one in which you&#39;re based, it&rsquo;s time to implement an international version of your site. Read on to find out how.<\/p>\n","protected":false},"author":2,"featured_media":998,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"class_list":{"0":"post-7958","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-search-engine-tips"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to use hreflang for international SEO - Heart Internet<\/title>\n<meta name=\"description\" content=\"How to use hreflang for international SEO - Written by the team at Heart Internet.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.heartinternet.uk\/blog\/how-to-use-hreflang-for-international-seo\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to use hreflang for international SEO - Heart Internet\" \/>\n<meta property=\"og:description\" content=\"How to use hreflang for international SEO - Written by the team at Heart Internet.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.heartinternet.uk\/blog\/how-to-use-hreflang-for-international-seo\/\" \/>\n<meta property=\"og:site_name\" content=\"Heart Internet\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/heartinternet\/\" \/>\n<meta property=\"article:published_time\" content=\"2014-11-13T12:38:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.heartinternet.uk\/blog\/wp-content\/uploads\/2015\/04\/seo-tips.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1620\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Eliot Chambers-Ostler\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@heartinternet\" \/>\n<meta name=\"twitter:site\" content=\"@heartinternet\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Eliot Chambers-Ostler\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.heartinternet.uk\/blog\/how-to-use-hreflang-for-international-seo\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.heartinternet.uk\/blog\/how-to-use-hreflang-for-international-seo\/\"},\"author\":{\"name\":\"Eliot Chambers-Ostler\",\"@id\":\"https:\/\/heartblog.victory.digital\/#\/schema\/person\/58ed7f27cc0f3ab6e69135742a5eee28\"},\"headline\":\"How to use hreflang for international SEO\",\"datePublished\":\"2014-11-13T12:38:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.heartinternet.uk\/blog\/how-to-use-hreflang-for-international-seo\/\"},\"wordCount\":1642,\"commentCount\":6,\"publisher\":{\"@id\":\"https:\/\/heartblog.victory.digital\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.heartinternet.uk\/blog\/how-to-use-hreflang-for-international-seo\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.heartinternet.uk\/blog\/wp-content\/uploads\/2015\/04\/seo-tips.jpg\",\"articleSection\":[\"Search Engine Tips\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.heartinternet.uk\/blog\/how-to-use-hreflang-for-international-seo\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.heartinternet.uk\/blog\/how-to-use-hreflang-for-international-seo\/\",\"url\":\"https:\/\/www.heartinternet.uk\/blog\/how-to-use-hreflang-for-international-seo\/\",\"name\":\"How to use hreflang for international SEO - Heart Internet\",\"isPartOf\":{\"@id\":\"https:\/\/heartblog.victory.digital\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.heartinternet.uk\/blog\/how-to-use-hreflang-for-international-seo\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.heartinternet.uk\/blog\/how-to-use-hreflang-for-international-seo\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.heartinternet.uk\/blog\/wp-content\/uploads\/2015\/04\/seo-tips.jpg\",\"datePublished\":\"2014-11-13T12:38:00+00:00\",\"description\":\"How to use hreflang for international SEO - Written by the team at Heart Internet.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.heartinternet.uk\/blog\/how-to-use-hreflang-for-international-seo\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.heartinternet.uk\/blog\/how-to-use-hreflang-for-international-seo\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.heartinternet.uk\/blog\/how-to-use-hreflang-for-international-seo\/#primaryimage\",\"url\":\"https:\/\/www.heartinternet.uk\/blog\/wp-content\/uploads\/2015\/04\/seo-tips.jpg\",\"contentUrl\":\"https:\/\/www.heartinternet.uk\/blog\/wp-content\/uploads\/2015\/04\/seo-tips.jpg\",\"width\":1620,\"height\":720},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.heartinternet.uk\/blog\/how-to-use-hreflang-for-international-seo\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.heartinternet.uk\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to use hreflang for international SEO\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/heartblog.victory.digital\/#website\",\"url\":\"https:\/\/heartblog.victory.digital\/\",\"name\":\"Heart Internet\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/heartblog.victory.digital\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/heartblog.victory.digital\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/heartblog.victory.digital\/#organization\",\"name\":\"Heart Internet\",\"url\":\"https:\/\/heartblog.victory.digital\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/heartblog.victory.digital\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.heartinternet.uk\/blog\/wp-content\/uploads\/2025\/02\/HeartInternet_Logo_Colour.webp\",\"contentUrl\":\"https:\/\/www.heartinternet.uk\/blog\/wp-content\/uploads\/2025\/02\/HeartInternet_Logo_Colour.webp\",\"width\":992,\"height\":252,\"caption\":\"Heart Internet\"},\"image\":{\"@id\":\"https:\/\/heartblog.victory.digital\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/heartinternet\/\",\"https:\/\/x.com\/heartinternet\",\"https:\/\/www.linkedin.com\/company\/heart-internet-ltd\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/heartblog.victory.digital\/#\/schema\/person\/58ed7f27cc0f3ab6e69135742a5eee28\",\"name\":\"Eliot Chambers-Ostler\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/heartblog.victory.digital\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.heartinternet.uk\/blog\/wp-content\/uploads\/2025\/08\/cropped-Eliot-96x96.jpg\",\"contentUrl\":\"https:\/\/www.heartinternet.uk\/blog\/wp-content\/uploads\/2025\/08\/cropped-Eliot-96x96.jpg\",\"caption\":\"Eliot Chambers-Ostler\"},\"url\":\"https:\/\/www.heartinternet.uk\/blog\/author\/eliot-chambers-ostler\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to use hreflang for international SEO - Heart Internet","description":"How to use hreflang for international SEO - Written by the team at Heart Internet.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.heartinternet.uk\/blog\/how-to-use-hreflang-for-international-seo\/","og_locale":"en_GB","og_type":"article","og_title":"How to use hreflang for international SEO - Heart Internet","og_description":"How to use hreflang for international SEO - Written by the team at Heart Internet.","og_url":"https:\/\/www.heartinternet.uk\/blog\/how-to-use-hreflang-for-international-seo\/","og_site_name":"Heart Internet","article_publisher":"https:\/\/www.facebook.com\/heartinternet\/","article_published_time":"2014-11-13T12:38:00+00:00","og_image":[{"width":1620,"height":720,"url":"https:\/\/www.heartinternet.uk\/blog\/wp-content\/uploads\/2015\/04\/seo-tips.jpg","type":"image\/jpeg"}],"author":"Eliot Chambers-Ostler","twitter_card":"summary_large_image","twitter_creator":"@heartinternet","twitter_site":"@heartinternet","twitter_misc":{"Written by":"Eliot Chambers-Ostler","Estimated reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.heartinternet.uk\/blog\/how-to-use-hreflang-for-international-seo\/#article","isPartOf":{"@id":"https:\/\/www.heartinternet.uk\/blog\/how-to-use-hreflang-for-international-seo\/"},"author":{"name":"Eliot Chambers-Ostler","@id":"https:\/\/heartblog.victory.digital\/#\/schema\/person\/58ed7f27cc0f3ab6e69135742a5eee28"},"headline":"How to use hreflang for international SEO","datePublished":"2014-11-13T12:38:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.heartinternet.uk\/blog\/how-to-use-hreflang-for-international-seo\/"},"wordCount":1642,"commentCount":6,"publisher":{"@id":"https:\/\/heartblog.victory.digital\/#organization"},"image":{"@id":"https:\/\/www.heartinternet.uk\/blog\/how-to-use-hreflang-for-international-seo\/#primaryimage"},"thumbnailUrl":"https:\/\/www.heartinternet.uk\/blog\/wp-content\/uploads\/2015\/04\/seo-tips.jpg","articleSection":["Search Engine Tips"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.heartinternet.uk\/blog\/how-to-use-hreflang-for-international-seo\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.heartinternet.uk\/blog\/how-to-use-hreflang-for-international-seo\/","url":"https:\/\/www.heartinternet.uk\/blog\/how-to-use-hreflang-for-international-seo\/","name":"How to use hreflang for international SEO - Heart Internet","isPartOf":{"@id":"https:\/\/heartblog.victory.digital\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.heartinternet.uk\/blog\/how-to-use-hreflang-for-international-seo\/#primaryimage"},"image":{"@id":"https:\/\/www.heartinternet.uk\/blog\/how-to-use-hreflang-for-international-seo\/#primaryimage"},"thumbnailUrl":"https:\/\/www.heartinternet.uk\/blog\/wp-content\/uploads\/2015\/04\/seo-tips.jpg","datePublished":"2014-11-13T12:38:00+00:00","description":"How to use hreflang for international SEO - Written by the team at Heart Internet.","breadcrumb":{"@id":"https:\/\/www.heartinternet.uk\/blog\/how-to-use-hreflang-for-international-seo\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.heartinternet.uk\/blog\/how-to-use-hreflang-for-international-seo\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.heartinternet.uk\/blog\/how-to-use-hreflang-for-international-seo\/#primaryimage","url":"https:\/\/www.heartinternet.uk\/blog\/wp-content\/uploads\/2015\/04\/seo-tips.jpg","contentUrl":"https:\/\/www.heartinternet.uk\/blog\/wp-content\/uploads\/2015\/04\/seo-tips.jpg","width":1620,"height":720},{"@type":"BreadcrumbList","@id":"https:\/\/www.heartinternet.uk\/blog\/how-to-use-hreflang-for-international-seo\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.heartinternet.uk\/blog\/"},{"@type":"ListItem","position":2,"name":"How to use hreflang for international SEO"}]},{"@type":"WebSite","@id":"https:\/\/heartblog.victory.digital\/#website","url":"https:\/\/heartblog.victory.digital\/","name":"Heart Internet","description":"","publisher":{"@id":"https:\/\/heartblog.victory.digital\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/heartblog.victory.digital\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/heartblog.victory.digital\/#organization","name":"Heart Internet","url":"https:\/\/heartblog.victory.digital\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/heartblog.victory.digital\/#\/schema\/logo\/image\/","url":"https:\/\/www.heartinternet.uk\/blog\/wp-content\/uploads\/2025\/02\/HeartInternet_Logo_Colour.webp","contentUrl":"https:\/\/www.heartinternet.uk\/blog\/wp-content\/uploads\/2025\/02\/HeartInternet_Logo_Colour.webp","width":992,"height":252,"caption":"Heart Internet"},"image":{"@id":"https:\/\/heartblog.victory.digital\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/heartinternet\/","https:\/\/x.com\/heartinternet","https:\/\/www.linkedin.com\/company\/heart-internet-ltd"]},{"@type":"Person","@id":"https:\/\/heartblog.victory.digital\/#\/schema\/person\/58ed7f27cc0f3ab6e69135742a5eee28","name":"Eliot Chambers-Ostler","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/heartblog.victory.digital\/#\/schema\/person\/image\/","url":"https:\/\/www.heartinternet.uk\/blog\/wp-content\/uploads\/2025\/08\/cropped-Eliot-96x96.jpg","contentUrl":"https:\/\/www.heartinternet.uk\/blog\/wp-content\/uploads\/2025\/08\/cropped-Eliot-96x96.jpg","caption":"Eliot Chambers-Ostler"},"url":"https:\/\/www.heartinternet.uk\/blog\/author\/eliot-chambers-ostler\/"}]}},"_links":{"self":[{"href":"https:\/\/www.heartinternet.uk\/blog\/wp-json\/wp\/v2\/posts\/7958","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.heartinternet.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.heartinternet.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.heartinternet.uk\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.heartinternet.uk\/blog\/wp-json\/wp\/v2\/comments?post=7958"}],"version-history":[{"count":0,"href":"https:\/\/www.heartinternet.uk\/blog\/wp-json\/wp\/v2\/posts\/7958\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.heartinternet.uk\/blog\/wp-json\/wp\/v2\/media\/998"}],"wp:attachment":[{"href":"https:\/\/www.heartinternet.uk\/blog\/wp-json\/wp\/v2\/media?parent=7958"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.heartinternet.uk\/blog\/wp-json\/wp\/v2\/categories?post=7958"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.heartinternet.uk\/blog\/wp-json\/wp\/v2\/tags?post=7958"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}