Powered by Adobe Commerce 2.4.7-p4

hreflang.png

Hreflang

PRODUCT:
0
TOTAL:

Overview

Back to top

With the Hreflang Extension for Magento 2 you can direct search engines to alternative versions of your page in different languages or for different regions. Then the search results will show those versions of your pages that are the best suited to the language and region of the user.


Features

  • Localized versions of a page can be specified for products, categories, cms pages and home page
  • Localized versions of a page can be linked within a Website or Global Scope
  • HTML tags are used to indicate localized versions of a page
  • The hreflang attribute can be x-default, consist of a language code, or a language code and a region code
  • Language code can be determined automatically from Store Locale or selected manually
  • The region code can be determined automatically from the Default Country for the store or selected manually
  • You can link CMS pages by ID, URL Key or by the value of the new Hreflang Identifier attribute
  • Links of localized versions of the page are not added to the page where the Robots Meta Tag contains the NOINDEX directive
  • Compatible with our following extensions (from the SEO category): Canonical URL, Meta Robots
  • Included in our SEO extension


Localized versions of a page for products, categories and CMS pages

In the configuration settings, you can choose on which specific types of pages you want to provide links to their alternative versions. Localized page variations can be added to the product page, category page, CMS page, and home page.


HTML tags for specifying localized versions of a page

The Hreflang Extension for Magento 2 adds <link rel="alternate" hreflang="lang_code" href="url_of_page" /> elements to the page header to inform search engines about all localized page variations.


The values of the hreflang attribute

The hreflang attribute indicates the language and, optionally, the region of the alternate URL. The value of the hreflang attribute can also be x-default for languages that are not specified in the page's hreflang attribute. The language code can be determined automatically from Store Locale or manually selected. The region code can be determined automatically from the Default Country for the store or manually selected.


Grouping of localized versions of a page at the website level or globally

If you have several websites, then, if necessary, you can link localized versions of a page within a separate website. In this case, in each resulting group of alternate page versions, you can select a link and use the hreflang attribute for it with the x-default value.
You can also link localized versions of a page globally. In the resulting group of alternate page versions, you can also select the link and set the hreflang attribute to x-default.


Grouping of CMS pages

In the configuration settings, you can specify the attribute of the CMS page, by which you want to link the localized versions of the pages. You can link CMS pages by ID, URL Key, Hreflang Identifier (new attribute).


Demo links

Frontend | Backend (Username: Hreflang | Password: Hreflang123)


List of benefits

  • Free Support
  • Free Updates

Technical Specifications

Back to top

Seller profile

Serg Laz

Seller contact

E-mail

Current Version

1.0.1

Adobe Commerce platform compatibility

Magento Open Source: 2.4 (current), 2.3 (obsolete)

Type

Stable Build

Updated

20 February, 2025

Categories

Extensions, Marketing, SEO/SEM

Quality Report

Back to top

Installation & Varnish Tests

Passed

Coding Standard

Passed

Plagiarism Check

Passed

Malware Check

Passed

Marketing Review

Passed

Manual Testing

Passed

All tests were conducted on the latest versions of Adobe Commerce that existed for the compatible release lines at the moment of the extension submission. Latest versions of all other software were used, as applicable.

Release Notes

Back to top

1.0.1:

  • Compatible with Magento Open Source : 2.3 2.4
  • Stability: Stable Build
  • Description:

    Translation dictionary added

1.0.0:

  • Compatible with Magento Open Source : 2.3 2.4
  • Stability: Stable Build
  • Description:

    Initial release

Support

Back to top

The best place to start if you need help with a specific extension is to contact the developer. All Adobe Commerce developers have both a contact email and a support email listed.

Contact Vendor

Q & A

Back to top

Reviews

Back to top