This plugin allows you to use the GeoLite2 database from MaxMind to determine in which country users are located in.
|Author||The b2evo Group|
|Last tested in version||6.11.4|
This plugin looks up the IP address of the users to determine what country they are connecting from.
This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.
If a users uses a proxy server in another country (either for practical or for malicious reasons), the country you will see will be the one where the proxy server is located.
GeoLite2 Country DB file
Before using this plugin, the GeoLite2 Country database must exist in your site. In order to do this, you need to download the GeoLite2 Country DB (in binary format) from MaxMind’s download page, uncompress it, and then upload the
GeoLite2-Country.mmdb file to the folder:
With the several download options in the developer’s site linked above, please note the correct link where you will find the required file:
You can also simply click on the Download update now! button found in the plugin settings to automatically download and install the DB file directly from MaxMind’s website.
Detect Country on Registration
When a user tries to register to the site, this plugin can automatically select the detected country from the list or it can hide the country selector from the user if a country is successfully detected.
Detect Country at Account Creation
Check this option if you would like to force the plugin to automatically assign the detected country when a user account is created.
Tool: Find Registration Country for All Users
This plugin provides an Admin Tool that performs the following tasks:
- search for all users whose Registration country field have not yet been filled
- get the IP address from where each user created their account or connected to the site for the first time
- compare those IP address against the database of the plugin and tries to match them accordingly with a country,
- if a match is found, automatically update the user’s profile.
For more information about the tool, please read this page: GeoIP plugin - Find Registration Country for all Users