This plugin has multiple IP address geolocation databases distributed by Maxmind and IP2location. Utilizing multiple data sources is an important mechanism that can complement each other when data is missing. These databases are managed by the Geolocation API library named IP Geo API which which has been separately developed as an another project.
IP Geo API can be installed with the geolocation databases in one of the following directories:
The actual storage location depends on the permission setting of the WordPress tree. If you find it’s 3. then it is necessary to adjust the permissions so that it becomes 1 or 2. to prevent the geolocation databases being removed on updating this plugin.
In some cases, you might see the following error message right after your first installation. This would be caused by a permission touble due to your server’s security configurations.
In the location information database downloaded by default, only the IP address and the corresponding country code are stored. But when you switch the type of database to another, you will be able to get the city name, coodinates of longitude and latitude.
To use this, it is necessary to install a dedicated API library. Please refer to CloudFlare & CloudFront API class library.