2017 © Pedro Peláez
 

magento2-module magento2-ip2location-countrystateblocker

Block visitors by country or state.

image

ip2location/magento2-ip2location-countrystateblocker

Block visitors by country or state.

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

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, (*1)

  • 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., (*2)

  • 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., (*3)

Use the IPv6 BIN file if you need to query BOTH IPv4 and IPv6 addresses., (*4)

Installation Guide

  1. Under the Magento installation directory, please create sub directory app/code/Hexasoft/IP2LocationCountryBlocker., (*5)

  2. Upload the files in this repository to that directory., (*6)

  3. Open terminal or command line then navigate to Magento installation directory., (*7)

  4. Enable IP2Location Country Blocker extension by following commands,, (*8)

    php -q bin/magento cache:disable
    php -q bin/magento module:enable --clear-static-content Hexasoft_IP2LocationCountryBlocker
    php -q bin/magento setup:upgrade
    php -q bin/magento cache:enable
    
  5. Open your web browser, login to Magento as administrator and navigate to Store > Configuration > IP2Location > Country Blocker., (*9)

  6. Configure the correct database path or API key. The module will use Web service as first priority, if API key is provided., (*10)

The Versions

02/03 2018

dev-master

9999999-dev

Block visitors by country or state.

  Sources   Download

MIT

The Requires

 

magento2 redirector blocker ip2location

30/06 2017

1.0.1

1.0.1.0

Block visitors by country or state.

  Sources   Download

MIT

The Requires

 

magento2 redirector blocker ip2location