Will the module work on Magento Cloud with Fastly?
Starting from version 1.7.0, the GeoIP Redirect extension works with Fastly cache, but requires a few changes in the configuration for that. Please, navigate to Advanced > System > Full Page Cache > Custom vcl snippet and setup the following settings:
Type: recv
priority: 100 (default)
vcl:
if (req.http.Cookie !~ "geoip_redirect_for_varnish"
&& req.url !~ "^/(pub/)?(media|static)/.*"
&& req.url !~ "/graphql"
&& !req.http.x-long-cache
&& req.http.X-Requested-With != "XMLHttpRequest"
) {
return (pass);
}
After that, please save the settings. These changes will automatically be pulled into the Fastly config.
Related Articles
How does the GeoIP Redirect module work with Cloudflare?
There is a known issue with using the GeoIP Redirect module with Cloudflare. It occurs due to the actual IP address of a customer being replaced by the proxy IP. To introduce compatibility between Cloudflare and the GeoIP Redirect module, follow the ...
Is the GeoIP Redirect module compatible with Varnish?
Starting from version 1.7.0, the GeoIP Redirect extension does work with Varnish cache, but requires a few changes in the web server configuration for that. Please contact your hosting provider on this matter or follow the steps below. Step 1. Open ...
Why GeoIP Redirect module does not work when using Amasty Service?
In order for the module to redirect customers correctly, the IP database should be first imported in Stores → Configuration → Amasty Extensions → GeoIP Data. In case Amasty Service is used for IP Database Update Settings in Stores → Configuration → ...
Will the module work on Magento x.x?
We provide compatibility of our modules with currently supported Magento versions (in accordance with Magento lifecycle policy ). For greater convenience, we've set up an approximate schedule for Magento versions that we test and support. Tested ...
Will the module work with the Magento MSI functionality disabled?
Starting from version 2.1.2, the dependency on Magento MSI was removed from a basic build and moved to a separate module component. The extension works on single-source installations out of the box, and the compatibility with MSI is added with an ...