GeoIP Redirect for Magento 2

Transparent pricing We believe in being open and honest with our customers. When you buy our module, you get one of free support and updates.

Here's what you get: Free updates for 1 : You'll receive the latest versions of the module at no extra cost.
Free support: Our team will help you with any questions or issues after your purchase.
Cancel & renew options: You can cancel your subscription at any time and renew it later, but keep in mind that an additional fee will apply if you choose to renew.
Add to Wish List

Updates and support prolongation -

more info
Automatically redirect customers, change currency and language depending on visitors’ location. Use Magento 2 GeoIP extension to expand your business across other countries without creating a separate store.
  • Automatically detect users’ location
  • Redirect visitors to appropriate store view or custom URL
  • Restrict redirection for particular IP addresses
  • Display prices in visitor's local currency
  • Ignore user agents
  • GeoIP database included, update settings available
  • Hyva-ready storefront
Loading

Magento 2 GeoIP store and currency switcher is the tool to enter the international e-commerce market by adapting store information to a customer location. Broaden your business horizons to other countries and let your foreign customers shop easily with multi-language, multi-currency and multi-store functionality with Magento 2 GeoIP extension.

Improve shopping experience of your foreign customers

Display confirmation pop-up before redirecting

Set introducing confirmation and notification pop-up before redirecting. Comply with the requirements of EU regulations regarding geo-blocking and country redirects.

Redirect users to a specific store view

Automatically determine visitors’ location and redirect 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.

Change currency based on visitors’ location

The Magento 2 GeoIP extension detects the location of your store visitors 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 starting purchasing - it will be done automatically.

Restrict access to your website to specific IP addresses

With the advanced Magento 2 GeoIP Redirect extension, you can block certain visitors by their IP addresses and choose the CMS page that will be displayed to the restricted customers.

Ignore search engines and user agents

Avoid unwanted redirects 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. In that case, you can enable the ‘Redirect From Home Page Only’ option. Thus, as soon as viewers enter the website homepage, they would be automatically redirected to the appropriate store view.


geoip-redirect-for-magento2-country-to-store-view-1

Flexibly Adjust Redirection Options

🎉 Set Magento 2 Geo IP redirects to specific URLs

Use this option to redirect your customers to a specific store page, blog or 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, the advanced Magento 2 GeoIP extension lets you apply redirect option only to certain store pages, e.g. Delivery info or Contacts.

🎉 Redirect users for each visit or only for the first one

Choose whether to adjust your Magento 2 webstore to users’ geolocation and redirect them automatically or to allow them to choose which store version is more convenient. In this case, they will be automatically redirected only during their first visit and then will be able to choose which store view to use. This feature works for both guests 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 work remotely from different countries. In this case, use Amasty's Magento 2 GeoIP store switcher to specify their IPs in the module’s settings.

How to configure Varnish Cache and redirects compatibility?

Due to the App Server utilization, Magento 2 GeoIP currency switcher and Varnish Cache are not compatible out of the box. But this compatibility can be configured additionally by adding two code lines to the web server configuration.

STEP 01

For nginx — add the following code in any place of the nginx.conf file:

set_real_ip_from <varnish-ip>;

STEP 02

For apache — add the following code in any place of the .htaccess file:

RemoteIPTrustedProxy <varnish-ip>;

Where <varnish-ip>  is an IP address of the Varnish server.  

These changes can be added to the web server on your own or with the help of the hosting provider. If you decide to change the settings on your own, please make sure that you have root access, and don’t forget to restart the server after all the changes will be saved.

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.

FAQ

Magento 2 GeoIP Switcher is the Magento 2 extension that is a bundle of the Magento 2 Auto Currency Switcher and Magento 2 Auto Language Switcher extensions that use the GeoIP database detect customers' location and correspondingly display the locale and prices in their local language and currency.

