Alternate Hreflang Tags for Magento 2

star star star star star star star star star star Based on 13 reviews
Automatically generate accurate hreflang tags for products, categories, CMS pages, and store views with the Magento 2 Hreflang Tags Extension. Improve international SEO, support multilingual and multi-store environments, prevent duplicate content issues, and help search engines deliver the correct language and regional version of your Magento storefront.
Login to Demo Backend Browse Changelog
Links
15 day Money Back Guarantee One Time Payment
Magento Cloud Support GraphQL Support Hyvä Support Adobe Approved Private Composer Repo E2E Tests (15)
Changelog v2.4.1 | Documentation
Trusted by thousands of Magento merchants — maintained for over 7+ years and updated frequently, last: v2.4.1 on February 2, 2026.

Magento 2 Hreflang Tags Extension for International & Multilingual SEO

Automatically Send Customers to the Right Language and Country Version

International Magento 2 stores often serve customers across multiple languages, countries, currencies, and store views. Without correct hreflang tags, Google and other search engines can show the wrong page version in regional search results — confusing customers and weakening the value of your localized content.

The Hreflang Tags extension for Magento 2 automatically adds accurate alternate hreflang tags to products, categories, CMS pages, and the homepage. This helps search engines understand exactly which page belongs to which language or region, so the right version ranks for the right audience.

Built for Magento 2 merchants, agencies, and developers, the module removes the need for manual code changes and delivers a cleaner international SEO setup directly from the Magento admin.

Magento 2 Hreflang Tags extension

Products

Hreflang tags for Magento 2 products

Categories

Hreflang tags for Magento 2 categories

CMS Pages

Hreflang tags for Magento 2 CMS pages

Improve International SEO with Accurate Magento 2 Hreflang Tags

A Magento 2 store with multiple store views often targets different countries, languages, and customer groups. Without proper hreflang tags, search engines may serve the wrong version of a page to users, reducing the impact of your localized content and your international rankings.

The Hreflang Tags extension automatically adds the correct alternate URLs for products, categories, CMS pages, and store views. This gives Google clear signals about which version belongs to which language or region.

Whether you run separate stores for the Netherlands, Belgium, Germany, the United Kingdom, or a global audience, the module makes sure visitors are directed to the most relevant version of your Magento 2 storefront.

By automating hreflang generation, you strengthen international SEO, reduce duplicate content issues, and deliver a better user experience across every market.

Hreflang tags for multilingual Magento 2 stores
Automated hreflang tags in Magento 2

Automated Hreflang Tags for Every Magento 2 Page Type

The Hreflang Tags extension inserts alternate hreflang tags programmatically, so merchants never have to add them manually to Magento templates or page source code. The setup stays manageable even when your store holds thousands of products, categories, CMS pages, and store views.

For the homepage, the module uses your Magento CMS configuration to identify the correct page and add the matching hreflang references. For products and categories, the extension links alternate versions based on your connected store views.

This automated approach keeps hreflang output consistent across the entire storefront. When content exists in multiple languages or regional versions, the extension gives search engines clear signals about every available alternative.

For merchants, that means far less manual SEO work. For developers, it provides a structured Magento 2 module that follows Magento conventions instead of relying on hardcoded frontend changes.

Hreflang Tags for Magento 2 CMS Pages

Magento can map relationships between products and categories through store views, but CMS pages usually need extra structure. Contact pages, service pages, landing pages, and informational content often have different URL keys per store view.

The Hreflang Tags extension solves this by letting you group CMS pages as alternate language or regional versions. For example, you can link separate contact pages across store views such as contact-contact, contact-us, and contact.

Once grouped, the module automatically adds the correct hreflang tags to each CMS page. This gives search engines a clear relationship between localized page versions and helps customers find the right page for their language or region.

It's ideal for international Magento 2 stores that use CMS content for localized landing pages, customer service pages, regional information, or market-specific campaigns.

Magento 2 CMS page hreflang configuration
X-default hreflang support for Magento 2

