Official WordPress plugin for ipdata.info — show a visitor's country, city, flag and security flags (proxy/VPN/Tor/hosting) via a shortcode or Gutenberg block, with optional country blocking/redirect. Powered by the free ipdata.info IP geolocation API.
Works out of the box on the free tier — 50 requests/min, no key. For higher limits, create a free API key at ipdata.info/register and paste it into Settings → IPData.info.
- Copy this folder to
wp-content/plugins/ipdata-wordpress(or install the zip via Plugins → Add New → Upload). - Activate IPData.info Geolocation.
- Configure under Settings → IPData.info (optional key, cache TTL, country rules).
Shortcode:
[ipdata_geo]
Or insert the IPData.info Geo block in the editor. Both render the current visitor's country + city + flag + security flags, escaped and cached per IP.
Optional: enable a country block or redirect rule in settings to gate access
by country_code.
This plugin sends the visitor's IP address to the third-party service
ipdata.info to resolve geolocation. See the
ipdata.info Privacy Policy. This disclosure is
also in readme.txt for WordPress.org.
ipdata.info ships official clients for many languages and platforms — see ipdata.info/docs/sdks.
GPLv2 or later © ipdata.info