Login or create an account
If you have an account with us, please log in.

You have no items in your shopping cart.

GeoIP Redirect for Magento 2


Automatically change store view, currency and language depending on visitor's location. Expand your business across other countries without creating a separate store.

  1. Automatically detect users’ location
  2. Redirect visitors to appropriate store view or custom URL
  3. Restrict redirection for particular IP addresses
  4. Display prices in visitor's local currency
  5. Ignore user agents
View Extension Demos
See User Guide
Clearly inform users about any questions related to your stores not to lose them
GeoIP Redirect for Magento 2

Broaden your business horizons to other countries and let your foreign customers shop easily with multi-language, multi-currency and multi-store functionality.

Improve shopping experience of your foreign customers

Redirect users to a specific store view

The module automatically determines visitors’ location and redirects them to the correct store view. With the help of the extension you can improve customers' shopping experience by showing localized information in familiar language and currency.

Automatically switch currency based on visitor's location

The extension detects location of your store visitor using GeoIP technology and changes price currency to the one which is actually used in the potential customer’s country. Also your customers don’t have to choose the language prior to start purchasing - it will be done automatically.

Ignore search engines and user agents

Avoid unwanted store switching for user agents and search engine spiders. You can specify which of them to ignore. For your convenience the most popular search engines like Google, Yahoo, Bing, etc. are ignored by default.

Redirect only from the home page

Sometimes a user may need to see particular pages of your store just as they are (e.g. product pages). In that case you can enable ‘Redirect From Home Page Only’ option. Thus, as soon as viewers enter the website homepage, they would be immediately and automatically redirected to the appropriate store view. Redirection rules are based on users location, and if customers enter a specific page it will be displayed in the original.

Configure country to store view rules and to show familiar language and currency to users from all over the world.


redirect users to familiar store view

Redirect to the specific URL

Use this option to redirect your customers to a specific store page, blog or your youtube channel based on their location. For example, if you don’t provide delivery of some items to specific countries or regions you can redirect users from these regions to the page with the information where they can buy this product offline or find out more about your company.

Restrict redirection for particular URLs

In case you want to keep the URLs like home or FAQ page the same for all store views, you can exclude them from redirection. At the same time you can apply redirect option only to the certain store pages, e.g. Delivery info or Contacts.

Redirect users for each visit or only for the first one

Now you can choose whether to adjust your webstore to users’ geolocation automatically and redirect them each time they enter your website or to allow them to choose which store version is more convenient. In this case they will be automatically redirected only during their first site visit and then will be able to choose which store view to use. This feature works for both guest and registered customers.

Restrict redirects by IP address

Sometimes you may need to allow certain people to see your web site as it is despite their location. For example, when some of your staff works remotely from different countries. You can easily do this by specifying their IPs in the module’s settings

magento 2 blog pro

More content management tools with Blog Pro

Speak the same language with your customers using our Magento 2 Blog plugin. Let your visitors share their opinion in comments and establish a dialog with their vendor.

Product questions

How can I make Varnish Cache compatible with redirects?

Basicly, GeoIP redirect module is the Magento 2 extension and is not compatible with Varnish Cache. Magento 2 utilizes App Server and when you use Varnish Cache for your website the redirect functionality will not work properly. However, you can bring partial compatibility.

Read the FULL answer

How to fix the execution time limit of PHP scripts when importing the database?

Sometimes, it is unable to complete the database import due to execution time limit of PHP scripts. You can avoid this error by increasing the maximum execution time for your PHP scripts.

Read the FULL answer

How can I test redirects for different countries in M2?

You can use a VPN service or an anonymizer to change your authentic IP address to a required one (geolocation) and see whether everything works smoothly. Read on to see all the possibilities.

Read the FULL answer
Reasons to choose

Other Features

  • 100% Open Source — Easy To Customize
  • Follows Magento Code Architecture
  • Separated HTML/CSS/JS
  • Simple installation via Composer
* The name "Magento" and the logo are the trademarks of Magento, Inc.
Feature Request: Switching based on Browser Language

Could it be possible to implement the browser language as a choice for switching?

Currently we have several storeviews for a country which has more than 1 official language. The geo-ip sometimes does crazy things like redirecting to be_nl/fr_nl/something when two storeviews are linked to the same country.

Maybe using the browser language we could prevent this from happening?

Kind regards
Support team always helps
I wanted to import my own Geo Ip data docs, but they didn't upload properly, so I had to bother support assistants to help me out. Finally, in about 3 hours they replied and generated the file according to my needs. Now the module works the way I want.

Write Your Own Review

You're reviewing: GeoIP Redirect for Magento 2

Version 1.0.17 - December 03, 2018
– Compatibility: the compatibility with the Magento Full Page Cache was enhanced
Version 1.0.16 - November 21, 2018
– Fix: the issue with the redirect to product/category pages was resolved
Version 1.0.15 - November 19, 2018
– Fix: the issue with wrong geolocation detection was resolved
Version 1.0.14 - November 12, 2018
– Fix: the issue with the error when IP address fails to be found in the DB was resolved
Version 1.0.13 - November 06, 2018
– Fix: the security issues were resolved
Version 1.0.12 - October 15, 2018
– Fix: the issue with the "too many redirects" error while selecting a store view was resolved
Version 1.0.12 - October 15, 2018
– Fix: the issue with the "too many redirects" error while selecting a store view was resolved
Version 1.0.11 - July 09, 2018
– Fix: the "Warning: strpos(): Empty needle" error in var/report was resolved
Version 1.0.10 - July 04, 2018
– Improvement: the location detection via GeoIP data was improved
Version 1.0.9 - June 05, 2018
– Improvement: for EU's GDPR compliance the restriction for the last IP address's digit was implemented
– Fix: the issue with URL replacing was resolved
Version 1.0.8 - May 28, 2018
– Fix: the issue with the incorrect redirect to categories and products when using different URLs for stores was fixed
Version 1.0.7 - March 14, 2018
– Fixed an issue with the wrong store scope
Version 1.0.6 - November 29, 2017
– Compatibility with the FPC extension is added.
– Improved IP address check.
– Improved import of GeoIP data.
Version 1.0.5 - July 04, 2017
– Minor improvement for the "Apply Logic To" option.
– All URLs" option is deactivated.
– All Except Specified URLs" option is active by default.
– We added URLs excepted by default .
– Restriction by Ip" is renamed to "IP to Ignore" for better understanding.
– Performance optimization.
Version 1.0.4 - May 25, 2017
– Fixed loop redirection if option "First visit redirect only" has value - yes, and urls like http://somesite.com/intl/;
– Fixed redirect after redirect;
– Fixed error: Setting "Currency" in "Enable Country" didn't work if was activated "Apply Logic To" - "Redirect From Home Page Only";
– Fixed currency switch on inconvenient URLs when "Apply Logic To - Specified URLs" + "Enable Country" set Currency;
– Fixed: setting "First visit redirect only" didn't influence on setting "Enable Country --> Currency"/"Enable Country --> Store View". For repeat visit currency/store were the same.
Version 1.0.3 - February 27, 2017
– Improvements for detecting IP address
– Improvements for redirecting specific country to specified store
– Few performance optimizations
Version 1.0.2 - January 04, 2017
– Better compatibility with full page cache
– Minor code refactoring
Version 1.0.1 - June 06, 2016
– Possibility to enable/disable extension per each store
Back to top