X-default Hreflang Support for Global SEO

The x-default hreflang attribute acts as a fallback signal when no specific language or regional version is the best match for a user. It's essential for global homepages, language selectors, and pages that aren't targeted at a single market.

With x-default support, your Magento 2 store can tell search engines which page to show when no localized version is clearly preferred. This creates a cleaner international SEO structure and improves how users are guided from the search results to your store.

For stores serving multiple countries from one Magento installation, x-default is especially valuable when a general page should act as the default entry point. The extension adds this signal automatically, without any manual template changes.

Automatically adds hreflang tags to Magento 2 products.

Automatically adds hreflang tags to Magento 2 categories.

Connects CMS pages across store views for localized SEO.

Supports x-default hreflang fallback logic.

Reduces duplicate content issues in international stores.

Works with Magento store-view structures and localized page setups.

A Complete Hreflang Solution for Magento 2 Store Views

Managing hreflang tags manually becomes difficult the moment your Magento 2 store expands across multiple countries, languages, or store views. Every product, category, CMS page, and homepage version needs to reference the correct alternatives.

This extension delivers a complete solution for adding hreflang tags across the most important Magento page types. Instead of editing templates or writing custom code, merchants configure the logic once and let the module generate the output automatically.

The module is especially valuable for international stores where regional differences matter — shipping costs, currency, VAT rules, product availability, localized page text, or country-specific campaigns.

By connecting the right page versions, the Magento 2 Hreflang Tags extension helps search engines serve the most relevant result to every user and supports a more consistent customer experience across all markets.

Magento 2 hreflang tags for all page types

Technical Details: Who This Magento 2 Hreflang Extension Is For

The Hreflang Tags extension is configured directly in the Magento 2 admin and uses your Magento store views to determine the correct language and regional alternatives. After configuration, the module automatically adds hreflang tags to the frontend source code for every supported page type — products, categories, CMS pages, and the homepage.

Merchants never have to edit theme templates or add hreflang tags page by page. CMS page relationships can be configured so that pages with different URL keys are still treated as alternate versions of the same content. This matters for localized content pages, where Magento doesn't automatically create the same relationship structure it builds for catalog pages.

Developers benefit from a Magento-specific implementation that follows Magento coding standards and includes practical debugging options. The module suits stores using multiple store views, international catalogs, localized CMS content, and regional SEO strategies.

Store owners benefit from a clearer SEO setup, less manual work, and better control over how international customers reach the correct version of the webshop.

SEO, Visibility, and Business Impact

Correct hreflang implementation helps search engines understand which Magento 2 page to show to which audience. This improves the relevance of organic search results for international visitors and reduces confusion between similar localized pages.

For merchants, the business value is concrete: customers land on pages that match their language, region, currency, and content expectations. That supports a better user experience, lowers the risk of incorrect regional landing pages, and helps international Magento stores maintain a cleaner SEO structure across products, categories, CMS pages, and store views.

13 of many customers

Rate this plugin with 9.7 out of 10

Effective

Does exactly what it's supposed to do.
Marco |
star star star star star star star star star star

Great Product!

Works exactly as expected. A perfect addition to the standard Magento settings.
Jell | | This review has been translated from Dutch on www.magmodules.nl
star star star star star star star star star star

Simple but works smoothly

We use the Amasty layered navigation extension. Out of the box, Amasty does not have a good Hreflang tag solution. Hence, we bought this extension.

It works as it should and I am very happy with it.
Joost Eggink |
star star star star star star star star star star

Great Module

Does exactly what it’s supposed to do, with well-written code and no issues.
Tim Baltissen | | This review has been translated from Dutch on www.magmodules.nl
star star star star star star star star star star

Great Extension

This is a great piece of software, which helps us a lot to improve things ad save us time!
Kevin van der Laak |
star star star star star star star star star star

Works great!

Simpel and very effective
Pete |
star star star star star star star star star star

Great Extension

