Skip to content

This Magento 2 multi store extension adds the alternate hreflang tag for: Pages, Product and Category.

Notifications You must be signed in to change notification settings

PH2M/magento2-hrefLang

 
 

Repository files navigation

Magento 2 HREF LANG SEO

Status License


This Magento 2 multi store extension adds the alternate hreflang tag for: Pages, Product and Category.

📝 Table of Contents

🧐 About

This extension solves a SEO specific problem of content duplication for Google and other search engines.

It automatically adds the HREFLANG tag to pages, product and category of Magento considering your multi store structure.

Google Hreflang reference: https://support.google.com/webmasters/answer/189077?hl=en

MOZ Hreflang reference: https://moz.com/learn/seo/hreflang-tag

🏁 Getting Started

Prerequisites

PHP 7+
Magento 2
Zend Framework

Installing

  1. Download this package;

  2. Create the following folder inside your Magento 2 installation

app/code/BrunoCanada/HrefLang
  1. Paste the files of this package inside the created folder (step 2)

  2. Run the following command inside your Magento 2 installation:

$ bin/magento setup:upgrade

About

This Magento 2 multi store extension adds the alternate hreflang tag for: Pages, Product and Category.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 98.8%
  • HTML 1.2%