Magento 2 Alternate Hreflang Tags

100% of 100
£125.99 £104.99
Compatible with Magento 2 community and enterprise 2.3.3 - 2.4.x including cloud edition

Magento 2 Alternate Hreflang Tags is an essential extension for multi-lingual and multi-regional stores. It automatically generates hreflang tags in Magento 2 to avoid duplicate content issues and serves the right website to the right audience. Make your store reach out to the global customers. With the help of this extension, you can easily enable hreflang tags for products, categories, and CMS pages for your Magento eCommerce website.

  • Generate Alternate Hreflang Tags for Product, Category and CMS pages
  • General targetting with X-default
  • Serve the right content to the right users
  • Add both country & language code in Hreflang tags
  • Improves SEO and boosts page ranking

Free Support

up to 60 days

Free Upgrades

up to 1 year

Fully open source


5 Great product and service!
This product works perfect for our multilingual website setup so we would definitely recommend this product to site owners with similar setup. Also the service provided by extension developer was great. They were quite professional!
5 Just works!
We have installed this module on our France and UK websites on Magento 2.3.2 version and it is showing results as we expected. Support was great as well!
Composer Package name:
Latest Version:

Product description

Magento 2 Multilingual Alternate Hreflang SEO Tags

Compatible with Magento 2 community and enterprise 2.3.3 - 2.4.x including cloud edition


Why is it necessary to use Hreflang attribute?

Hreflang attribute is a way to mark up the pages that have same or similar content in multiple languages.
It helps search engines to understand how to handle multilingual or multi-region websites which leads to increase in conversions and decrease in bounce rate.

Hreflang attribute is mainly used to address below issues:

  • Duplicate content issue because of targeting different international markets with the same language
  • Duplicate content issue because of targeting different international markets with different languages
  • Targeting issues owing to targeting a country market with different languages


What is the Role of Hreflang in SEO?

When searching something on search engines, the search results greatly depend upon the location and the search language of the user. If one person searches for something in a language then obviously they would not want to see the results in a different language. This causes one version of the page to rank higher than others. Also due to the same content in all pages with different languages causes duplicate content issues where search engines tend not to index duplicate content hugely affecting the page rankings. With the help of Magento 2 Hreflang Tags, you can explicitly tell search engines such as Google about the localized version of pages i.e based on Language/Region.


Why do I need an Hreflang Extension in Magento 2?

Hreflang attribute is a problem that many people are facing. Its very important that the tags are implemented correctly on your site.
With the help of this extension you can automatically generate Hreflang tag for Products/Categories/CMS pages and can avoid duplicate content issues. A priority is set to pick the URL for hreflang. The highes priority is given to the override canonical URL if this is set for any product/category/CMS page then this URL will be picked in the hreflang. The second highest priroity is given to the primary category. If the primary category is set and no override canonical URL is set then this URL will be picked in the hreflang. Lastly, if none of these two is set then the default path is included in the hreflang tag. It is developed as per the guidelines defined by Google to avoid any implementation issues.



"I want to add Hreflang Tags on category, cms, and product pages of my Magento 2 store. However, my store has a multi-website structure and some of these websites have various store views, for instance, retail, Germany, France, etc. For some of these websites and store views, I want to let search engines know that these websites are not targeting any specific language or region i.e add Hreflang X-Default in selected store views or websites. How can I achieve this using your extension?"

X-Default Hreflang attribute tells search engines that this page is not targeting any specific region/language. Our extension provides you a configuration by which you can set X-default for a particular store view. Navigate to Admin>Stores>Configuration>Scommerce Configuration>Hreflang. Click on the X-default option and choose the storeview you want to set as x-default from the dropdown menu.


"My Magento 2 store is available across 20 countries globally. Since the same pages are appearing only in different languages it is causing the duplicate content issue. It is also affecting the SEO of our store. As I understand this extension adds Hreflang Tags across different pages. My inquiry was using your extension can I send the specific locale and the language information with the Hreflang tags. If yes, what countries and languages are supported."

Our extension lets you choose specific languages and locales depending upon your requirements. Selected locales with the preferred language will be automatically added as Hreflang attribute tags. The extensions covers almost all major languages and a huge number of countries. To select specific counties or language go to Admin>Stores>Configuration>Scommerce configuration>Hreflang.You can select preferred language from the Select Language dropdown. Make sure to toggle Add Country to “yes” if you want to add various tags with different locales(countries). Please refer to the image below:-

Here are the main features of this module-:

  • It allows you to add both language and country codes with hreflang tags
  • It adds Hreflang Tags for Products, Categories, CMS Pages
  • It automatically assigns URL for Products/Categories/CMS pages based on priroity as follows:- Override canonical URL>Primary Category>Default Path. 
  • It provides you an option to Set a X-Default Store
  • It allows you to generate Hreflang Tags at Website or Global Scope
  • It provides you an option to select current or a desired country
  • It enhances your SEO
  • It serves the right content to the right users
  • It increases conversion rate and boost you sale
  • It helps you to target consumers based on their country
  • Support multi-store enviornment
  • It resolves duplicate content issues
  • User- friendly admin interface
  • Ability to enable/disable this module from the admin configuration
  • Easy to install and manage

We provide 60 days free support and 12 months of free upgrade from the date of purchase for any standard Magento site. Installation service is also available with a minimal charge of £70 for any standard Magento Site. Additionally, you can buy our 12 months free premium support and free lifetime upgrade for just £70. If you need any help with this extension or you want to enhance this extension to meet your business needs, please contact and we will get in touch with you within 48 hours. And if we like your idea we might do the solution at a discounted rate or for free.

** Please refer to our FAQ or T&C section for running our extensions on multiple domains or sub-domains


Frequently Asked Questions