Great extension for an excellent price. Additionally, the support is fast and helpful.
Ole |
star star star star star star star star star star

Great product

This is a great piece of software, which helps us a lot to improve things ad save us time!
D. Claessens |
star star star star star star star star star star

Goed!

Meerdere keren aangekocht voor onze klanten, dekt de benodigde lading voor de benodigde href-lang tags!
Sandr |
star star star star star star star star star star

Thanks

installation fast, replies fast, just thanks.
Nick |
star star star star star star star star star star

What i was looking for

The configuration is easy and it works well, no-nonsense, just what I was looking for.
Jer |
star star star star star star star star star star

Great Extension

Thank you for this clean, simple and important module!
MSH |
star star star star star star star star star star

Top Plugin

Bedankt Magmodules voor deze eenvoudige en handige module. We hebben het zonder enige problemen gebruikt! Ga zo door met het goede werk :)
Operations | | This review has been translated from Dutch on www.magmodules.nl
star star star star star star star star star star
Load more reviews
Loading...

Knowledgebase

All familiar Help articles

A list of the most frequently asked questions from the Alternate Hreflang Tags extension for Magento 2. We've tried our best to help you with the installation, configuration and troubleshooting. If you do not find the answer you were looking for, you can always send us a message through this form.

Installation articles

arrow-circle-right Installation using Composer (recommended) arrow-circle-right Installation using the Adobe Marketplace arrow-circle-right Install through FTP and SSH

Configuration

arrow-circle-right Quick Start Guide arrow-circle-right Configuration Guide arrow-circle-right CMS Pages and Homepage Setup

Changelog 2.4.1 is released on 2 February 2026

Our plugins are regularly updated to ensure compatibility with the latest Magento release.

Version 2.4.1 2 February 2026
    Improvements:
  • Added comprehensive unit and integration test suite with CI workflow
  • Bugfixes:
  • Removed entity_type_id filters from EAV attribute queries to fix compatibility issues across installations
  • Minimum requirements:
  • Magento 2.3.x & PHP 7.4
Version 2.4.0 14 January 2026
    Features:
  • Added query parameter whitelisting, allowing specific URL parameters (such as pagination) to be preserved in hreflang URLs.
  • Improvements:
  • Improved Adobe Commerce compatibility by mapping entity_id to row_id for products and categories.
  • Added duplicate hreflang detection with logging to help identify configuration issues.
  • Improved alternate URL query handling when products are linked through an alternate category.
  • Minimum requirements:
  • Magento 2.3.x & PHP 7.4
Version 2.3.0 30 December 2025
    Features:
  • Added Manual product/category hreflang grouping option
  • Minimum requirements:
  • Magento 2.3.x & PHP 7.4
Version 2.2.1 30 September 2025
    Improvements:
  • Auto add x-default if not set in target data
  • Minimum requirements:
  • Magento 2.3.x & PHP 7.4
Version 2.2.0 9 September 2025
    Features:
  • Added support for Magefan Blog
  • Improvements:
  • Don't load frontend template is module is disabled
  • Remove UrlRewrite::METADATA from url index query for better result
  • Bugfixes:
  • Fixed Adobe Commerce support
  • Minimum requirements:
  • Magento 2.3.x & PHP 7.4
Version 2.1.0 10 June 2025
    Features:
  • GraphQL support.
  • Improvements:
  • Enhanced source model for CMS alternate categories used in inline editing.
  • Minimum requirements:
  • Magento 2.3.x & PHP 7.4
Version 2.0.0 15 April 2025
    Features:
  • Added support for PHP 8.4 and Magento 2.4.6
  • Added support for Magmodules Sitemap module
  • Refactored code for better caching
  • Minimum requirements:
  • Magento 2.3.x & PHP 7.4
Version 1.9.0 16 December 2024
    Features:
  • Added additional options to set x-default (single url vs. store-view)
  • Minimum requirements:
  • Magento 2.3.x & PHP 7.4