Magento 2 Geolocation and Currency converter improves the shopping experience by automatically displaying prices in the customer’s local currency. This reduces confusion, builds trust, and boosts conversions, making it essential for global e-commerce stores.

Adobe partner logo
Magento Marketplace logo
4.5
See 500+ verified reviews
1 Single points of sales
Trusted by Customers
Amasty extensions work with all plugins we issued and with most 3rd-party plugins. If you come across a Magento 2 compatibility issue with any third-party module, we’ll definitely try to help you. If you face any technical issues, please create a ticket...
Product updates for extensions purchased before Feb 1, 2022With the transition to product subscriptions, you will receive product updates for all extensions purchased before Feb 1, 2022 throughout the entire grace period — up to Aug 1, 2022. If you ...
Yes, you can use installation and configuration services that are available as the part of Pro and Premium add-ons for your product subscriptions.Please note that this installation service doesn’t include uninstallation. So, if you need to completely...
Amasty doesn’t provide any trials of Magento extensions. There's one exception: Amasty extensions are provided for testing or demo purposes to our official Platinum Partners as a part of the “access to Amasty extensions for testing purposes with Composer...
Yes, you can install any Amasty extension on a test site and configure all the settings there before doing it on your live store.
Amasty offers to its Customers a thirty (30) day money-back guarantee for the Software. In case the acquired extension didn’t meet your expectations, our support team is always ready to help you. Fees for support subscriptions and any services provided...
We are now working at a loyalty program for our customers that is supposed to bring even greater benefits in the long term. While it’s not out yet, you can look through these Special Offers. New discounts and specials are added every month. To stay ...
To update a Magento 2 extension by manual upload:1. log in to the customer account;2. navigate to the Products tab, scroll to the packages section, and click the Download link next to the extension that should be updated;3. Important: If some extension...
To leave your feature request, log in to your customer account and open the Products tab. Then, scroll down to the bottom of the page, and leave your feature request in the following form: As soon as you send your request, it is considered by our ...
Each Amasty extension package is provided with the extension files, installation & setup guides, and a license agreement. Some extensions include import files examples as well. So how to install our Magento extension? What is the plugin...
If you have an active support service subscription, it grants you access to support services for all products purchased before Feb,1 as long as your subscription is active. Alternatively, support services are only available as the part of a product ...
Usually, no, you can’t exchange modules. Please, contact our support managers and they’ll consider your case individually. → Learn more about our special offers
Usually, we don’t provide any discounts. But you can contact us, and we’ll consider your case individually. → Learn more about our special offers
Our license allows you to use a single extension license agreement on one Magento installation.If you run several domains on the same instance of Magento, you can use one extension license. However, if you run each website on a new installation of Magento...
You can pay for our extensions in any convenient for you way as a full range of payment methods are supported. The most common means are credit card or PayPal. Security and fraud protection are guaranteed. If you need to pay for the order with a non...

GeoIP redirect module can be fully compatible with Varnish Cache in a few tweak. All you need is to update the server configuration file.

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.

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.

4.6

