One-time price excl. VAT for an unlimited number of store views.

€35.00
Rating:
98% of 100

Alternate Hreflang Tags

Configure your purchase and license below.

Links

Extend your support (Rated with 8+) and/or Composer access. After this period you always keep access to the latest version as a .ZIP package through your account.

Check out the configuration guides to learn more about this extension.

Do you want to reach a larger market with your Magento webshop by targeting multiple language areas/regions? Then it is wise to add hreflang tags to your website.

Google can use hreflang tags to see which country and/or region your webpage is intended for. That way, Google can show the correct version of your webpage in the search results based on the user's location and language settings.

Using hreflang tags increases the user-friendliness for your visitors. Via Google they arrive at the web page that is intended for their language/region. This simultaneously increases the conversion and turnover of your webshop.

The Hreflang Tags extension for Magento 2 is a turnkey solution to easily add hreflang tags to your Magento webshop.

The advantage of hreflang tags

In 2011, Google introduced the hreflang tag as a technical solution for websites containing similar content in different languages ​​and/or targeting different regions. The hreflang tag is a piece of code in the source of the page that specifies the language and/or region for that particular page in combination with the alternative URLs that are available.

Thanks to the hreflang tag, Google can redirect visitors via the search results to the correct web page for their language and/or region.

The Hreflang Tags extension for Magento 2 automatically adds the appropriate hreflang tags to the web page if multiple language and/or region specific versions are available. This extension improves your user-friendliness and SEO strategy, without the need for manual coding.

Example

You have a Magento webshop that focuses on 3 different markets: the Netherlands, Flanders and the international market. You have set up 3 subdomains for this. You sell product A on these 3 subdomains, where the product page varies per region/language:

  • https://nl.mymagentostore.com/product-A: a Dutch product page aimed at users in the Netherlands
  • https://be.mymagentostore.com/product-A: a Dutch-language product page aimed at Dutch-speaking users in Belgiumë (Flanders)
  • https://en.mymagentostore.com/product-A: an English product page aimed at the international market

The Hreflang Tags extension for Magento 2 automatically adds the following hreflang tags to each of the 3 product pages:

<link rel=”alternate” hreflang=”nl-nl” href=”https://nl.mymagentostore.com/product-A” />

<link rel=”alternate” hreflang=”nl-be” href=”https://be.mymagentostore.com/product-A” />

<link rel=”alternate” hreflang=”en” href=”https://en.mymagentostore.com/product-A” />

Google sees these hreflang tags and understands that product A is offered on 3 different product pages for 3 different markets. Based on the user's location and language settings, Google can now direct the user to the correct web page in the search results.

Using hreflang tags

Want to reach multiple markets in different languages? Then you will have to translate the web pages of your webshop into those languages.

But even if you want to reach multiple markets where people speak the same language, it can be wise to adapt the content to the specific region of the user.

That way you can offer different content that is region-specific on points such as:

  • Shipping costs
  • Currency
  • Local VAT
  • Texts (other content/spelling)

For example, if your webshop focuses on the Dutch and English market, you could create different web pages that target different regions with the following hreflang tags:

  • “nl-nl” for the Netherlands
  • “nl-be” for Belgiumë (Flanders)
  • “EN-us” for the United States
  • “EN-gb” for the United Kingdom
  • “EN” for English speaking users outside US/UK

With hreflang tags you can apply targeted geo-targeting for your webshop and split your content by language and region. This way you help Google to show the right search results to users based on their language and location. This is user-friendly for your visitors and provides you with more turnover with your webshop.

The Hreflang Tags extension for Magento 2 automatically adds the appropriate hreflang tags to the web page if multiple language and/or region specific versions are available. This improves your usability and SEO strategy, without the need for manual coding.

Hreflang tags for CMS pages

The Hreflang Tags extension and Magento can recognize the different URLs of the products and categories. But CMS pages are not linked to each other within Magento.

For CMS pages, we have made it possible to categorize and link them together as an alternative language page.

For example, three store views with three different contact pages can be created and linked together:

  • [storeview] mymagentostore.nl - identifier: contact-contact
  • [storeview] mymagentostore.com - identifier: contact-us
  • [storeview] mymagentostore.de - identifier: contact

By categorizing these store views, the correct hreflang tags are automatically added to each web page.

Features Back to Top
Release Notes Back to Top

1.3.5.0, release date: 12-11-2021

Changes:

  • Refactored header template file for cleaner output without extra line endings / indents

Minimum requirements:

  • Magento 2.2.x & PHP 7.x

1.3.4.0, release date: 14-05-2021

Fixes:

  • Fixed ACL role for config settings

Minimum requirements:

  • Magento 2.2.x & PHP 7.x

1.3.3.0, release date: 12-04-2021

Changes:

  • Get category url from UrlRewrite for better performance when using lots of storeviews

Minimum requirements:

  • Magento 2.2.x & PHP 7.x

1.3.2.0, release date: 23-12-2020

Changes:

  • Added fallback on getting product url by store id for faulty records in url_rewrite table

Minimum requirements:

  • Magento 2.2.x & PHP 7.x

1.3.1.0, release date: 14-12-2020

Changes:

  • Updated version check in Admin
  • Fixed compilation issue in Magento 2.2 and lower

Minimum requirements:

  • Magento 2.2.x & PHP 7.x

1.3.0.0, release date: 22-10-2020

Changes:

  • Added compatibility for Amasty Shop By Brand
  • Moved all config options to config repository interface
  • Coding styles and check on exclusive canonicals

Minimum requirements:

  • Magento 2.2.x & PHP 7.x

1.2.1.0, release date: 08-09-2020

Changes:

  • Changed alternate hreflang url getter

Minimum requirements:

  • Magento 2.2.x & PHP 7.x

1.2.0.0, release date: 10-08-2020

Features:

  • Refactoring of code
  • Added extensive self-test function
  • Added extensive error log function
  • Added extensive debug log function
  • Added compatibility for Magento 2.4

Fixes:

  • Fixed simple prices for configurable offer markup

Minimum requirements:

  • Magento 2.2.x & PHP 7.x

1.1.7.0, release date: 31-05-2020

### Fixed - Check if product is linked to store

1.1.6.0, release date: 28-02-2020

### Changed - Perfomance enhancements

1.1.5.0, release date: 09-09-2019

### Fixed - Issue with app emulation for product urls - Better check on _ignore_category in product urls ### Changed - Code refactor

1.1.4.0, release date: 11-07-2019

### Fixed - Stores with different base category could result in wrong urls - Current url on category pages

1.1.3.0, release date: 21-06-2019

### Added - Compatibility for Amasty Shopby ### Fixed - Minor fixes

Review Back to Top
Write Your Own Review
Only registered users can write reviews. Please Sign in or create an account