Version 1.8.0 7 November 2024
    Features:
  • Added support for multiple tags per storeview
  • Minimum requirements:
  • Magento 2.3.x & PHP 7.4
Version 1.7.0 15 October 2024
    Features:
  • Refactored x-default option in admin
  • Minimum requirements:
  • Magento 2.3.x & PHP 7.4
Version 1.6.0 25 September 2024
    Features:
  • Implemented extra caching layer for optimal performance on stores with a high number of store-views
  • Minimum requirements:
  • Magento 2.3.x & PHP 7.4
Version 1.5.2 17 September 2024
    Changes:
  • Fixed issue with check on debug log option
  • Minimum requirements:
  • Magento 2.3.x & PHP 7.4
Version 1.5.1 19 July 2024
    Changes:
  • Fixed issue with return type declaration when custom canonical module is used
  • Minimum requirements:
  • Magento 2.3.x & PHP 7.4
Version 1.5.1 19 July 2024
    Changes:
  • Fixed issue with return type declaration when custom canonical module is used
  • Minimum requirements:
  • Magento 2.3.x & PHP 7.4
Version 1.5.1 19 July 2024
    Changes:
  • Fixed issue with return type declaration when custom canonical module is used
  • Minimum requirements:
  • Magento 2.3.x & PHP 7.4
Version 1.5.0 5 February 2024
    Changes:
  • Added support for Firebear Configurable Products
  • Minimum requirements:
  • Magento 2.3.x & PHP 7.4
Version 1.5.0 5 February 2024
    Changes:
  • Added support for Firebear Configurable Products
  • Minimum requirements:
  • Magento 2.3.x & PHP 7.4
Version 1.5.0 5 February 2024
    Changes:
  • Added support for Firebear Configurable Products
  • Minimum requirements:
  • Magento 2.3.x & PHP 7.4
Version 1.4.0 21 September 2023
    Changes:
  • Revamped admin config
  • Remove alternate urls for stores that are disabled
  • Minimum requirements:
  • Magento 2.2.x & PHP 7.3
Version 1.3.8 18 May 2023
    Changes:
  • Small Code Cleanup
  • Minimum requirements:
  • Magento 2.2.x & PHP 7.1
Version 1.3.7 10 June 2022
    Changes:
  • Fixed check on general enabled flag / option
  • Minimum requirements:
  • Magento 2.2.x & PHP 7.1
Version 1.3.6 3 March 2022
    Changes:
  • Make Logger component compatible with Monolog 2.0 (Magento 2.4.4 support)
  • Replaced deprecated _redirect method
  • Declared visibility on all constants
  • Minimum requirements:
  • Magento 2.2.x & PHP 7.1
Version 1.3.5 12 November 2021
    Changes:
  • Refactored header template file for cleaner output without extra line endings / indents
  • Minimum requirements:
  • Magento 2.2.x & PHP 7.x
Version 1.3.4 14 May 2021
    Fixes:
  • Fixed ACL role for config settings
  • Minimum requirements:
  • Magento 2.2.x & PHP 7.x
Version 1.3.3 12 April 2021
    Changes:
  • Get category url from UrlRewrite for better performance when using lots of storeviews
  • Minimum requirements:
  • Magento 2.2.x & PHP 7.x
Version 1.3.2 23 December 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
Version 1.3.1 14 December 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
Version 1.3.0 22 October 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
Version 1.2.1 8 September 2020
    Changes:
  • Changed alternate hreflang url getter
  • Minimum requirements:
  • Magento 2.2.x & PHP 7.x
Version 1.2.0 10 August 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
Version 1.1.7 31 May 2020
Version 1.1.6 28 February 2020
Version 1.1.5 9 September 2019
Version 1.1.4 11 July 2019
Version 1.1.3 21 June 2019
plus-circle Click here to expand the Changelog
minus-circle Click here to hide the Changelog

Adobe Commerce Marketplace Approved

This extension is listed on the official Adobe Commerce Marketplace and has passed their review process for code quality, performance and security.

