PHPackages                             menatwork/geolocationredirect - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. menatwork/geolocationredirect

ActiveContao-module[HTTP &amp; Networking](/categories/http)

menatwork/geolocationredirect
=============================

Flexible URL-based redirection with setting geo information automatically

1.0.2(12y ago)210[2 issues](https://github.com/menatwork/geolocationRedirect/issues)LGPL-3.0+PHPPHP &gt;=5.3

Since Nov 13Pushed 12y ago9 watchersCompare

[ Source](https://github.com/menatwork/geolocationRedirect)[ Packagist](https://packagist.org/packages/menatwork/geolocationredirect)[ Docs](http://www.men-at-work.de)[ RSS](/packages/menatwork-geolocationredirect/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (5)Versions (4)Used By (0)

Geolocation Redirect - English
==============================

[](#geolocation-redirect---english)

geolocationRedirect matches an url pattern and redirects to internal or external pages after setting the configured contry information (geolocation). Regular expressions can be used for URL splitting and their results for the redirects.

### Settings

[](#settings)

**System =&gt; Settings =&gt; Kill Query-String**

All GET parameters of the URL in form of "?key=value" will be removed with this option.

### Redirect definitions

[](#redirect-definitions)

You can choose between two types of redirects. The redirect type can be chosen under "target type".

- Internal redirect
- External redirect

The first option redirects to an internal page, which can be selected with a pagepicker. The second option is for redirecting to external URL or using placeholders.

### Example configuration

[](#example-configuration)

**Target**

   Setting Value     URL be-(.\*)   Regexp true  **Redirect settings**

   Setting Value     Redirect Url $1   Countries be  ### Result

[](#result)

   URL Redirect target Country
(set with geoprotection)    /be-nl/start.html /nl/start.html be   /be-de/start.html /de/start.html be   /be-en/start.html /en/start.html be  Geolocation Redirect - Deutsch
==============================

[](#geolocation-redirect---deutsch)

geolocationRedirect wertet URL-Muster aus und leitet auf interne oder externe Seiten weiter und setzt dabei die eingestellten Länderinformationen (Geolocation). Reguläre Ausdrücke können für die URL-Auswertung und die Redirects verwendet werden.

### Einstellungen

[](#einstellungen)

**System =&gt; Einstellungen =&gt; Kill Query-String**

Mit dieser Einstellungen werden alle GET Parameter, die mit "?key=value" an der Url angehängt werden, entfernt.

### Definition der Weiterleitungen

[](#definition-der-weiterleitungen)

Es gibt zwei Arten der Weiterleitungen. Diese können unter Targettyp ausgewählt werden.

- Interne Weiterleitung
- Externe Weiterleitung

Die erste erlaubt es direkt eine Seite auszuwählen. Die zweite Option hingegen erlaubt es externe Seiten aufzurufen, bzw. mit Platzhaltern zu arbeiten.

### Beispielkonfiguration

[](#beispielkonfiguration)

**Ziel**

   Einstellung Wert     URL be-(.\*)   Regexp true  **Weiterleitungseinstellungen**

   Einstellung Wert     Weiterleitungs-URL $1   Land be  ### Ergebnis

[](#ergebnis)

   URL Weiterleitungsziel Land
(Durch geoprotection konfiguriert)    /be-nl/start.html /nl/start.html be   /be-de/start.html /de/start.html be   /be-en/start.html /en/start.html be

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 53.8% 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 ~100 days

Total

2

Last Release

4464d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10211934?v=4)[Chibineko](/maintainers/Chibineko)[@chibineko](https://github.com/chibineko)

![](https://www.gravatar.com/avatar/e0832ff67e7f71c428f5806b454439fb889a0dbd6049bbcb9e0717c15bf7078c?d=identicon)[davidmaack](/maintainers/davidmaack)

---

Top Contributors

[![andreasisaak](https://avatars.githubusercontent.com/u/156767?v=4)](https://github.com/andreasisaak "andreasisaak (7 commits)")[![stefanheimes](https://avatars.githubusercontent.com/u/988286?v=4)](https://github.com/stefanheimes "stefanheimes (6 commits)")

---

Tags

geolocationcountriesredirectdetectionprotection

### Embed Badge

![Health badge](/badges/menatwork-geolocationredirect/health.svg)

```
[![Health](https://phpackages.com/badges/menatwork-geolocationredirect/health.svg)](https://phpackages.com/packages/menatwork-geolocationredirect)
```

###  Alternatives

[nystudio107/craft-retour

Retour allows you to intelligently redirect legacy URLs, so that you don't lose SEO value when rebuilding &amp; restructuring a website

40975.2k15](/packages/nystudio107-craft-retour)[fsasvari/laravel-trailing-slash

The package that adds redirection with trailing slash to Laravel framework.

63164.3k](/packages/fsasvari-laravel-trailing-slash)[ipgeolocation/ipgeolocation-php-sdk

Ipgeolocation provides a set of APIs to make ip based decisions.

411.5k](/packages/ipgeolocation-ipgeolocation-php-sdk)[middlewares/geolocation

Middleware to geolocate the client using the ip address

138.5k2](/packages/middlewares-geolocation)

PHPackages © 2026

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