How should hreflang tags be set up and when are they needed?
25 Jan 2024
With globalization, many websites have started to launch multilingual versions to better serve users in different countries. To make these multilingual websites more effective in search engine results pages in different regions, using hreflang tags becomes very important. So what are the benefits of setting up hreflang tags, and what impact would there be if hreflang tags are not set up? How should hreflang tags be configured under different circumstances? Let’s continue reading with these questions in mind.
What are the benefits of websites setting up hreflang tags?
● Improves SEO issues with multilingual websites, allowing search engines to more accurately understand the language versions of a website, which helps improve rankings for multilingual websites.
● Improves user experience issues by allowing search engines to provide users with versions more suitable to their language preferences.
● Avoids duplicate content issues. By clearly defining the relationships between language and regional versions using hreflang tags, search engine penalization due to duplicate content can be avoided.
What are the disadvantages if a website does not set up hreflang tags?
● If a website does not set up hreflang tags, it would have the following disadvantages:
● Risks search engines identifying duplicate content or mirrored pages.
● Inability to properly understand the website’s language structure.
● Degraded user experience.
Let’s first take a look at Google’s official recommendation for multilingual websites as shown below:
It is recommended from both an SEO and user perspective to use region-specific URLs in the format example.com/de/. Why choose this format? Firstly, it reduces SEO optimization complexity across sites. Secondly, customers only need to maintain one domain name, greatly reducing human resource needs.
Reminder: Do not use IP analysis to adjust content. IP geolocation analysis is difficult to implement and is often unreliable. In addition, Google may be unable to properly crawl website variants. Most (not all) Google crawls originate from the US and we do not attempt to alter location information to detect website variants. Hreflang tags should not be used if IP delivery is needed.
Before setting up hreflang tags, you need to understand language and region codes. The hreflang attribute consists of one or two values separated by a hyphen, e.g. zh-CN. The first code in hreflang is the language code (using ISO 639-1 format), followed by the second code representing the region of the alternate website (using ISO 3166-1 alpha 2 format). This means: Chinese-China.
A practical case study for implementing hreflang tags is as follows:
Customer Case 1: Different regions use subdomains
Different countries and regions use local languages and subdomains to display content. This approach is not optimal for SEO and requires maintaining 6 domain names for the website.
https://cn.domain.com/
https://de.domain.com/
https://jp.domain.com/
https://es.domain.com/
https://kr.domain.com/
Recommended to change to:
https://www.domain.com/zh-cn/
https://www.domain.com/de-de/
https://www.domain.com/ja-jp/
https://www.domain.com/es-es/
https://www.domain.com/ko-kr/
hreflang tags set up as follows:
<link rel="alternate" hreflang="x-default" href="https://www.domain.com/" />
<link rel="alternate" hreflang="en-US" href="https://www.domain.com/" />
<link rel="alternate" hreflang="zh-CN" href="https://www.domain.com/zh-cn/" />
<link rel="alternate" hreflang="de-DE" href="https://www.domain.com/de-de/" />
<link rel="alternate" hreflang="ja-JP" href="https://www.domain.com/ja-jp/" />
<link rel="alternate" hreflang="es-ES" href="https://www.domain.com/es-es/" />
<link rel="alternate" hreflang="ko-KR" href="https://www.domain.com/ko-kr/" />
Customer Case 2: If the customer can afford to maintain 7 domain names, subdomain names can be retained. With retained subdomains, hreflang tags can be modified as follows:
<link rel="alternate" hreflang="x-default" href="https://www.domain.com/">
<link rel="alternate" hreflang="en-US" href="https://www.domain.com/">
<link rel="alternate" hreflang="zh-CN" href="https://cn.domain.com/">
<link rel="alternate" hreflang="de-DE" href="https://de.domain.com/">
<link rel="alternate" hreflang="ja-JP" href="https://jp.domain.com/">
<link rel="alternate" hreflang="es-ES" href="https://es.domain.com/">
<link rel="alternate" hreflang="ko-KR" href="https://kr.domain.com/">
Customer Case 3: If the website only needs to retain one language, with differences in shipping fees or product descriptions between regions, hreflang tags can be set up as follows:
<link rel="alternate" hreflang="x-default" href="https://www.domain.com/" />
<link rel="alternate" hreflang="en-US" href="https://www.domain.com/" />
<link rel="alternate" hreflang="en-DE" href="https://www.domain.com/en-de/" />
<link rel="alternate" hreflang="en-JP" href="https://www.domain.com/en-jp/" />
<link rel="alternate" hreflang="en-ES" href="https://www.domain.com/en-es/" />
<link rel="alternate" hreflang="en-KR" href="https://www.domain.com/en-kr/" />
Customer Case 4: With different subsidiaries in different regions, using local domain suffixes like .com / .hk / .au / .sg, set up can refer to the following (using .com domain name as example):
<link rel="alternate" hreflang="x-default" href="https://www.domain.com/" />
<link rel="alternate" hreflang="en-US" href="https://www.domain.com/" />
<link rel="alternate" hreflang="en-HK" href="https://www.domain.hk/" />
<link rel="alternate" hreflang="en-AU" href="https://www.domain.au/" />
<link rel="alternate" hreflang="en-SG" href="https://www.domain.sg/" />
The above setups demonstrate the importance of properly configuring hreflang tags for multilingual websites. It can improve SEO effectiveness and provide users with a better experience. For businesses with cross-border ecommerce or overseas market needs, building multilingual websites for global users is very necessary. Properly implemented hreflang tags allow your website to be better searched and identified by search engines and international users globally.
At this point, do not forget to also adjust the sitemap format, below is the setup when using a multilingual, multi-region sitemap format:
More Blogs
Featured Articles
In the context of global climate change and sustainable development, renewable energy has become a top priority in national energy strategies worldwide. As the world’s largest manufacturer and exporter of renewable energy equipment, China plays a crucial role in this field. However, Chinese companies still face challenges such as insufficient brand awareness and limited market channels in the international market. Search Engine Optimization (SEO), as a powerful digital marketing tool, is becoming a key force in driving the export of Chinese renewable energy equipment. This article will delve into how SEO can help Chinese renewable energy equipment companies go global and enhance their competitiveness in the global market. Renewable Energy Equipment Market Analysis In recent years, renewable energy equipment such as solar panels and wind turbines have made significant technological progress, with increasing efficiency and decreasing costs. According to data from the International Renewable Energy Agency (IRENA), global renewable energy capacity additions reached a record high of 260 gigawatts in 2020, with solar and wind energy dominating. China, as a major manufacturer and exporter, holds a significant position in the global market. In 2020, China’s photovoltaic module exports reached 78.8 gigawatts, accounting for 67% of the global market share, while wind power equipment exports also maintained strong growth. However, as global market competition intensifies, Chinese companies need to more actively explore international markets and enhance their brand influence. This is where SEO plays a crucial role. SEO and Global Market Access SEO can help Chinese renewable energy equipment manufacturers establish brand awareness globally and increase their visibility in search engine results. Through carefully designed SEO strategies, companies can: Improve website rankings in international search engines, increasing exposure to target customer…
In today’s globalized economic environment, the machinery equipment export industry faces unprecedented opportunities and challenges. With the rapid development of internet technology and the increasing digitalization of global trade, Search Engine Optimization (SEO) has become a crucial strategic tool for enhancing online visibility and expanding international market share. This article will delve into how SEO can help machinery equipment export companies improve their global competitiveness and how to effectively implement SEO strategies to achieve long-term sustainable growth. Current State of the Machinery Equipment Export Industry Industrial machinery, construction equipment, and agricultural machinery constitute the main categories of machinery equipment exports. These products are in widespread demand globally, especially in emerging market countries where demand for various types of machinery equipment shows a steady growth trend as their industrialization and urbanization processes accelerate. However, machinery equipment export companies also face numerous challenges, such as intense international competition, trade barriers, exchange rate fluctuations, and differences in technical standards. Against this backdrop, how to stand out in the global market has become an urgent issue for machinery equipment export companies. Traditional marketing methods can no longer meet the needs of current global buyers, who increasingly rely on the internet to search for suppliers, compare products, and make purchasing decisions. Therefore, improving a company’s visibility in search engine results has become crucial. The Importance of SEO SEO is a technique that optimizes website content and structure to improve a site’s ranking in search engine organic search results. For machinery equipment export companies, implementing effective SEO strategies can bring multiple benefits: Increase brand awareness: By ranking high in relevant search term results, companies can increase their brand exposure. Attract targeted traffic: SEO can help companies…
In today’s digital business environment, companies are faced with a variety of online marketing options. Google SEO and B2B platforms such as Alibaba International Station and Amazon, although both aimed at enhancing a company’s online visibility and sales performance, have significant differences in strategy, objectives, effectiveness, and data analysis. Differences in Targeting Google SEO focuses on improving a company’s ranking in Google search results through website optimization to attract more organic traffic and enhance brand awareness. In contrast, B2B platforms aim to increase product visibility and sales volume on the platform through internal search optimization, promotional tools, and store hosting services. The focus of Google SEO optimization lies in website structure, high-quality content creation, and precise keyword layout to enhance search engine indexing and ranking. B2B platform SEO, on the other hand, emphasizes providing detailed business information, including product details, pricing, purchasing specifications, and transaction terms, while leveraging platform features such as Alibaba’s one-click mass distribution function to attract the attention of buyers. Sustainability of Effects and Return on Investment The results of Google SEO are long-term, requiring continuous website maintenance and content updates from companies. Once the website achieves a higher ranking in search results, it can bring stable traffic and brand exposure to the company. Compared to this, the effectiveness of B2B platforms depends on platform promotion activities and paid services, such as Alibaba’s P4P services, which usually require additional cost investment. Google SEO accumulates the company’s own traffic and customer resources, helping to build a private traffic pool for the company. B2B platforms, however, are more about building traffic and customer relationships within the platform. Depth and Quantifiability of Data Google SEO provides a wealth of data…
In the fiercely competitive world of e-commerce, Search Engine Optimization (SEO) has become a key strategy for increasing website visibility and boosting sales figures. For merchants using the Shopify platform, understanding and implementing effective SEO strategies for Shopify sites is crucial. This article will explore how to optimize a Shopify website for SEO and focus on nine key areas of optimization. The essence of SEO is to improve a website’s content and structure to enhance its ranking in search engines, thereby attracting more organic traffic. Shopify, as a feature-rich e-commerce platform, offers many built-in SEO features, such as customizable URLs and automatic site map generation, which greatly facilitate merchants in setting up SEO for their websites. However, despite these basic functionalities, from an SEO expert’s perspective, Shopify’s code architecture is not particularly SEO-friendly in some aspects. Therefore, to achieve SEO optimization for a Shopify website, more detailed attention is required. Keyword Analysis and Selection The first step in SEO is the analysis and selection of keywords. It is recommended to use tools such as Google’s Keyword Planner to identify high-traffic keywords related to your products and integrate them skillfully into product titles, descriptions, and blog content. Landing Page Optimization Landing page optimization is crucial for the SEO of any website, including Shopify sites. Based on SEO keywords, select pages with high relevance and ensure that each product page has unique, descriptive content, including keywords. Also, optimize the URL structure to be concise and keyword-rich, which can greatly improve search engine indexing efficiency. Improving Website Compatibility and Security Compatibility means that the website should display consistently across different devices and platforms. At the same time, improve the website’s loading speed and…
In the digital age, having a website that is easily discoverable by both users and search engines is crucial. Search Engine Optimization (SEO) is key to ensuring that your website’s content is properly indexed and ranks well in search results. This article will provide a comprehensive set of SEO strategies to help your website stand out in the competitive online world. Google optimization, as a core part of SEO, is essential for enhancing your website’s performance in search results. Effective Google optimization strategies not only improve visibility but also attract more targeted users. Implementing Google optimization requires a holistic consideration of all aspects of a website, including content quality, technical implementation, and user experience. Successful Google optimization requires ongoing efforts and continuous optimization, as Google’s algorithms are constantly updated, and competitors are also continuously improving their SEO strategies. Therefore, staying abreast of the latest trends in Google optimization and adjusting optimization strategies in a timely manner is crucial for maintaining the competitiveness of your website. Understanding the Working Principle of Search Engines Search engines like Google use automated crawler programs to continuously explore the internet to discover new web pages. Although most websites are automatically indexed after publication, proactive SEO measures can significantly improve your website’s visibility in search results. The core of Google optimization is to understand and adapt to the working principles of Google’s search engine. Google’s crawlers regularly crawl web pages, analyze their content and structure, and then store this information in Google’s index. When users search, Google retrieves the most relevant, highest-quality results from the index based on its complex algorithms. Therefore, an effective Google optimization strategy should focus on improving the crawlability, relevance, and authority…