PHPackages                             elgentos/magento2-alternate-urls - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. elgentos/magento2-alternate-urls

ActiveMagento2-module

elgentos/magento2-alternate-urls
================================

Add alternate URLs (hreflang) to all pages in the webshop

1.2.1(2y ago)54.8k↓50%1proprietaryPHPPHP ^7.4||^8.0

Since Nov 9Pushed 2y ago9 watchersCompare

[ Source](https://github.com/elgentos/magento2-alternate-urls)[ Packagist](https://packagist.org/packages/elgentos/magento2-alternate-urls)[ RSS](/packages/elgentos-magento2-alternate-urls/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (4)Versions (6)Used By (0)

Magento 2 Alternate URLs
========================

[](#magento-2-alternate-urls)

Makes it possible to configure and add alternate URLs to the `` of each page. The link to other websites/stores can be created manually in the admin

Installation
------------

[](#installation)

This package can be installed using [Composer](https://getcomposer.com).

```
composer require elgentos/magento2-alternate-urls
bin/magento module:enable Elgentos_AlternateUrls
bin/magento setup:upgrade
```

Usage
-----

[](#usage)

To use the module, you'll have to enable the module and add some mapping to "connect" websites/stores to each other. The script will automatically add references to the `` of the page for each link that is found for the current page.

Extending for other page types
------------------------------

[](#extending-for-other-page-types)

To extend this functionality to other page types (like blog posts from a module), you will have to create a custom module and add a custom type that implements `Elgentos\AlternateUrls\Type\TypeInterface`. After that you'll need to add your custom type to the `typeInstances` in the `alternate_urls` block in `default.xml`.

### Example

[](#example)

```

                        MyNamespace\CustomPageTypeAlternateUrls\Type\CustomPageType

```

Contributing
------------

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License
-------

[](#license)

proprietary

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~186 days

Total

4

Last Release

1092d ago

PHP version history (2 changes)1.0.0PHP ^7.4

1.2.0PHP ^7.4||^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/88a6d8dc588e8f2a0948335563a754687f71304f0bd3b7f7049d4bcdc00a563c?d=identicon)[peterjaap](/maintainers/peterjaap)

![](https://www.gravatar.com/avatar/91631a876a2495358801220afbd8d869040f8917b913c21a99b9984ad26634df?d=identicon)[WouterSteen](/maintainers/WouterSteen)

---

Top Contributors

[![ArjenMiedema](https://avatars.githubusercontent.com/u/4620826?v=4)](https://github.com/ArjenMiedema "ArjenMiedema (7 commits)")

### Embed Badge

![Health badge](/badges/elgentos-magento2-alternate-urls/health.svg)

```
[![Health](https://phpackages.com/badges/elgentos-magento2-alternate-urls/health.svg)](https://phpackages.com/packages/elgentos-magento2-alternate-urls)
```

###  Alternatives

[smile/elasticsuite

Magento 2 merchandising and search engine built on ElasticSearch

8044.5M33](/packages/smile-elasticsuite)[hyva-themes/magento2-react-checkout

Highly customizable Magento 2 Checkout, built with React

189169.8k1](/packages/hyva-themes-magento2-react-checkout)[dotdigital/dotdigital-magento2-extension

Dotdigital for Magento 2

50374.2k18](/packages/dotdigital-dotdigital-magento2-extension)[swissup/module-search-mysql-legacy

Legacy mysql search for magento 2.4

10483.0k](/packages/swissup-module-search-mysql-legacy)[lizardmedia/module-varnish-warmer

Varnish Cache Warmer Magento2 module by Lizard Media

6276.8k](/packages/lizardmedia-module-varnish-warmer)[mage-os/module-automatic-translation

Automatic AI content translation for Mage-OS.

277.1k](/packages/mage-os-module-automatic-translation)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
