Starting from version 18.104.22.168724, the Aelia Foundation Classes (also called AFC) use the new MaxMind Geolite2 Database, with support for States and Provinces. This new geolocation database is larger than the one used previously, but it offers a more accurate resolution, and it made it possible to add support for State and Province selection in the Tax Display by Country plugin.
To avoid distributing an overly large plugin, the Aelia Foundation Classes do not include the MaxMind database. Instead, the plugins can download it and install it automatically on your site. The plugin also updates the database regularly, to keep geolocation resolution accurate.
How to install the database manually
In normal circumstances, the Aelia Foundation Classes plugin downloads the GeoIP database the first time you activate it. No manual intervention is required. In case something prevents the automatic installation of the the database, you should see a message explaining how to install it manually. You can find the same instructions below, for your convenience.
Download the Geolite2 City database from the MaxMind site: http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz. This is a compressed file, which contains the actual database.
- Extract file GeoLite2-City.mmdb from the compressed archive.
- Copy the extracted file to your site, in /wp-content/uploads folder.
- Ensure that the file is writable by your WordPress installation. Its permissions should be 755, or 775. Write permissions are required for the AFC plugin to update the database automatically.
That should be all you need to do to install the GeoIP database. The Aelia Foundation Classes plugin will automatically detect it and use it when required.
You can purchase our WooCommerce plugins from our online shop.