Skip to content
Mage‑OS MaxMind GeoIP Redirect
Mage OS · 4 min read

Mage‑OS MaxMind GeoIP Redirect

The MaxMind GeoIP Redirect module for Mage‑OS automatically redirects users to the right store view based on their country. It is completely free, open‑source and developed by Samuele Martini, an active member of the Italian Mage‑OS community.


🔧 What it does

The module uses the MaxMind GeoLite2 service to detect the visitor’s geographic location from their IP and apply an automatic redirect, or show a suggestion popup to switch store. It is useful for multilingual e‑commerce sites or those with separate stores per country.


✅ Key features

  • Compatible with Mage‑OS and Magento
  • Supports IPv4 and IPv6
  • MaxMind API mode (up to 1,000 free requests per day)
  • Local database mode, updatable via cron
  • Ability to force an IP to test the behavior
  • Support for a user confirmation popup
  • Works with caching systems (e.g. Varnish)

🚀 Installation

Install via Composer:

composer require mage-os/module-maxmind-geoip-redirect
bin/magento module:enable MageOS_MaxMindGeoipRedirect
bin/magento setup:upgrade

⚙️ Configuration

After installation, go to:

Stores → Configuration → Mage‑OS → MaxMind GeoIP Redirect

Here you can:

  • Enable/disable the module
  • Force an IP for testing
  • Choose whether to use the API or the local database
  • Set the database update frequency
  • Configure the store for each country and the popup messages

🇮🇹 A module from the community, for the community

This module exists thanks to the contribution of Samuele Martini, as an initiative of the Italian Mage‑OS community, with the goal of providing a useful and 100% free tool to manage geographic redirects with no extra costs or commercial dependencies.

You might also like