Martin Kura works with B2B SaaS teams to clarify growth priorities using search and market data. His background spans 16+ years in international SEO, multilingual content, and cross-cultural marketing.
Is your organization struggling to find the right marketing talent? You might think the job market is to blame, but the real culprit could be closer to home. In this post, we delve into why marketing hires often fail and how your organization may be contributing to the issue.
Using fundamental tools that still deliver impressive results
SoftLi is a technology startup specializing in Manufacturing Execution System (MES) software. This MES solution offers real-time monitoring of production efficiency 24/7. Our primary audience includes manufacturing companies, specifically their technology and production directors. Our approach is purely B2B.
I have decided to have a look into the existing Hreflang tools and find their pros and cons. Here is an overview of all the Hreflang generators or analyzers which I consider the best.
Is a .COM domain really the best choice for international targeting? Can a local TLD rank as well abroad as at home? Can a domain rank well internationally even when we don’t use ccTLDs?
How does Baidu deal with international websites? Well, in reality, Baidu favors local websites in Mandarin Chinese and doesn’t bother with multilingual or multinational websites much. However, there are ways to tell Baidu where the intended audience for each version of your website is.
Update 7/4/2026: This article includes information about setting a geographic target in Google Search Console, a feature that is no longer available. For current methods of country targeting, see the “Alternatives to the Geographic Target” section below.
Hreflang is an HTML attribute used to specify the language and geographical targeting of a webpage. It’s essential for multilingual websites to guide search engines to serve the correct language or regional URL in search results.
I have put together a list of codes (values) which you can use for creating Hreflang header attributes for your multi-lingual or multi-regional website
Select Language or Country Codes in the tabs below
Europe or EU is not a country, so it’s not in the list of countries. You can either target European users using language targeting only (e.g. English/EN) or target individual countries in Europe (e.g. en-GB). There should be, however, one website version per targeting.
UK / Great Britain
Country code for the UK is not “UK” as it stands for Ukrainian. Correct country code for the UK is “GB”.
ES-ES
This language-country code targets Spanish speaking users in Spain. If you want to target Spanish speakers worldwide, just use the language code “es” solely.
AR-AR
This targets Arabic speakers in Argentina. If you want to target Arabic speakers worldwide, just use the sole language code “ar”. If you target Arabic speakers in Saudi Arabia, you need to use this code: “ar-SA”.
Hreflang Header Code Generator
Sent straight to your inbox – just follow these steps:
How does a hreflang code list help with Hreflang implementation?
How does Hreflang work for only one language?
What can cause Hreflang conflicts within the page source code?
Can I use Ahrefs to generate my Hreflang tags?
How is Hreflang used in HTML+?
Which is the Hreflang tag for English in Australia?
How is Hreflang used in Canada?
What does the ‘Document has a valid Hreflang’ error mean?
What’s the difference between HTML lang and Hreflang?
What country does the ‘es’ language code refer to?
How can I find all country codes?
How to fix the ‘no self-referencing Hreflang’ issue?
What is the country code for Wales?
How can I fix Hreflang tags with errors?
How does a hreflang code list help with Hreflang implementation?
Simply by using the correct Hreflang codes you’ll avoid common targeting mistakes which can be very costly.
How does Hreflang work for only one language?
If a website is targeted at speakers of a specific language, the Hreflang attribute can be used to specify that language. It informs search engines about the language, helping them serve the content to the right audience.
What can cause Hreflang conflicts within the page source code?
Hreflang conflicts can arise from incorrect implementation, such as having multiple entries for the same language or region, missing self-referencing tags, or using incorrect language codes. You resolve it by adding a self-referencing Hreflang tag which is mandatory. You can use some of the Hreflang generators.
Can I use Ahrefs to generate my Hreflang tags?
Yes, Ahrefs’s Site Audit Tool includes checks for the correct Hreflang implementation under the section “Hreflang links”.
How is Hreflang used in HTML+?
Hreflang in HTML+ is utilized similarly to standard HTML. It helps define the language and region for a specific page, guiding search engines to serve the appropriate version of the content.
Which is the Hreflang tag for English in Australia?
The Hreflang tag for English in Australia is “en-AU.” It directs search engines to serve that specific version of the page to users seeking English content in Australia.
How is Hreflang used in Canada?
In Canada, Hreflang can be implemented using either “en-CA” for English or “fr-CA” for French, reflecting the country’s two official languages.
What does the ‘Document has a valid Hreflang’ error mean?
This error message means that the Hreflang tags are correctly implemented on the page. It’s an indication that the specified language and regional targeting are set up correctly.
What’s the difference between HTML lang and Hreflang?
While both are used to specify language, the “lang” attribute defines the language of content on a specific page, while Hreflang helps search engines understand the language and regional targeting of a webpage.
What country does the ‘es’ language code refer to?
The “es” language code refers to Spanish. It’s not tied to a specific country but denotes content written in Spanish.
How can I find all country codes?
You can find a comprehensive list of country codes on websites that maintain and publish the ISO 3166 international standard.
How to fix the ‘no self-referencing Hreflang’ issue?
Fixing the ‘no self-referencing Hreflang’ issue involves adding a self-referencing Hreflang tag to each page. This tag informs search engines that the page is also targeted at the same language and region as specified.
What is the country code for Wales?
Wales doesn’t have a separate country code as it is part of the United Kingdom. The country code for the United Kingdom, including Wales, is “GB.”
How can I fix Hreflang tags with errors?
Fixing Hreflang errors involves identifying the issues, such as incorrect language codes or missing self-referencing tags, and correcting them. Various online tools can help identify and resolve these errors.
I use cookies to store and/or access your device information like everyone else. When you hit accept, you allow me to process your data such as browsing behaviour, your unique ID. I may also come down, knock on your door and sing a Christmas song. Or trick or treat you. When you disagree or withdraw your consent, some features and functions of my website and beyond may not work properly. And that would make me very sad in my heart.
Functional Always active
Enable core website features like language preferences and user logins. Without these, the site may not work properly.
Předvolby
Technické uložení nebo přístup je nezbytný pro legitimní účel ukládání preferencí, které nejsou požadovány odběratelem nebo uživatelem.
Stats
Help me understand how visitors interact with the site by collecting anonymous data—used to improve performance and usability.Technické uložení nebo přístup, který se používá výhradně pro anonymní statistické účely. Bez předvolání, dobrovolného plnění ze strany vašeho Poskytovatele internetových služeb nebo dalších záznamů od třetí strany nelze informace, uložené nebo získané pouze pro tento účel, obvykle použít k vaší identifikaci.
Marketing
Track user activity across websites to deliver more relevant ads and measure the effectiveness of marketing campaigns.