13 reviews

  1. Recommended for people having multi website setup
    We needed GeoIP Redirection based on customer country, and the extension successfully redirects users based on IP addresses. I like the ease of use and installation, and I would recommend this extension to people having multi website setup.

    Amasty answer

    Thanks, Adam, for the feedback and for recommending the extension! It's great to hear that you find it useful for your site, and we're looking forward to seeing you in our store again.
  2. Able to funnel customers to the correct store view to help with different currency. It was successful
    The issue we wanted to solce was redirecting customers to different stores with different domains with different currencies based on their IP automatically. The extension helped with it, we've been using it for abour 9 month. Now we are able to funnel customers to the correct store view to help with different currency. It was successful. The main thing is that extension is fluid, simple. At the same time able to exclude IPs (eg. developer and admin user IPs) so that all websites can be seen by such users. I would recommend this extension to anyone who has multi store running on different domains with different currencies, and wanting a redirect automatically. It is fluid. I would not recommend if a lot of your users in your industry uses vpn.

    Amasty answer

    Hi, Dan!

    Thank you for choosing Amasty GeoIP Redirect for Magento 2.
    We are glad that you were able to solve all the issues.
    We would be happy to see you in our store again!
  3. It increase our targeted area of our market
    I've been using GeoIP Redirect for 1 year. The main issue I wanted to solve is conflicting with other extensions. Amasty team has resolved the issue in a short time. It increase our targeted area of our market. Support Team communicate with me for the issues we had with our extension and asked me what we are trying to achieve then they start working on it. I can reccomend it to for people who have multiple market area this extension is a great tool.

    Amasty answer

    Dear Ali!
    Thank you for choosing our extensions. I’m glad that you appreciate their quality.
    We would be happy to see you in our store again!
  4. Didn’t refused to help
    I’d like to say the module is not bad at all. However it hasn’t been without problems. When choosing us dollar currency it wouldn’t save. I racked my brain till the tech group helped me with that. it turned out that problem was on my side and their devs didn’t refuse to help me. Thanks a lot!
  5. Feature Request: Switching based on Browser Language
    Hi 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
  6. The module works well, thanks to support team
    I don't know how it happened but I decided to roll the dice before xmas sale and installed the module a few days ago. When I didn’t manage to import the doc I thought it’s all gone. Happily the support worked that day and did everything just in 2 hours, good job! What I liked most is that google is ignored by default, so I didn’t have to do any additional manipulations.
  7. Many positive feedbacks from my customers
    Finally my visitors don’t have to choose the right version manually. I’ve use it for 3 mnth only but already received many positive feedbacks from my regulars. I had some troubles with my french store view but mistake was on my side. Anyway, the guys from support are very responsive and even agreed to talk to my admins, so we solved it soon.
  8. Importing should be better
    I agree w/ my friend that we are free to choose what we want. But I think when I buy an extension form a premier builder I’ll see no troubles. I don’t think so, I’ve saw people complained about the glitches w/ docs importing, yes, I had them too and this was the most annoying thing and it was not on my part. I had to wait for 3 days the module will finally work well after the support check. Thanks to support team they are really great, hope you’ll make the moment smooth.
  9. Very responsive support team
    The choice of countries and currencies amazes but it didn’t go well with setting it up. It would be great if your demo had some preselected settings, so i can see what I should put here and there on the go. As a whole, the module works well, with a ‘little help’ from support team, of course.
  10. Works smoothly
    I did each and every setting without any help. Yeap, though I went a few rounds with use website config, as the settings applied not only to the main website but to all the store views, I can say that if you read the user guide and notes in the backend, you’ll do it in one fell swoop.
  11. Good even for remote staff
    I really don't know why people say they had troubles with uploading geoip data docs as I had no problems with that. Probably, there were troubles on your side. As for the features, excepted urls played right into my hands as most of my staff work outside Italy. I really spent time to deal with user agents, otherwise, the plugin works well.
  12. 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.
  13. The configs could be clearer
    I started with importing my database an’ failed then I received the error note on the absence of csv addressed to tech help they redirected me to the guide where it's said not to take the error into account. So, I have a question for you. Won't it be simpler not to confuse people with the error note at all? Eventually somehow I launched the module and now it works fine but without the tech help I wouldn’t manage to run it.

Do you need specific features added so you can achieve your business goals?

Drop us a line and we'll customize this extension for you!

You can always download the recent version free of charge from your account installing an upgrade is easy

See Magento (and other software) versions we support and guarantee their compatibility with our extensions

x Version 1.5.0 Last Update: Jun 17, 2024
1.5.0 - Jun 17, 2024
  • New we added the Amasty IP Database Update Service, which allows you to refresh the IP database and ensure it remains consistently current. Starting October 2024, an active license will be necessary
