brunocanada/hreflang 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

brunocanada/hreflang

最新稳定版本:v1.1.1

Composer 安装命令:

composer require brunocanada/hreflang

包简介

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

README 文档

README

GitHub release GitHub license Github all releases GitHub forks

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 Composer 1.10.16 

Installing via Composer

  1. Access your Magento 2 root directory
  2. Run composer require brunocanada/hreflang
  3. Double-check if it is installed and enabled, run bin/magento module:status BrunoCanada_HrefLang

Manual Instalation

  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 

Module Management

  • Enable module: bin/magento module:enable BrunoCanada_HrefLang
  • Disable module: bin/magento module:disable BrunoCanada_HrefLang

统计信息

  • 总下载量: 61.02k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 21
  • 点击次数: 8
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 21
  • Watchers: 7
  • Forks: 12
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04