Q: What are hreflang tag attributes?
A: 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.
Q:I have multi websites and various store views. Can I add x-default on multi-website or various store views?
A: Yes, it adds x-default on both global and website scope i.e you can add x-default on multi websites or multiple store views. In the back-end, we have provided options for both the scope. The website Hreflang Urls will work within one website and global Hreflang Urls will work across multiple websites.hreflang scope
Q: Can I set the X-default store view for the users ?
A: Yes, you can. Please refer our user guide for more details. x-default store views
Q: How can I add Hreflang tags For CMS Pages?
A: You can add Hreflang tags for CMS pages by simply toggling the option from configuration. Go toAdmin -> Stores -> Configuration ->Scommerce Configuration->Hreflang -> General-> "Enable Hreflang Tags For CMS Pages": With “Yes/No” options. If set to “Yes” then it will enable Hreflang tags for the CMS pages. hreflang tags for cms pages
Q: How can I add Hreflang tags For Product Pages?
A: To add Hreflang tags for product pages go toAdmin -> Stores -> Configuration ->Scommerce Configuration->Hreflang -> General-> "Enable Hreflang Tags For Products": With “Yes/No” options. If set to “Yes” then it will enable Hreflang tags for the CMS pages.hreflang tags for product pages
Q: How can I add Hreflang tags For Category Pages?
A: To add Hreflang tags for category pages go toAdmin -> Stores -> Configuration ->Scommerce Configuration->Hreflang -> General-> "Enable Hreflang Tags For Categories": With “Yes/No” options. If set to “Yes” then it will enable Hreflang tags for the CMS pages.hreflang tags for category pages
Q: How can I select the custom language ?
A: To select your preferred language go to Admin>Stores>Configuration>Scommerce configuration>Hreflang>Language and Country settings then Select Language.hreflang select language
Q: Can I select specific Countries to send with the hreflang Tags?
A: Yes, you can by going into Admin>Stores>Configuration>Scommerce Configuration>Hreflang>Language and Country Settings. Select Add Country to "yes" then choose countries from the Select Country section. hreflang select countries
Q. How can I get license key for my development website?
A. If you want to get the license key for the developer website, please contact our team at along with order number and development site URL. The developer website can be on a separate Magento installation than your base domain for which the license was purchased
Q. Can I test the extension before buying?
A. Unfortunately we can't provide you extension for testing purposes but we have demo available for most of our extensions and happy to provide full refund if the extension doesn't work
Q. Can I request for customisation on your extensions?
A. Yes we do provide all sort of customisation for our clients at the reasonable rates. And if we believe the customisation will help our product then we also provide great discount on the customisation
Q. I have two live domains, do I need a separate license key for each live domain?
A. Yes you need to buy a separate license key for each live domain ( or sub-domain ( or subfolder ( If you are buying licenses for more than four live sites in one transaction then we can offer you 30% discount on total amount
Q. How can I upgrade my extension to the latest version?
A. If your extension is within the free upgrade period (12 months from purchased date) then simply email us with your order number and our team will send you the latest version of the extension but if it is outside free upgrade period then you need to buy an upgrade using the following link

Once you received the latest version of our extension then we would highly recommend to delete all the files and folder of our extension from your website first before uploading the latest version because we might have removed existing files and keeping existing files could cause problems on your website.
Q. Does my license get expired after certain period?
A. No, your license is not going to get expired but we would highly recommend upgrading to get all the latest fixes (including security fixes if any), improvements and new features. In the upgrade, we also ensure it is compatible with the latest version of Magento and when you upgrade you will have a smooth transition.
Q. How can I manually uninstall your module?
A. Please follow the below steps -:

Step 1: Navigate to our store and login to your account. Then go to the My Account Section, on the left menu click on Composer Instructions.
My account section
Step 2: Next, run the config commands shown on the top of the page then click on the extension that you want to install. A composer require command will be revealed in the dropdown menu. Run the command then clear caches to complete the installation. Composer instructions

Change Log

Version 2.0.12
2022-06-14 09:34:35
Minor version fix to check if override canonical URL has full URL or not when canonical URL extension has been installed with hreflang extension
Version 2.0.11
2022-05-24 08:22:28
Added PHP 8 support along with made it compatible with our canonical URL extension.
Version 2.0.10
2022-04-21 13:27:43
Added Magento 2.4.4 support also removed hreflang tag when category or product are disabled for other sites.
Version 2.0.9
2022-03-08 09:41:02
Added feature to have hreflang for static / CMS pages which can be marked as related by adding same value in the new attribute hreflang_identifier against CMS page in admin.
Version 2.0.8
2022-01-17 13:13:07
Added feature to add full page url to x-default tag for category and product pages
Version 2.0.7
2021-09-14 12:48:04
Fixed issues related to multi-website having different url key at store view level
Version 2.0.6
2021-03-24 15:39:18
Done some code beautification and fixed PHP notice / warning related to multiple country selection.
Version 2.0.5
2021-01-13 14:32:39
Made it compatible with latest version of Magento 2.4.1
Version 2.0.4
2021-01-05 14:18:06
Added PHP 7.4 support to the module
Version 2.0.3
2020-07-15 15:26:50
Added new feature to allow multiple country selection for same website or store. Changed separator from underscore to hyphen to meet Google standard. Also added PHP 7.3 support to the module.
Version 2.0.2
2020-03-12 22:01:32
Optimised SEO base module in version 2.0.3 so changing version number with wildcard instead of hard coded value for future releases
Version 2.0.1
2019-07-04 14:19:44
Fixed minor issues
Version 2.0.0
2019-07-02 13:14:55
Fixed minor issues
Show More
Show Less

Reviews 2

Write Your Own Review
Write a Review
You may also like