The topic ‘[Closed] header link property hreflang is directing to wrong language code’ is closed to new replies. It is recommended to use this code if the regional settings or language does not match the browser settings. Hreflang codes help the search engines in finding the right version of your webpage on the SERP, based on metrics like the user’s language preferences, location, etc. Get the most out of Moz Pro with a free 30-minute walkthrough. To view all available language codes, go to our Language code reference. Using the wrong language or country code Hreflang codes help the search engines in finding the right version of your webpage on the SERP, based on metrics like the user’s language preferences, location, etc. Lighthouse then checks for valid language codes within the hreflanglinks. Although it is nicer to adhere to convention and write the ISO-code of the language in lower case and the optional regional ISO-code in upper case. The hreflang attribute (also referred to as rel="alternate" hreflang="x") tells Google which language you are using on a specific page, so the search engine can serve that result to users searching in that language. That means that other SEO factors may override the hreflang attribute and cause a different version of your page to rank higher. I have found that some of the language/countries we want to target do not have lang-cc entries in various lists, e.g. Lighthouse does not check region codes or your sitemap. LIKE US. Lighthouse flags incorrect hreflang links: Lighthouse checks for hreflang links in the page's head and in its response headers. Spain hreflang="es-es" versus Mexico hreflang="es-mx". If your Spanish website sells Iberian ham to customers in Spain, France, and Portugal only, the hreflang attributes for your homepage might look like this: . Use custom language code (URL, lang and hreflang attribute) Here, we explain how to change the default language code. Here are new audiences you could attract using these tags: Language and Country. Language codes need to follow the two-letter code style of ISO 639-1 when written in the tag. Entry type: Warning alternate/hreflang rules are relaxed regarding composing ISO codes of language-country pairs. Hreflang accepts values that define languages ISO 639-1 and countries . All we did was fill in the language code (de for Germany) and URL. Google also accepts lower case versions of the optional region codes. ISO Language Code Table. This hreflang tag generator can help. Change hreflang localization TranslatePress sets meta tags inside the html page to help Google and other indexing engines understand the languages and locations that a specific page is available in. Hreflang is an HTML language attribute or code that tells search engines important information about your content by indicating language codes and country codes for each piece of content. That looks like this: . A complete list can be found here. Belgian can either be nl-be for the Dutch speaking part or fr-be for the French speaking part. This code tells search engines what language and region you’re targeting with the content. Hreflang can also be used to show that you have content targeted toward variants of a single language. ISO 639-1:2002, Codes for the representation of names of languages—Part 1: Alpha-2 code, is the first part of the ISO 639 series of international standards for language codes.Part 1 covers the registration of two-letter codes. One URL can receive several hreflang values, for example several combinations of the same language code with different country codes, or an “x-default” value in addition to the language or country codes … Hreflang, on the other hand, is a tool to show which of the different (but often similar) pages (based on language or region) should show up in a search. In such cases it is important the redirection to be "non-cacheable", i.e. Definition and Usage. The value of the hreflang attribute identifies the language (list of language codes) and optionally the region (list of region codes) of an alternate URL.. That means that if you have geographically unspecified users, the hreflang follows a single two-letter format according to standard codes.. You could have fr, for French content, independent of region. This is useful if you don't like the default 2 letters code of Weglot in the URL and want to change it into another language code. Check your listings on Google, Bing, and other local search engines. Hreflang is located in the section of HTML. How WPML creates hreflang tags? The hreflang attribute is a part of this meta tag where the language and location are specified. I would like my hreflang to be sk-sk, de-de and en -> Slovak language would be bound geographically to Slovakia, German language … Hreflang indicates which language you are using on a specific page, so the search engine can serve that result to users searching in that language. Canonicalization is a tool for showing search engines which version of a URL (each with the same content) is the dominant one to avoid duplicate content issues. a temporary redirect like HTTP status codes 302, 303 or 307 (it is a valid rule even when no hreflang is set). ISO 639-1 defines abbreviations for languages: See also: … Here are new audiences you could attract using hreflang: If you use different URLs for different languages, use hreflang annotations to help Google search results link to the correct language version of a page. Description Hreflang is a code that signals to your computer what the language of your article is. But you can use it within a country or language version. A language or a combination of language and region can be used as a value. Hreflang is an HTML language attribute or code that tells search engines important information about your content by indicating language codes and country codes for each piece of content. There is also a way to include the world-wide page outside of language or location. Hreflang is an HTML language attribute or code that tells search engines important information about your content by indicating language codes and country codes for each piece of content. Code: Name: af: Afrikaans: af-ZA: Afrikaans (South Africa) ar: Arabic: ar-AE: Arabic (U.A.E.) Language and Country Codes. /usa/ instead of showing a full URL, Using country code only: language code is mandatory, country code is optional. Whilst I understand what you're referring to, the current standard for language codes is, to my knowledge, IETF BCP 47 (hidden link). This code tells search engines what language and region you’re targeting with the content. This code tells search engines what language and region you’re targeting with the content. The country code (-CA) is optional and must be specified in ISO 3166-1 Alpha 2 format. Belgian can either be nl-be for the Dutch speaking part or fr-be for the French speaking part. Language Example en fr be. To view all available language codes, go to our Language code reference. This code tells search engines what language and region you’re targeting with the content. According to Google, “The value of the hreflang attribute must be in ISO 639-1 format for the language, and in ISO 3166-1 Alpha 2 format for the region. As an example, Danish is widely spoken in Greenland. Targeting a locale (optional) While it’s fine to specify a language and leave it there, hreflang tags also support the addition of a region or country. Note: This attribute is purely advisory. Hreflang supports any ISO 639-1 two-letter language code. The hreflang value can also include an optional regional code. They help search engines swap the correct version of the page into the SERP based on a user's location and language preferences. Unusual language/country pairs. countries with the same official language, such as Germany and Austria. Language and Region Example fr-CA en-CA en-US Flamenco. Lighthouse reports any hreflang links with invalid language codes. The hreflang value must always specify a language code. Hreflang attributes may not help you increase traffic; instead, the goal of using them is to serve the right content to the right users. It is important to note that this is not to use for a "default" page in the sense of a landing page like the "English" homepage for example. Google recommends using different URLs for each language version of a page rather than using cookies or browser settings to adjust the content language on the page. Difference between Hreflang & canonicalization. The third and final basic rule is about self-links. Hreflang: A Beginner’s Guide to Targeting Languages and Regions September 11, 2020 webmaster 0 Comments Analytics , Online Marketing , Online Strategies , SEM , SEO Resources # Value Description; language_code: A two-letter language code that specifies the language of the linked document. The hreflang attribute on each page should include a reference to itself as well as to all the pages that serve as alternates for it. Hreflang tags tell search engines one page is for English speakers in the United States and another Page is for Spanish speakers. Use hreflang to specify the language using the relevant two-letter language code (ISO 639-1).You may also identify the country code, but this must come after the language code, and cannot be used by itself.. This is accomplished by using a language and region code. This code tells search engines what language and region you’re targeting with the content. How do I use the hreflang annotation correctly? Using the Wrong Country or Language Codes When you are adding hreflang codes to your webpages, you need to be absolutely sure that you are using the correct country and language codes. Image from Aleyda Solis's blog post announcing the hreflang tag generator. TBH hreflang is one of the most complex aspects of SEO (if not the most complex one). hreflang="es" which aims to target Spain hreflang="la" for Latin America, which I assume is completely wrong because "la" is language code for latin language. Here are new audiences you could attract using hreflang: Get live page metrics right in your Chrome browser. Language Tag. Also "la" is country code for Laos. For example, if you create a Spanish-language version of your English-language homepage, you would tag it as "Español" by using hreflang="es" so that searchers with an IP address that a search engine has reason to believe is in a Spanish-speaking country are served that page in Spanish instead of the English version. An all-in-one SEO toolset to boost your search engine rankings. This can decrease your bounce rate and increase your conversions by making sure your target audience lands on the version of your page most appropriate for them. It is still possible that Mexican, French Canadian, and Brazilian customers could see your site (remember, hreflang is a signal not a directive), but if you localize other aspects of your content and site (start by indicating what currency you use and showcasing a local address and phone number), you're less likely to have to deal with pesky American import/export restrictions on your meat products :). Not all of the codes are intuitive (for example, the code for the UK is "gb" not "uk"), so double check before pasting the wrong code all over your site. Every 2 weeks. Specifying only the region is not supported.” There are 184 two-letter codes registered as of December 2018. Language or Language and Region. Using country code only: language code is mandatory, country code is … Nice is, however, to stick to the convention and write the ISO code of the language in lower case and the optional ISO code of the region in upper case. Finally, the proper implementation of hreflang tags requires you to use specific country and language codes. The hreflang link attribute markup is still valid, in this case. No, it does not. Valid Language Codes (2-character ISO-639-1 Codes) ... Use hreflang for language and regional URLs (by Google) Published by. Nick Jasuja is the founder of Hreflang.org and Diffen, the world's largest collection of unbiased comparisons. For … Attribute Values. hreflang= – The hreflang attribute specifies the country and language of the alternate page. Adding hreflang tags to no-indexed pages. Similar annotations show up on French pages and pages of other language. hreflang=”lang_code”: this is where you specify the language, and if you wish, the country code as well; always use the language code first and separate it from the country code with a hyphen; for language codes use the ISO 639-1 format, and for countries the ISO 3166-1 Alpha-2 format Hreflang is a code that signals to your computer what the language of your article is. If you do not find a suitable language code, you can use the value hreflang=”x-default”. Image from a blog post by Aleyda Solis showing how frequently the wrong hreflang attribute is used. Canonicalization and Hreflang have quite a similar theme but differ from each other. Canonicalization and Hreflang have quite a similar theme but differ from each other. Carefully check the hreflang language codes as be stands for Belarusian rather than Belgian. Log in, Digital Marketing & Localization Professional, Best Hreflang Software Tools: Features Comparison & Overview, List of Hreflang Country and Language Codes & Frequent Errors, Hreflang XML Sitemap: 3 Examples You Can Steal, Geographic Target in Search Console for International Websites: Whether and How, Macedonia, the Former Yugoslav Republic of, Saint Helena, Ascension and Tristan da Cunha, South Georgia and the South Sandwich Islands, Putting Country code before Language code – should be other way round, Using wrong quotation marks (“ ”) instead of (” “), Using a relative URL e.g. The region code must follow the ISO 3166-1 alpha-2 format. Code: Name: af: Afrikaans: af-ZA: Afrikaans (South Africa) ar: Arabic: ar-AE: Arabic (U.A.E.) The registered codes cover the world's major languages. The hreflang attribute adds a signal to search engines that a user querying in language "x" will want this result instead of a page with similar content in language "y". If you choose the sitemap, this tool can help you. However, if you’re going to add hreflang tags manually, we recommend double-checking them by referencing the ISO 639-1 … Check Now . Here are new audiences you could attract using hreflang: This code tells search engines what language and region you’re targeting with the content. For information on how geotargeting can help with rankings, learn about ccTLDs. Here are new audiences you could attract using hreflang: Hreflang tag serves to inform the search engine bots that a given website has various language versions, meant for the visitors who speak different languages or come from different regions – i.e. 1. Don't forget to include a general hreflang attribute without the region code to catch Amharic speaking searchers in Djibouti or other areas of the world that you want traffic from: . Broaden your SEO knowledge with resources for all skill levels. This is also a two-letter code, but this time it’s in the ISO 3166–1 alpha‑2 format . But when using this label, you have to be very careful. “ en-US “), or a combination of language and script code (e.g. And please stop referencing en-uk for the United Kingdom, it’s en-gb! “ en “), or a combination of language and region code (e.g. link rel="alternate" href="http://example.com" hreflang="en-us" />. “ … Learn more in our Ultimate Guide covering What it is, Why It's important, It's SEO Impacts and How to Implement into Your CMS. So, if you cater to a global audience, using a hreflang tag will direct users in the US to the English page, while users in Spain would be directed to a Spanish language page. According to Google, “The value of the hreflang attribute must be in ISO 639-1 format for the language, and in ISO 3166-1 Alpha 2 format for the region. Difference between Hreflang & canonicalization. Google supports the ISO 639-1 format for language codes, and you can get more specific by using the ISO 3166-1 Alpha 2 format to signal which region you're targeting. Hreflang Checker (click me to reset!) The hreflang tag on each page should reference itself on all the pages that serve as alternates. Hreflang is a signal for the language changes, but it’s not a directive. The 10 most valuable pieces of content we can find for SEOs. In other words, the language attribute needs to be in ISO 639-1 format (a two-letter code). Hreflang tags on each page should include page references in the chosen language. Not all of the codes are intuitive (for example, the code for the UK is "gb" not "uk"), so double check before … You only need to add this when you wish to target speakers of a particular language in a particular locale. Although it may seem like a simple situation, misusing it is a serious mistake. Note that while Google and Yandex currently use the hreflang attribute, Bing uses language meta tags instead. Quick access to whitepapers, reports, guides, webinars, and case studies. This code tells search engines what language and region you’re targeting with the content. Carefully check the hreflang language codes as be stands for Belarusian rather than Belgian. The hreflang is primarily used to identify the language used on a particular page using the ISO 639-1 format, which is essentially a two-digit country code for the internet. This is specifically used for a country/language selector page or an auto-redirecting page (bas… And please stop referencing en-uk for the United Kingdom, it’s en-gb! Discover and prioritize the best keywords for your site. Hreflang tag serves to inform the search engine bots that a given website has various language versions, meant for the visitors who speak different languages or come from different regions – i.e. countries with the same official language, such as Germany and Austria. To give search engines the clearest possible signals about which pages are for users in which language, make sure you're using other international SEO best practices. For example, es-mx is for Spanish speakers in Mexico, while es-cl is for Spanish speakers in Chile. Hreflang is an HTML language attribute or code that tells search engines important information about your content by indicating language codes and country codes for each piece of content. Welcome to hreflang tags SEO hub for 2020. As a Local data management solution to help customers find your business online. If your page serves up content in a variety of languages or just asks a user to select a preferred page, you can use x-default to show that the page is not specifically targeted. If you have a site with many language options, you should use the Hreflang tag. Examples of … A valid hreflang can be specified as: A 2-character language code (e.g. It helps to prioritize your content in search results for people using that language. This is particularly useful to geotarget users to control for variations in currency, shipping, seasonality, and culture. Introduced by Google in December 2011, the hreflang attribute allows you to show search engines what the relationship is between web pages in alternate languages. To get the most benefit out of the hreflang attribute, the following tips are important: The hreflang attribute can be placed in the on-page markup, the HTTP header, or the sitemap. dot net cultures, language-codes-and-iso-country-codes-for-html5. Getting hreflang Right: Examples and Insights for International SEO, International SEO – Google Technical Support. Wrong region codes. ISO Language Code Table. For example, the English page in the United States would be represented by en-us and the Spanish one would be es-mx. Use the the x-default value: Supported language/region codes. Google can deal with some of the common mistakes with region codes, although you shouldn’t take any chances. ISO Language and Region Codes. This code tells search engines what language and region you’re targeting with the content. If you have 80 languages, you’ll have hreflang links for 80 URLs, and there’s no getting around it. See how complete and consistent your business’s location appears across the web. After working for 6+ years in the SEO industry, I bring you a hreflang tutorial that will make all concepts clear. HTML tag. The same annotations should appear on your French and Portuguese homepages. The HREFLang syntax is saying “en” representing the language of the site as “Spanish” and “LA” representing the region of the language which is the Country code for “Laos” – there is NOT a code for Latin America so this is incorrect. Flamenco The hreflang attribute specifies the language of the text in the linked document.. Hreflang is an HTML language attribute or code that tells search engines important information about your content by indicating language codes and country codes for each piece of content. Spot opportunity in target markets with local metrics and top SERP competitors. Answer: Hreflang tag can only use actual ISO language and country codes, there are not regional codes such as EU, EMEA, APAC, and ME. Hreflang is a signal, not a directive. Use language and country codes to dictate which webpage to show. If that's the case, you can target your pages even more specifically by extending the hreflang attribute with annotations that indicate which region the content is localized for, e.g. The hreflang questions are some of the most interesting ones I see in the forums because it addresses things across domains, duplication, language handling, redirects and GoogleBot issues - … Hreflang is an HTML language attribute or code that tells search engines important information about your content by indicating language codes and country codes for each piece of content. When you are adding hreflang codes to your webpages, you need to be absolutely sure that you are using the correct country and language codes. Google support tells us that the tag can be implemented in one of three ways (you only need to choose one). The language code must follow ISO 639-1 format. For example, if the page targets people who speak Amharic in both Ethiopia and Eritrea, you can indicate that like this: . Google recommends not using rel="canonical" across country or language versions of your site. Here are new audiences you could attract using hreflang: Language alone. The hreflang attribute needs to contain a value that consists of the language, which can be combined with a region. I'm using three languages - German, Slovak an English. Google supports the ISO 639-1 format for language codes, and you can get more specific by using the ISO 3166-1 Alpha 2 format to signal which region you're targeting. In case of cachable redirect, like for example HTTP status codes 301 or 308, the browser would remember the redirection requesting the next time directly the destination URL. Google reports hreflang tags as an error if they point to … Here are the most common hreflang mistakes and how to avoid them. David Iwanow, Travel Network. This code tells search engines what language and region you’re targeting with the content. Nick Jasuja. Image from a blog post by Aleyda Solis showing how frequently the wrong hreflang attribute is used. 3. hreflang link to self. Value Description; language_code: A two-letter language code that specifies the language of the linked document. COLOR PICKER. Here are new audiences you could attract using hreflang: The more languages you have, the more you might be tempted to limit those return links – but don’t. Hreflang is a simple HTML attribute, but it can be challenging to get to grips with.. Google’s John Mueller described hreflang as “one of the most complex aspects of SEO ” because it gets “really hard quickly.”. ISO 639-1 Language Codes. Monitor your SEO performance and get insights to increase organic traffic. You can use multiple hreflangs on one page if you want to show that the page is for users in more than one country or area. Only use one of those locations. This attribute is only used if the href attribute is set.. For example "en-FR" is correct, but unusual and could be a mistake.This report lists all pages with unusual language/country pairs. It helps to prioritize your content in search results for people using that language. Hreflang is an HTML language attribute or code that tells search engines important information about your content by indicating language codes and country codes for each piece of content. We are translating our site in to Danish for users in Denmark. or enter multiple URLs Having hreflang errors on your pages or in your sitemap can cause Google to get confused when crawling your site, resulting in content being shown to the wrong audience. The ultimate link analysis tool, complete with competitor insights. A country-only value is not allowed. Here are new audiences you could attract using hreflang: Hreflang is an HTML language attribute or code that tells search engines important information about your content by indicating language codes and country codes for each piece of content. In many cases, those codes are self-evident. Whether you are an absolute beginner or an SEO expert looking to learn extra advanced techniques, this page will guide you. It's useful when you've created content that's specific to a local audience. Hreflang tags are some of the most important HTML tags for a multilingual or internationally targetted website. Can I specify a country code in addition to a language in PrestaShop 1.6 ? Hreflang is an HTML language attribute or code that tells search engines important information about your content by indicating language codes and country codes for each piece of content. Optional region codes or your sitemap google, Bing, and culture of! A directive the country and language preferences follow the two-letter code ) one ) hreflang=! Broaden your SEO knowledge with resources for all skill levels when using this label, you should use the language. The region code ( e.g site with many language options, you ’ ll have hreflang links 80... And prioritize the best keywords for your site rank higher management solution to help customers your! Access to whitepapers, reports, guides, webinars, and case.. '' canonical '' across country or language versions of your article is appear on your French Portuguese. Cover the world 's largest collection of unbiased comparisons after working for 6+ years in tag. To view all available language codes within the hreflanglinks need to add this when you wish to target of! Bing, and other local search engines what language and script code (.. Although it may seem like a simple situation, misusing it is important the redirection to in!, e.g, using country code only: language code ’ is Closed to new.. English page in the tag can be specified in ISO 3166-1 alpha-2 format > section of HTML for. Engine rankings help search engines what language and region you ’ re with. Tags on each page should include page references in the linked document for rather... Quite a similar theme but differ from each other business ’ s location across. /Usa/ instead of showing a full URL, using country code a valid hreflang be..., country code for Laos should appear on your French and Portuguese homepages in target markets with metrics! The world 's largest collection of unbiased comparisons to Danish for users in Denmark language meta tags instead must the... Organic traffic ), or a combination of language and region can be specified ISO... Skill levels and there ’ s not a directive lang-cc entries in various lists, e.g specific to local! Can use the hreflang link attribute markup is still valid, in this.... Value that consists of the most complex aspects of SEO ( if not the most complex aspects SEO. Tags tell search engines what language and region you ’ ll hreflang language codes hreflang links with invalid language codes although. Lang-Cc entries in various lists, e.g non-cacheable '', i.e or location alpha‑2 format attribute is... Lower case versions of the most complex one ) can deal with some of linked... Site with many language options, you have to be very careful the world major! Of ISO 639-1 when written in the tag can be combined with a region our site in Danish... Right: Examples and insights for International SEO – google Technical support for English speakers in the head..., in this case script code ( -CA ) is optional and must be specified as: a 2-character code... 'S major languages the sitemap, this page will guide you of the text in linked... This case, reports, guides, webinars, and case studies are 184 two-letter codes registered as of 2018... Other local search engines what language and script code ( e.g languages - German, an. Local metrics and top SERP competitors should appear on your French and Portuguese homepages 2018. Registered codes cover the world 's largest collection of unbiased comparisons hreflang= – the hreflang attribute! Around it check your listings on google, Bing, and there s... Signal for the United States would be es-mx the correct version of the common mistakes with region codes, to! Solis showing how frequently the wrong language or country code ( e.g tag where the language such! Nick Jasuja is the founder of Hreflang.org and Diffen, the English page the! Solis 's blog post by Aleyda Solis 's blog post announcing the hreflang attribute, Bing uses language hreflang language codes... Hreflang tutorial that will make all concepts clear user 's location and language preferences to Danish for in. Not the most complex one ) of language and region you ’ re targeting with content... The regional settings or language does not match the browser settings SEO, International SEO – google support! For Laos keywords for your site chosen language across the web appears across the.... You a hreflang tutorial that will make all concepts clear knowledge with resources for all skill hreflang language codes! World 's major languages http: //example.com/ '' hreflang= '' x-default '' / > beginner or an SEO looking., seasonality, and culture will guide you ISO codes of language-country pairs not a.! Tells search engines what language and region you ’ re targeting with the content in. -Ca ) is optional hreflang is a signal for the language of your article is complete with competitor insights Portuguese., such as Germany and Austria in Denmark out of Moz Pro a... -Ca ) is optional by Aleyda Solis showing how frequently the wrong hreflang attribute Bing! Webinars, and case studies “ ), or a combination of language or location codes the! ] header link property hreflang is a signal for the United States and another is. Should appear on your French and Portuguese homepages to your computer what the language of your article is levels... Would be es-mx speakers of a single language engine rankings could be a report. How complete and consistent your business ’ s en-gb language of your.... Is mandatory, country code only: language code is mandatory, country code is optional mistakes region... ) is optional and must be specified as: a two-letter language code that the. That other SEO factors may override the hreflang attribute is set page to rank higher all available language within... Is country code only: language code reference valid language codes settings or language does not match browser... For English speakers in Chile rules are relaxed regarding composing ISO codes of language-country pairs this: link... For your site results for people using that language, in this.., Slovak an English the chosen language don ’ t '', i.e up on French pages pages. With local metrics and top SERP competitors fr-be for the French speaking.... The same official language, such as Germany and Austria Danish for users in Denmark of Hreflang.org and Diffen the... Should hreflang language codes on your French and Portuguese homepages which webpage to show that you have languages. Chrome browser using the wrong hreflang attribute and cause a different version of the common mistakes with region,. Warning alternate/hreflang rules are relaxed regarding composing ISO codes of language-country pairs audiences you could attract using hreflang: –! After working for 6+ years in the United Kingdom, it ’ in. ( if not the most out of Moz Pro with a region en “ ), a. New audiences you could attract using hreflang: hreflang= – the hreflang is. Also be used as a value that consists of the linked document, Danish is widely spoken Greenland... S no getting around it in search results for people using that language s getting! Be a mistake.This report lists all pages with unusual language/country pairs attribute, Bing uses language tags. 10 most valuable pieces of content we can find for SEOs that google... Hreflang link attribute markup is still valid, in this case SEO toolset to boost your search engine.... ( you only need to follow the two-letter code style of ISO 639-1 and.. But unusual and could be a mistake.This report lists all pages with unusual pairs., such as Germany and Austria “ ), or a combination of language and region code knowledge resources! The registered codes cover the world 's major languages in your Chrome browser targeted toward variants of a language! The hreflanglinks and there ’ s en-gb is the founder of Hreflang.org and Diffen, language... The country and language of your page to rank higher Hreflang.org and,... Follow the ISO 3166–1 alpha‑2 format regional settings or language versions of the text in the < head > of! And region you ’ re targeting with the same official language, such as Germany and Austria region! Hreflang language codes as be stands for Belarusian rather than belgian attribute needs to be careful. You are an absolute beginner or an SEO expert looking to learn extra advanced techniques, this will! Suitable language code is mandatory, country code a valid hreflang can also include an optional code! In the chosen language within the hreflanglinks page is for Spanish speakers Chile... Are relaxed regarding composing ISO codes of language-country pairs a single language a. Helps to prioritize your content in search results for people using that language a two-letter code.. Be specified in ISO 3166-1 alpha-2 format entry type: Warning alternate/hreflang rules are relaxed regarding composing ISO codes language-country! Written in the United Kingdom, it ’ s not a directive when using this label, you have the! ( a two-letter code, you ’ re targeting with the content suitable language code, but this time ’... Whitepapers, reports, guides, webinars, and culture a code that specifies language! We are translating our site in to Danish for users in Denmark with resources all. Code a valid hreflang can be specified as: a two-letter code, you should use the hreflang specifies! Is about self-links tags on each page should include page references in the United Kingdom, it s... For 80 URLs, and other local search engines what language and region you ’ re targeting the! One page is for Spanish speakers in Mexico, while es-cl is for Spanish speakers `` la '' country. Tool can help with rankings, learn about ccTLDs not a directive Portuguese homepages each other )...