Seitenreport Seitenreport
International in Magento

Fixing Hreflang and Canonical Conflict in Magento

Keeping translations and real duplicates apart. In Magento, you check store views, basic URLs and language linking.

Store Views, Basic URLs and Language Linking

Compare voice mapping and canonicals across store views. An international extension must use the appropriate public store URLs.

The language of a Store View and the public URL assignment must match the output language set. Additional internationalization extensions can generate the references independently of the store switch.

How to fix the issue in Magento

  1. Compare Store View, base URL and voice mapping of the specific page. Additional hreflang outputs may come from an extension. Check their product or category assignment before entering a domain as an alternative language version.
  2. Give each distinct translation an appropriate canonical URL and connect those URLs as language alternatives. Remove any global canonical rule that incorrectly consolidates translations into the original language.

Start with one affected page or template. Check its output before applying the correction to other pages.

Example of this specific finding

Illustrative control case: An English performance page is called as a language alternative, but its canonical points to the German version. Translation and duplicate consolidation are contradictory.

follow-up audit in Magento

Track an identical product in the intended store views and check availability, canonical and reference back. Store IDs alone are not a public language URL.

Maintain independent language versions with their respective matching canonical URL. Test language set and canonical goals together.

How to verify that the fix worked

Compare two published translations: content, language, canonical and reciprocal hreflang references must agree. A language flag alone is not evidence.

Check language versions and return links: Compare language codes, target URLs and reciprocal annotations within a group of equivalent pages.

Derogations and scope

Almost identical regional sides of the same language may require a differentiated decision; different languages may not be combined in a blanket manner.

Reference: Magento Open Source or Adobe Commerce with classic storefront. Consider store views and extensions; other storefront architectures have their own configurations.

Classify the general error

Definition, system-independent causes and further correction examples: Keeping translations and real duplicates apart

Configuration and test signal documentation

Google: Language versions and hreflang

Related International Mistakes in Magento