Adobe Marketplace approval means the extension follows Magento coding standards and integrates properly with the platform. Updates go through the same review process.

Hyvä Compatible Plugin

This extension includes full support for Hyva Themes. All frontend components, widgets and templates work natively with Hyva's Alpine.js and Tailwind CSS stack.

The extension works out of the box on Hyva and is tested with every new Hyva release to ensure continued compatibility.

GraphQL Made Ready

This extension exposes its data and configuration through Magento's GraphQL API. You can query and mutate data directly from headless frontends or custom applications.

The GraphQL schema follows Magento's conventions and covers all key functionality of the extension. This makes it ready for PWA Studio, Vue Storefront or any other headless setup.

Magento Cloud Support

This extension is fully compatible with Adobe Commerce Cloud (Magento Cloud). It works with the read-only filesystem, the build and deploy pipeline and cloud-specific caching layers.

No additional configuration or workarounds are needed for cloud environments. The extension handles static content deployment and config management the same way as on-premise installations.

Private Composer Repo

After purchase you get access to a private Composer repository with personal credentials. Install and update the extension with a single composer command, just like any other dependency.

Your Composer credentials are available in your account dashboard. Updates are published to the repository as soon as a new version is released, so you always have access to the latest version.

Playwright E2E Tests (15)

This extension is covered by 15 end-to-end tests using Playwright. These tests run automatically on every code change through our CI/CD pipeline.

The tests simulate real user interactions across checkout flows, configuration changes and edge cases to make sure everything works before every release.

star star star star star
star star star star star
Gaaf - digital agency
We have tried the integration with SnelStart through several different providers, and this is the only solution that simply works. We needed support on two occasions, and it was provided quickly and professionally. We do recommend this company!
Google 12 May 2026
star star star star star
star star star star star
Andrew Velikiy
Great vendor with handy modules and quick support!
Google 13 Apr 2026
star star star star star
star star star star star
Alexandru-Manuel Carabus
Magmodules sets the bar for Magento module quality and support—we check their catalog first for client feature requests, and they’re our first choice for licenses.
Google 11 Nov 2025
star star star star star
star star star star star
Matt Austin
Possibly the fastest support response times of any Magento Extension vendor. Great extensions too!
Google 09 Sep 2025
star star star star star
star star star star star
Jan Privé
Dankzij de heldere uitleg en snelle reactie van Magmodules kon mijn vraag, en dus mijn Magento-probleem, binnen enkele uren worden beantwoord. Doeltreffend, zonder moeilijke termen, gewoon zo als het zou moeten zijn.... Bedankt!
Google 05 Sep 2025
star star star star star
star star star star star
Denis Metzler
To evaluate a provider, it is not enough to consider only the product offered, but also its after-sales service, such as support and troubleshooting. Magmodules has been extremely satisfactory at all levels on multiple occasions and sets the bar at the top when comparing the competition.
Google 02 Sep 2025
star star star star star
star star star star star
Bleijenberg winkelinrichting en materialen
Goed bereikbaar, reageren snel en denken oplossingsgericht. Een aanrader.
Google 30 Jul 2025
star star star star star
star star star star star
Patrick Verduijn
Magmodules biedt plugins aan die van hoge kwaliteit zijn tegen een goede prijs, waar dit bedrijf in uitblinkt is de bereidheid om de zeldzame feedback & problemen met de plugins te willen onderzoeken, mee te willen denken in het debuggen van problemen en goede oplossingen toe te passen. In mijn decennium ervaring met Magento & 3th parties is Magmodules absoluut een uniqum binnen de markt.
Google 25 Jul 2025
star star star star star
star star star star star
Erik de Groot
Magemodules heeft hele sterke Magento extensies en een proactieve support. Al jaren heel erg tevreden over jullie service en producten!
Google 18 Jul 2025
star star star star star
star star star star star
René Zeuner
We are using the Mollie Magento extension from Magmodules. It works excellently without flaws. Very fast, competent and friendly support. Thanks!
Google 30 Jun 2025