x Version 1.4.0 Last Update: May 27, 2024
1.4.0 - May 27, 2024
  • Compatibility we added compatibility with the Hyvä Theme for the GeoIP Redirect. You can find the 'amasty/module-geoip-redirect-hyva' package for installing in composer suggest (Note: the compatibility is available as a part of an active product subscription or support subscription)
x Version 1.3.10 Last Update: Jan 12, 2023
1.3.10 - Jan 12, 2023
  • Improvement we improved the extension’s compatibility with Varnish cache. For more details on the correct server configuration, please refer to the user guide
  • Fix we fixed the issue with the Force IP functionality when this IP address is added to the ignore list
  • Fix we resolved the problem with redirect when storecodes are enabled
  • Fix we eliminated the errors with the deprecated explode(), nl2br(), preg_split() functionalities occurring with PHP 8.1
1.3.9 - Apr 21, 2022
  • Improvement we switched the module to a declarative schema
1.3.8 - Jul 20, 2021
  • Fix we fixed the ‘Display Popup to Customers when Redirecting’ setting behaviour to be based on SCOPE_STORE
1.3.7 - Feb 17, 2021
  • Compatibility now the extension is compatible with Magento 2.3.6-p1 and 2.4.2
1.3.6 - Aug 12, 2020
  • Fix we fixed the issue with the required version of Amasty_Base extension
  • Fix we resolved the problem with redirect from home page only
1.3.5 - Jun 30, 2020
  • Fix we fixed the issue with redirecting when a notification popup is enabled
1.3.4 - Jun 08, 2020
  • Fix we fixed the issue with the confirmation popup text taken not from the store view where redirect happens
1.3.3 - May 18, 2020
  • Compatibility compatibility with Magento 2.3.5 version was improved
  • Fix we fixed the error caused by PARAM_NAME constant on Magento 2.2.7 version
1.3.2 - Apr 24, 2020
  • Fix we fixed the issue with showing a redirect popup if the page was cached
  • Fix we fixed the issue with locale changing before redirect confirmation
  • Fix we fixed the issue with redirection on product pages with different URL keys.
  • Fix we fixed the issue with redirection by IP in Magento Commerce 2.3.4
1.3.1 - Mar 30, 2020
  • Fix we fixed the issue with the possibility to save empty multiselect value
1.3.0 - Jan 21, 2020
  • New now it is possible to edit the redirection popup text with the help of WYSIWYG editor
x Version 1.2.1 Last Update: Aug 12, 2019
1.2.1 - Aug 12, 2019
  • Fix the issue with redirect users from Home Page was resolved
1.2.0 - Jun 11, 2019
  • New unit tests were added to the Geo IP Data module
  • Improvement the code of the Geo IP Data module was refactored
x Version 1.1.2 Last Update: Apr 08, 2019
1.1.2 - Apr 08, 2019
  • Compatibility the compatibility of Geo IP Data module with Magento 2.1.x was enhanced
1.1.1 - Mar 26, 2019
  • Improvement IPv6 support was added to Geo IP detection.
  • Improvement the possibility to upload the latest Geo IP Database was added
1.1.0 - Mar 06, 2019
  • New introducing confirmation and notification pop-ups before redirecting. Comply with the requirements of EU regulations regarding geo-blocking and country redirects
  • New the possibility to restrict the access to a website by IP address was added
  • Improvement minor visual improvements for the extension settings in the admin panel were implemented
x Version 1.0.18 Last Update: Jan 21, 2019
1.0.18 - Jan 21, 2019
  • Improvement minor code improvement
1.0.17 - Dec 03, 2018
  • Compatibility the compatibility with the Magento Full Page Cache was enhanced
1.0.16 - Nov 21, 2018
  • Fix the issue with the redirection on product/category pages malfunction was resolved
1.0.15 - Nov 19, 2018
  • Fix the issue with wrong geolocation detection was resolved
1.0.14 - Nov 12, 2018
  • Fix the issue with the error when IP address fails to be found in the DB was resolved
