How should hreflang tags be set up and when are they needed?

How should hreflang tags be set up and when are they needed?

25 Jan 2024

'hreflang' tag

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 digital age, websites have become a crucial platform for businesses to showcase their brands and products. With the increasing congestion of cyberspace, standing out in search engines has become a critical issue. This is where website and SEO services come into play. This article delves into the costs, definitions, impact on websites, and ways to evaluate the effectiveness of SEO efforts, helping you to fully understand this key digital marketing strategy. What are Website and SEO Services? Website and SEO services are comprehensive services that optimize website content and structure to improve rankings on search engine result pages (SERPs). This includes not only traditional search engine optimization techniques but also aspects of website design and user experience optimization. The goal of website and SEO services is to create a website that is both user-friendly and search engine-friendly, thereby attracting valuable traffic, enhancing brand visibility, and ultimately increasing sales and conversion rates. The Impact of Website and SEO Services on Your Website Increased Visibility: Professional website and SEO services can help your website achieve higher rankings in search results, increasing exposure to potential customers. Traffic Growth: High rankings mean more users will visit your website, significantly increasing website traffic. Website and SEO services can help you attract a larger target audience. Enhanced Brand Recognition: Ongoing efforts in website and SEO services can improve brand awareness and recognition in your target market. Improved Conversion Rates: An optimized website offers a better user experience, leading to higher user engagement and conversion rates. Reduced Advertising Costs: Compared to pay-per-click (PPC) advertising, website and SEO services are a more sustainable and cost-effective way to generate traffic. The Cost of Website and SEO Services…

SEO writing, also known as search engine optimization writing, is a specialized form of writing designed to enhance a website’s ranking on search engines. By making it easier for search engines to recognize and prioritize the site, organic traffic to the web page increases. The primary objective of SEO writing is to blend user search patterns and keywords with a well-structured layout of relevant terms, ensuring the content is valuable to readers and search engine friendly, thereby attracting more visitors. SEO Writing vs. Content Writing: What’s the Difference? While SEO writing and content writing are closely related, they have distinct goals and approaches. Here are some key differences between them: Feature SEO Writing Content Writing Goals To improve the website’s ranking in search engines and attract more visitors. To create engaging, valuable, and comprehensive content that captures and retains readers’ interest. Focus On the strategic use of keywords, meta tags, internal and external linking, and other technical aspects. On storytelling, language style, emotional expression, and reader experience. Keyword Usage Requires the strategic placement of keywords in titles, body text, meta tags, and other areas. Keywords are used, but the emphasis is on the content’s natural flow and readability. Structure and Formatting Typically adheres to specific formats, such as title tags, lists, subheadings, etc., to enhance search engine readability. The format may be more flexible, with a greater focus on creativity and diversity. Audience and Search Engines Must satisfy both search engine algorithms and reader needs. Primarily focuses on reader requirements and interests. Optimization Level Involves more frequent keyword research and optimization. Emphasizes the originality and uniqueness of the content. Link Strategy Uses internal and external links strategically to boost the…

In today’s rapidly evolving business landscape, digital marketing services for small business have become not just an option, but a necessity for survival and growth. Small businesses across various industries are increasingly recognizing that effective digital marketing services can level the playing field, allowing them to compete with larger corporations while maintaining their unique market position. What is Digital Marketing Services? Digital marketing services for small business encompass a wide range of online marketing strategies and tools designed to help businesses establish their presence, attract customers, and grow their revenue in the digital space. These services have become particularly crucial as consumer behavior continues to shift towards online channels, making it essential for small businesses to adapt and evolve. The Importance of Digital Marketing Services for Small Businesses The significance of digital marketing services for small business cannot be overstated. In an era where consumers primarily search for products and services online, having a strong digital presence is crucial for: Increasing visibility and brand awareness Reaching targeted audiences effectively Creating cost-effective marketing campaigns Measuring and analyzing marketing efforts Competing with larger businesses Building lasting customer relationships Core Elements of Digital Marketing Services Search Engine Optimization (SEO) SEO remains one of the most crucial digital marketing services for small business success. It involves optimizing your online presence to rank higher in search engine results, making your business more visible to potential customers. Keyword Research Effective keyword research helps identify terms and phrases that potential customers use when searching for products or services. This foundation of SEO strategy enables small businesses to create content that matches user intent and drives organic traffic. Mobile Optimization With the majority of searches now performed on…

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…