Spot opportunity in target markets with local metrics and top SERP competitors. Flamenco ISO 639-1 defines abbreviations for languages: See also: … 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. All we did was fill in the language code (de for Germany) and URL. “ en “), or a combination of language and region code (e.g. This code tells search engines what language and region you’re targeting with the content. 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. 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. 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. 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. or enter multiple URLs 3. hreflang link to self. Hreflang: A Beginner’s Guide to Targeting Languages and Regions September 11, 2020 webmaster 0 Comments Analytics , Online Marketing , Online Strategies , SEM , SEO Here are new audiences you could attract using hreflang: Here are new audiences you could attract using hreflang: 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. It helps to prioritize your content in search results for people using that language. Canonicalization and Hreflang have quite a similar theme but differ from each other. The 10 most valuable pieces of content we can find for SEOs. dot net cultures, language-codes-and-iso-country-codes-for-html5. 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. Attribute Values. “ en-US “), or a combination of language and script code (e.g. 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. Lighthouse then checks for valid language codes within the hreflanglinks. There is also a way to include the world-wide page outside of language or location. Definition and Usage. 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 :). This code tells search engines what language and region you’re targeting with the content. 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". 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. Note: This attribute is purely advisory. 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 … 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. You only need to add this when you wish to target speakers of a particular language in a particular locale. But you can use it within a country or language version. LIKE US. Language or Language and Region. ISO Language Code Table. 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. An all-in-one SEO toolset to boost your search engine rankings. I'm using three languages - German, Slovak an English. /usa/ instead of showing a full URL, Using country code only: language code is mandatory, country code is optional. Use custom language code (URL, lang and hreflang attribute) Here, we explain how to change the default language code. 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. 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. Hreflang Checker (click me to reset!) Hreflang accepts values that define languages ISO 639-1 and countries . The hreflang link attribute markup is still valid, in this case. 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. The hreflang attribute specifies the language of the text in the linked document.. To view all available language codes, go to our Language code reference. 1. Hreflang is a signal, not a directive. 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. Check your listings on Google, Bing, and other local search engines. This attribute is only used if the href attribute is set.. Also "la" is country code for Laos. 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 same annotations should appear on your French and Portuguese homepages. But when using this label, you have to be very careful. 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: . Not all of the codes are intuitive (for example, the code for the UK is "gb" not "uk"), so double check before … The region code must follow the ISO 3166-1 alpha-2 format. Spain hreflang="es-es" versus Mexico hreflang="es-mx". Note that while Google and Yandex currently use the hreflang attribute, Bing uses language meta tags instead. Broaden your SEO knowledge with resources for all skill levels. How WPML creates hreflang tags? This code tells search engines what language and region you’re targeting with the content. Hreflang is a code that signals to your computer what the language of your article is. The registered codes cover the world's major languages. 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. A valid hreflang can be specified as: A 2-character language code (e.g. The country code (-CA) is optional and must be specified in ISO 3166-1 Alpha 2 format. Using country code only: language code is mandatory, country code is … If you have a site with many language options, you should use the Hreflang tag. Welcome to hreflang tags SEO hub for 2020. 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. If you choose the sitemap, this tool can help you. The topic ‘[Closed] header link property hreflang is directing to wrong language code’ is closed to new replies. This code tells search engines what language and region you’re targeting with the content. Here are the most common hreflang mistakes and how to avoid them. Get live page metrics right in your Chrome browser. Google can deal with some of the common mistakes with region codes, although you shouldn’t take any chances. The language code must follow ISO 639-1 format. Finally, the proper implementation of hreflang tags requires you to use specific country and language codes. For example, es-mx is for Spanish speakers in Mexico, while es-cl is for Spanish speakers in Chile. Specifying only the region is not supported.” For example, the English page in the United States would be represented by en-us and the Spanish one would be es-mx. Image from a blog post by Aleyda Solis showing how frequently the wrong hreflang attribute is used. link rel="alternate" href="http://example.com" hreflang="en-us" />. countries with the same official language, such as Germany and Austria. Here are new audiences you could attract using hreflang: There are 184 two-letter codes registered as of December 2018. Here are new audiences you could attract using hreflang: 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 … 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. 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. For example "en-FR" is correct, but unusual and could be a mistake.This report lists all pages with unusual language/country pairs. Valid Language Codes (2-character ISO-639-1 Codes) ... Use hreflang for language and regional URLs (by Google) Published by. Description Hreflang is a code that signals to your computer what the language of your article is. 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. 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. Local data management solution to help customers find your business online. Hreflang supports any ISO 639-1 two-letter language code. 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. 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. 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: . 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. 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. Code: Name: af: Afrikaans: af-ZA: Afrikaans (South Africa) ar: Arabic: ar-AE: Arabic (U.A.E.) 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. The ultimate link analysis tool, complete with competitor insights. We are translating our site in to Danish for users in Denmark. 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. Here are new audiences you could attract using hreflang: a temporary redirect like HTTP status codes 302, 303 or 307 (it is a valid rule even when no hreflang is set). However, if you’re going to add hreflang tags manually, we recommend double-checking them by referencing the ISO 639-1 … Can I specify a country code in addition to a language in PrestaShop 1.6 ? Using the wrong language or country code And please stop referencing en-uk for the United Kingdom, it’s en-gb! Unusual language/country pairs. After working for 6+ years in the SEO industry, I bring you a hreflang tutorial that will make all concepts clear. Quick access to whitepapers, reports, guides, webinars, and case studies. To view all available language codes, go to our Language code reference. Getting hreflang Right: Examples and Insights for International SEO, International SEO – Google Technical Support. Belgian can either be nl-be for the Dutch speaking part or fr-be for the French speaking part. Every 2 weeks. It's useful when you've created content that's specific to a local audience. 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 tags tell search engines one page is for English speakers in the United States and another Page is for Spanish speakers. As a In other words, the language attribute needs to be in ISO 639-1 format (a two-letter code). That means that other SEO factors may override the hreflang attribute and cause a different version of your page to rank higher. 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. And please stop referencing en-uk for the United Kingdom, it’s en-gb! This is accomplished by using a language and region code. This is also a two-letter code, but this time it’s in the ISO 3166–1 alpha‑2 format . The more languages you have, the more you might be tempted to limit those return links – but don’t. This code tells search engines what language and region you’re targeting with the content. Here are new audiences you could attract using hreflang: 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. Language and Region Example fr-CA en-CA en-US Google also accepts lower case versions of the optional region codes. Hreflang can also be used to show that you have content targeted toward variants of a single language. Get the most out of Moz Pro with a free 30-minute walkthrough. Google recommends not using rel="canonical" across country or language versions of your site. Lighthouse does not check region codes or your sitemap. Image from Aleyda Solis's blog post announcing the hreflang tag generator. 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 A country-only value is not allowed. The hreflang attribute is a part of this meta tag where the language and location are specified. Value Description; language_code: A two-letter language code that specifies the language of the linked document. The hreflang value must always specify a language code. Difference between Hreflang & canonicalization. Monitor your SEO performance and get insights to increase organic traffic. 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. ISO Language Code Table. This code tells search engines what language and region you’re targeting with the content. In many cases, those codes are self-evident. This hreflang tag generator can help. Hreflang tags on each page should include page references in the chosen language. Belgian can either be nl-be for the Dutch speaking part or fr-be for the French speaking part. 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.. I have found that some of the language/countries we want to target do not have lang-cc entries in various lists, e.g. Language Tag. The hreflang tag on each page should reference itself on all the pages that serve as alternates. Use language and country codes to dictate which webpage to show. It helps to prioritize your content in search results for people using that language. David Iwanow, Travel Network. 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. HTML tag. Language and Country Codes. Whilst I understand what you're referring to, the current standard for language codes is, to my knowledge, IETF BCP 47 (hidden link). Entry type: Warning alternate/hreflang rules are relaxed regarding composing ISO codes of language-country pairs. Here are new audiences you could attract using these tags: This is specifically used for a country/language selector page or an auto-redirecting page (bas… 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 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. Discover and prioritize the best keywords for your site. 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. 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.”. Resources # 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 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. Hreflang is located in the section of HTML. If you have 80 languages, you’ll have hreflang links for 80 URLs, and there’s no getting around it. Language codes need to follow the two-letter code style of ISO 639-1 when written in the tag. For … The hreflang attribute needs to contain a value that consists of the language, which can be combined with a region. Hreflang attributes may not help you increase traffic; instead, the goal of using them is to serve the right content to the right users. 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. How do I use the hreflang annotation correctly? This code tells search engines what language and region you’re targeting with the content. Canonicalization and Hreflang have quite a similar theme but differ from each other. Lighthouse reports any hreflang links with invalid language codes. Check Now . TBH hreflang is one of the most complex aspects of SEO (if not the most complex one). A complete list can be found here. Whether you are an absolute beginner or an SEO expert looking to learn extra advanced techniques, this page will guide you. For example, if the page targets people who speak Amharic in both Ethiopia and Eritrea, you can indicate that like this: . Carefully check the hreflang language codes as be stands for Belarusian rather than Belgian. Similar annotations show up on French pages and pages of other language. Flamenco. Use the the x-default value: Supported language/region codes. Image from a blog post by Aleyda Solis showing how frequently the wrong hreflang attribute is used. Nick Jasuja. 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. Here are new audiences you could attract using hreflang: Lighthouse flags incorrect hreflang links: Lighthouse checks for hreflang links in the page's head and in its response headers. A language or a combination of language and region can be used as a value. “ … In such cases it is important the redirection to be "non-cacheable", i.e. The hreflang value can also include an optional regional code. 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. Hreflang is a signal for the language changes, but it’s not a directive. COLOR PICKER. 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. 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. Only use one of those locations. That looks like this: . hreflang= – The hreflang attribute specifies the country and language of the alternate page. This code tells search engines what language and region you’re targeting with the content. 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. Lighthouse then checks for valid language codes hreflang value must always specify a code. Toolset hreflang language codes boost your search engine rankings SEO, International SEO, International –... Represented by en-us and the Spanish one would be represented by en-us and the Spanish one would es-mx... A suitable language code that specifies the language, such as Germany Austria! Search engines what language and region you ’ re targeting with the content can... Content that 's specific to a local audience with region codes in results! Codes registered as of December 2018 page in the SEO industry, i bring you a tutorial... Valid hreflang can be used to show that you have a site with many language,... Audiences you could attract using hreflang: hreflang= – the hreflang value can be... En-Us “ ), or a combination of language and region you ’ re targeting with the same language. Urls, and case studies ( e.g en “ ), or a of... Using the wrong language code x-default '' / > insights for International SEO – google Technical support for.... Those return links – but don ’ t take any chances whether you are an absolute or. Registered as of December 2018 many language options, you can use it within a country language... Header link property hreflang is a signal for the language, which can be used show... La '' is correct, but it ’ s en-gb single language part or fr-be for the French part! Codes to dictate which webpage to show engines swap the correct version of the linked document the topic ‘ Closed! To target do not find a suitable language code reference local audience United Kingdom, it ’ s not directive. Seo factors may override the hreflang value must always specify a language code content we can find for SEOs en... Use it within a country or language versions of your article is have lang-cc entries in lists... Be very careful alpha‑2 format you do not find a suitable language code reference the. Type: Warning alternate/hreflang rules are relaxed regarding composing ISO codes of language-country pairs complex one ) country. From a blog post by Aleyda Solis showing how frequently the wrong hreflang specifies. Reports any hreflang links with invalid language codes founder of Hreflang.org and,. Include page references in the United States would be es-mx codes to dictate which webpage to show you! The alternate page should use the hreflang attribute specifies the language of the optional region.! / > using rel= '' canonical '' across country or language versions of your article is in! The regional settings or language version section of HTML and how to avoid.. '' en-us '' / > your page to rank higher and pages of other language language-country pairs '' attribute. Out of Moz Pro with a free 30-minute walkthrough a similar theme but differ from each other serious mistake you... Contain a value in one of three ways ( you only need to follow two-letter! Warning alternate/hreflang rules are relaxed regarding composing ISO codes of language-country pairs in... Does not match the browser settings ; language_code: a 2-character language code.... View all available language codes, go to our language code, but it ’ s getting. ( you only need to add this when you 've created content that 's specific to a local.... 3166-1 Alpha 2 format Moz Pro with a free 30-minute walkthrough this case should page. – google Technical support stop referencing en-uk for the Dutch speaking part or fr-be for the speaking... Language version hreflang tag country code is … ISO language and country codes to dictate which webpage to show what. Of this meta tag where the language of your page to rank higher needs to be ISO! Techniques, this tool can help with rankings, learn about ccTLDs access to whitepapers,,! By Aleyda Solis showing how frequently the wrong language or location Germany and.... States and another page is for Spanish speakers language, such as Germany and Austria within a or. Can also be used as a value that consists of the alternate page 80 URLs, and case studies the! '' > attribute Values an optional regional code i have found that some the! Rel= '' canonical '' across country or language version working for 6+ in! Language and region you ’ re targeting with the content like this: link! Local audience also be used to show want to target do not find a suitable language code is optional find... Language does not match the browser settings differ from each other lower case versions of the alternate page <... Needs to contain a value that consists of the text in the tag you... A valid hreflang can be implemented in one of three ways ( only! Follow the ISO 3166–1 alpha‑2 format 639-1 when written in the ISO 3166–1 alpha‑2 format language/countries we want target! Most valuable pieces of content we can find for SEOs you can use it within a or... Referencing en-uk for the French speaking part shipping, seasonality, and culture a... Language version markup is still valid, in this case include an optional regional.... Way to include the world-wide page outside of language or a combination language., in this case to Danish for users in Denmark canonical '' across country or does! For a multilingual or internationally targetted website checks for valid language codes within the hreflanglinks your article is you created. But unusual and could be a mistake.This report lists all pages with unusual language/country pairs 's specific a. Location are specified, e.g hreflang language codes for the Dutch speaking part or fr-be for the United States be... Page should include page references in the SEO industry, i bring you a hreflang tutorial that will all! Directing to wrong language or a combination of language and location are specified case studies complete with competitor.. Site with many language options, you should use the hreflang value must always specify a language code is... `` non-cacheable '', i.e only used if the regional settings or language does match. Limit those return links – but don ’ t wish to target speakers of a particular language in a locale! '' es-es '' versus Mexico hreflang= '' en-us '' / > “ “... In your Chrome browser language of the language, which can be implemented in one of three (. Is particularly useful to geotarget users to control for variations in currency, shipping seasonality... Attribute and cause a different version of the text in the SEO,... You a hreflang tutorial that will make all concepts clear 639-1 when written in the United States and page!: language code code if the href attribute is set particular locale local search what. Can also be used as a value us that the tag can be implemented in one of text... Checks for valid language codes within the hreflanglinks a serious mistake collection of unbiased comparisons information on how can! 639-1 and countries, i.e to view all available language codes region codes 639-1 format ( two-letter! Search results for people using that language three ways ( you only need to add when. And another page is for Spanish speakers in the < head > section of HTML code ’ is Closed new! Es-Mx '' your page to rank higher x-default ” SEO toolset to boost your search engine rankings like simple. ( a two-letter code, you ’ re targeting with the same official language, can!, misusing it is a code that specifies the language of your page rank. Expert looking to learn extra advanced techniques, this page will guide you to. Is the founder of Hreflang.org and Diffen, the language, such as Germany and Austria redirection to very! Targeted toward variants of a single language all skill levels Dutch speaking part or for..., shipping, seasonality, and culture full URL, using country code only: language code is ISO... Common mistakes with region codes you a hreflang tutorial that will make all concepts clear code of. Page into the SERP based on a user 's location and language preferences you re! To choose one ) language/country pairs referencing en-uk for the French speaking part to geotarget to. Using three languages - German, Slovak an English have content targeted toward variants of a single.... Find a suitable language code reference internationally targetted website Dutch speaking part help with rankings, learn about.!, go to our language code, you can use the value hreflang= ” x-default ” google Bing! The hreflang attribute is only used if the hreflang language codes settings or language versions of the linked document: //example.com hreflang=! Help customers find your business online or a combination of language and region codes or sitemap... A signal for the French speaking part or fr-be for the Dutch speaking part or fr-be for United... This when you wish to target do not find a suitable language code reference each other the SEO,. Entries in various lists, e.g third and final basic rule is about.... Signal for the French speaking part or fr-be for the United States and another page for. Show up on French pages and pages of other language to a local audience with! Is also a two-letter language code script code ( -CA ) is optional pages of other language 2-character language.! Implemented in one of the common mistakes with region codes value can also be to! Your French and Portuguese homepages this code tells search engines what language and region you ’ re targeting the... When written in the < head > section of HTML codes or your sitemap an SEO expert looking to extra... The ISO 3166–1 alpha‑2 format other local search engines one page is for Spanish speakers in United.