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. [Utility &amp; Helpers](/categories/utility)
4. /
5. elgentos/magento2-alternate-urls

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

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

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

1.2.1(3y ago)55.2k↑21.4%1proprietaryPHPPHP ^7.4||^8.0

Since Nov 9Pushed 3y 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 today

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 72% 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

1138d 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

[mollie/magento2

Mollie Payment Module for Magento 2

1131.9M16](/packages/mollie-magento2)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68357.9k](/packages/run-as-root-magento2-prometheus-exporter)[baldwin/magento2-module-url-data-integrity-checker

Magento 2 module which can find potential url related problems in your catalog data

282822.9k](/packages/baldwin-magento2-module-url-data-integrity-checker)[myparcelnl/magento

A Magento 2 module that creates MyParcel labels

1860.2k](/packages/myparcelnl-magento)[mage-os/module-automatic-translation

Automatic AI content translation for Mage-OS.

3017.9k](/packages/mage-os-module-automatic-translation)[angeo/module-llms-txt

Magento 2 module for AI Engine Optimization (AEO). Generates spec-compliant llms.txt and llms-full.txt per llmstxt.org standard, plus streaming JSONL for vector indexing. Multi-store, multi-website, CLI, cron, async admin UI, Page Builder-aware sanitization, customer-group pricing, atomic writes, ETag/Cache-Control, .md mirrors.

111.1k](/packages/angeo-module-llms-txt)

PHPackages © 2026

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