PHPackages                             esign/craft-multi-site-language-redirect - 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. esign/craft-multi-site-language-redirect

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

esign/craft-multi-site-language-redirect
========================================

automatically redirects users to the appropriate site in a Craft CMS multisite setup based on their browser language or previously selected language.

1.0.4(4mo ago)028[1 issues](https://github.com/esign/craft-multi-site-language-redirect/issues)proprietaryPHPPHP &gt;=8.2CI failing

Since Sep 1Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/esign/craft-multi-site-language-redirect)[ Packagist](https://packagist.org/packages/esign/craft-multi-site-language-redirect)[ RSS](/packages/esign-craft-multi-site-language-redirect/feed)WikiDiscussions master Synced today

READMEChangelog (5)Dependencies (3)Versions (6)Used By (0)

MultiSite Language Redirect
===========================

[](#multisite-language-redirect)

[![Stable Version](https://camo.githubusercontent.com/e93ab2df611fa417d79991ad70fe3036bb14c566c950b38a10a43c599e16859f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f657369676e2f63726166742d6d756c74692d736974652d6c616e67756167652d72656469726563743f6c6162656c3d737461626c65)](https://packagist.org/packages/esign/craft-multi-site-language-redirect)[![Total Downloads](https://camo.githubusercontent.com/55b433a7390cc99dccb62878c8cc1a2fb1adfc494dd71450b40e4c401da03713/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f657369676e2f63726166742d6d756c74692d736974652d6c616e67756167652d7265646972656374)](https://packagist.org/packages/esign/craft-multi-site-language-redirect)

[![](https://raw.githubusercontent.com/esign/craft-multi-site-language-redirect/master/src/icon.svg)](https://raw.githubusercontent.com/esign/craft-multi-site-language-redirect/master/src/icon.svg)

Automatically redirects users to the appropriate site in a Craft CMS multisite setup based on their browser language or previously selected language.

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 5.0.0 or later, and PHP 8.2 or later.

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

[](#installation)

### With Composer

[](#with-composer)

Open your terminal and run the following commands:

```
# go to the project directory
cd /path/to/my-project.test

# tell Composer to load the plugin
composer require esign/craft-multi-site-language-redirect

# tell Craft to install the plugin
./craft plugin/install multi-site-language-redirect
```

### From the Plugin Store

[](#from-the-plugin-store)

Go to the Plugin Store in your project's Control Panel and search for "MultiSite Language Redirect". Then press "Install".

Configuration
-------------

[](#configuration)

### Route Exclusions

[](#route-exclusions)

You can exclude specific routes from language redirection in two ways:

#### Global Excluded Routes

[](#global-excluded-routes)

Routes that should be excluded across all site groups. These are useful for system routes like `/robots.txt` or API endpoints.

#### Site Group Specific Excluded Routes

[](#site-group-specific-excluded-routes)

Routes that should be excluded only for specific site groups. This allows for more granular control when different site groups have different requirements.

#### Wildcard Support

[](#wildcard-support)

Both global and site group specific exclusions support wildcard matching using `*`:

- `/api/*` - Excludes all routes starting with `/api/`
- `/special-*` - Excludes routes like `/special-page`, `/special-content`, etc.

#### Configuration via Settings

[](#configuration-via-settings)

Configure route exclusions through the plugin settings in the Craft CMS control panel under **Settings → Plugins → MultiSite Language Redirect**.

#### Configuration via Config File

[](#configuration-via-config-file)

For advanced configuration, you can also manage plugin settings through a config file. Create `config/multi-site-language-redirect.php` in your Craft project and copy the settings from the [example configuration file](src/config.php).

License
-------

[](#license)

This plugin is licensed under the Craft License. Please see [LICENSE.md](LICENSE.md) for more information.

Screenshot
----------

[](#screenshot)

[![Screenshot](resources/img/src01.png)](resources/img/src01.png)[![Screenshot](resources/img/src02.png)](resources/img/src02.png)

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance78

Regular maintenance activity

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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 ~46 days

Total

5

Last Release

122d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4599d7a8f6fdb63dd04305a49ae5ec9700b7a6eacdbe3a54f89584d75e34503f?d=identicon)[esign](/maintainers/esign)

---

Top Contributors

[![DieterVanhove](https://avatars.githubusercontent.com/u/33942009?v=4)](https://github.com/DieterVanhove "DieterVanhove (24 commits)")

### Embed Badge

![Health badge](/badges/esign-craft-multi-site-language-redirect/health.svg)

```
[![Health](https://phpackages.com/badges/esign-craft-multi-site-language-redirect/health.svg)](https://phpackages.com/packages/esign-craft-multi-site-language-redirect)
```

###  Alternatives

[spicyweb/craft-neo

A Matrix-like field type with block hierarchy

393813.5k10](/packages/spicyweb-craft-neo)[craftcms/feed-me

Import content from XML, RSS, CSV or JSON feeds into entries, categories, Craft Commerce products, and more.

293952.6k33](/packages/craftcms-feed-me)[verbb/formie

The most user-friendly forms plugin for Craft.

102393.6k70](/packages/verbb-formie)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

54681.3k19](/packages/solspace-craft-freeform)[verbb/comments

Add comments to your site.

13753.9k](/packages/verbb-comments)[verbb/vizy

A flexible visual editor field for Craft.

4250.4k](/packages/verbb-vizy)

PHPackages © 2026

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