Download the PHP package ip2location/magento2-ip2location-countrystateblocker without Composer
On this page you can find all versions of the php package ip2location/magento2-ip2location-countrystateblocker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ip2location/magento2-ip2location-countrystateblocker
More information about ip2location/magento2-ip2location-countrystateblocker
Files in ip2location/magento2-ip2location-countrystateblocker
Package magento2-ip2location-countrystateblocker
Short Description Block visitors by country or state.
License MIT
Informations about the package magento2-ip2location-countrystateblocker
IP2Location Country Blocker
This plugin enable Magento users to easily redirect or block visitors based on their geo location. Below are the key features of this plugin
- Block visitors by country
- Block visitors by IP address
- Redirect visitors to correct store by country
This plugin support the use of IP2Location Free LITE BIN database or IP2Location web service for geolocation lookup.
- IP2Location LITE BIN download path: https://lite.ip2location.com
- IP2Location web service registration path: https://www.ip2location.io
IPv4 BIN vs IPv6 BIN
Use the IPv4 BIN file if you just need to query IPv4 addresses.
Use the IPv6 BIN file if you need to query BOTH IPv4 and IPv6 addresses.
Installation Guide
-
Under the Magento installation directory, please create sub directory
app/code/Hexasoft/IP2LocationCountryBlocker
. -
Upload the files in this repository to that directory.
-
Open terminal or command line then navigate to Magento installation directory.
-
Enable IP2Location Country Blocker extension by following commands,
-
Open your web browser, login to Magento as administrator and navigate to Store > Configuration > IP2Location > Country Blocker.
- Configure the correct database path or API key. The module will use Web service as first priority, if API key is provided.