1.0.13 - Nov 06, 2018
  • Fix security issues were resolved
1.0.12 - Oct 15, 2018
  • Fix the issue with the \"too many redirects\" error while selecting a store view was resolved
1.0.11 - Jul 09, 2018
  • Fix the \"Warning: strpos(): Empty needle\" error in var/report was resolved
1.0.10 - Jul 04, 2018
  • Improvement the location detection via GeoIP data was improved
1.0.9 - Jun 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
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
1.0.7 - Mar 14, 2018
  • Fixed an issue with the wrong store scope
1.0.6 - Nov 29, 2017
  • Compatibility with the FPC extension is added.
  • Improved IP address check.
  • Improved import of GeoIP data.
1.0.5 - Jul 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.
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;
  • Fix 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.
1.0.3 - Feb 27, 2017
  • Improvements for detecting IP address
  • Improvements for redirecting specific country to specified store
  • Few performance optimizations
1.0.2 - Jan 04, 2017
  • Better compatibility with full page cache
  • Minor code refactoring
1.0.1 - Jun 06, 2016
  • Possibility to enable/disable extension per each store
x Version 1.0.0 Last Update: May 27, 2024
1.0.0 - May 27, 2024
  • Initial Release
x Version 1.7.0 Last Update: Oct 28, 2024
1.7.0 - Oct 28, 2024
  • Improvement for the correct usage and functionality of the Amasty Service, it is now necessary to add the license registration key
x Version 1.6.1 Last Update: Jun 20, 2024
1.6.1 - Jun 20, 2024
  • Fix we fixed the compatibility with Magento 2.4.4
1.6.0 - Jun 17, 2024
  • New we added the Amasty IP Database Update Service, which allows you to refresh the IP database and ensure it remains consistently current
x Version 1.5.9 Last Update: Oct 26, 2023
1.5.9 - Oct 26, 2023
  • 1.5.9
  • Fix we fixed the incorrect database import by removing duplicating data and speeding up the import process so now location detection by IP works as it should
1.5.8 - Jul 31, 2023
  • Improvement we improved the module performance by adding indexes for the 'amasty_geoip_block_v6' table
1.5.7 - Apr 15, 2022
  • Improvement we switched the module to a declarative schema
1.5.6 - Feb 28, 2022
  • Fix now you can install the module on the server with the PHP version up to 8.0
1.5.5 - May 24, 2021
  • New we added a new functionality of IP forcing, which makes it possible to set a specific IP address that will be used instead of the visitor's real IP address when determining geolocation
1.5.4 - Nov 19, 2020
  • Fix we fixed the issue with importing data from CSV files
1.5.3 - May 27, 2020
  • Improvement we updated a display of GeoIP Data downloading to correspond to UI tendencies
1.5.2 - May 08, 2020
  • Fix we stopped using MyISAM engine for the extension tables
1.5.1 - Dec 11, 2019
  • Improvement we removed unused jquery libs
  • Improvement we converted geoip tables to InnoDB
x Version 1.2.2 Last Update: May 15, 2017
1.2.2 - May 15, 2017
  • Fix config cache issue
1.2.1 - Feb 27, 2017
  • Fix for importing GEO data when tables use prefixes
1.2.0 - Jan 09, 2017
  • Speed of GEO data import dramatically improved
  • Region data added
  • A number of minor improvements
x Version 1.1.2 Last Update: Dec 01, 2016
1.1.2 - Dec 01, 2016
  • Minor fix for translation
1.1.0 - Jun 06, 2016
  • Improving DB indexes for better speed
x Version 1.0.5 Last Update: Oct 28, 2015
1.0.5 - Oct 28, 2015
  • Admin routing patch (SUPEE-6788) compatibility
1.0.4 - Oct 05, 2015
  • Now using CURL PHP library to download GeoIP database files; download speed improved due to compression
1.0.3 - Sep 17, 2015
  • New version of the GeoIP database introduced. More accurate location determination.
Loading