IP2Location Tags
Displays visitor’s geolocation information, geo-targeting and customize the page content for different countries based on users location.
Solid choice
IP2Location Tags is a solid plugin choice in 2026, with a few things worth checking first. It runs on 200+ sites, is rated 3.7/5 and was last updated 4 weeks ago, and scores 76/100 on our health check.
- Actively developed — last update 4 weeks ago
- Tested with the latest WordPress (7.1)
- Momentum — downloads up 181% vs the previous 30 days
- Small user base (200+ active installs)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where IP2Location Tags stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| geo-targeting | #16 |
| geolocation | >100 |
| ip country | #57 |
| ip2location | #3 |
| localized content | #9 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 3.7 from 9 reviews
About IP2Location Tags
From the official readme · v2.14.0Description
IP2Location Tags helps you to serve specific content to website visitors based on geographic location for different countries and regions via IP address lookup.
This plugin provides a relatively easy way to detect visitors’ IP addresses and translate it into geolocation information, and then keep visitors better engaged with localized information or content that’s most relevant to them.
Key Features
- Displays visitor’s’ information such as
- Country code
- Country name
- Country flag
- Region name
- District name
- City name
- Latitude and longitude
- ZIP code
- ISP
- Domain name
- Time zone
- Net speed
- IDD code
- Area code
- Weather station code & name
- MNC, MCC, mobile carrier name
- ASN
- AS name, AS domain, AS usage type, AS CIDR
- Elevation
- Usage type
- Address type
- Category
- Customize the page content based on country or region
- Supports IPv4 and IPv6
This plugin supports both IP2Location IP geolocation BIN data and the IP2Location.io web service for IP geolocation lookup. If you are using the BIN data, you can update the BIN data every month by using the wizard on the settings page for the most accurate result. Alternatively, you can also manually download and update the BIN data file using the below links:
BIN file download: IP2Location Commercial database | IP2Location LITE database (free edition)
If you are using the IP2Location.io web service, please visit IP2Location.io for details.
Get visitor’s location information with Variable Tag
Usage example
Display visitor’s IP address, country name, region name and city name.
Your IP is {ip:ipAddress}
You are in {ip:countryName}, {ip:regionName}, {ip:cityName}
Geo-targeting: Customize the post content with IP2Location Tag
Syntax to show content for specific country
[ip:XX[,XX]..[,XX]]Your content here.[/ip]
Note: XX is a two-character ISO-3166 country code.
Example
To show the content for United States or Canada visitors only.
[ip:US,CA]Only visitors from United States or Canada can view this line.[/ip]
Syntax to show content for specific country and region
[ip:XX:YY[,XX:YY]..[,XX:YY]]Your content here.[/ip]
Note: XX is a two-character ISO-3166 country code and YY is a ISO-3166-2 sub-division code.
Example
To show the content for California or New York visitors only.
[ip:US:CA,US:NY]Only visitors from California or New York can view this line.[/ip]
Syntax to hide the content from specific country
[ip:*,-XX[,-XX]..[,-XX]]Your content here.[/ip]
Note: XX is a two-character ISO-3166 country code.
Example
All visitors will be able to see the line except visitors from Vietnam.
[ip:*,-VN]All visitors will be able to see this line except visitors from Vietnam.[/ip]
Syntax to hide the content from specific country and region
[ip:*,-XX:YY[,-XX:YY]..[,-XX:YY]]Your content here.[/ip]
Note: XX is a two-character ISO-3166 country code and YY is a ISO-3166-2 sub-division code.
Example
All visitors will be able to see the line except visitors from California.
[ip:*,-US:CA]All visitors will be able to see this line except visitors from California.[/ip]
More Information
Please visit us at https://www.ip2location.com
Installation
- Upload
ip2locationfolder to the/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Download the latest BIN database at settings page.
- You can now start using IP2Location tag to customize your post content.
Please take note that this plugin requires minimum PHP version 7.2.
Changelog
- 2.14.0 Removed the legacy IP2Location web service, added the setup wizard, added DB26 fields and DB26 product codes.
- 2.13.9 Tested up to WordPress 7.1.
- 2.13.8 Tested up to WordPress 7.0.
- 2.13.7 Tested up to WordPress 6.9.
- 2.13.6 Security fixes.
- 2.13.5 Tested up to WordPress 6.8.
- 2.13.4 Fixed web service validation error when insert both IP2Location and IP2Location.io keys.
- 2.13.3 Tested up to WordPress 6.7.
- 2.13.1 Tested up to WordPress 6.5.1.
- 2.13.0 Added ip2location.io web service support.
- 2.12.7 Tested up to WordPress 6.4
- 2.12.4 Tested up to WordPress 6.1.
- 2.12.3 Tested up to WordPress 6.0.
- 2.12.2 Fixed missing country flags.
- 2.12.1 Enhanced checking.
- 2.12.0 Updated IP2Location library.
- 2.11.1 Tested up to WordPress 5.9.
- 2.11.0 Added new address type and category fields.
- 2.10.7 Fixed pop up not closing.
- 2.10.6 Tested up to WordPress 5.8.
- 2.10.5 Fixed lookup issues with Web service.
- 2.10.4 Tested up to WordPress 5.7.
- 2.10.3 Fixed file permission issues for some users.
- 2.10.2 Fixed error reading database file.
- 2.10.1 Removed built-in database.
- 2.10.0 Added setup wizard.
- 2.9.3 Fixed error when results are not available.
- 2.9.2 Tested up to WordPress 5.6.
- 2.9.1 Removed deprecated functions.
- 2.9.0 Updated file structures to use composer for IP2Location libraries.
- 2.8.10 Tested with WordPress 5.5.
- 2.8.9 Fixed deprecation warning.
- 2.8.8 Tested with WordPress 5.4.
- 2.8.7 Fixed typo.
- 2.8.6 Minor fixes.
- 2.8.5 Added feedback request.
- 2.8.4 Tested with WordPress 5.3.2.
- 2.8.3 Updated IP2Location library to 8.1.0.
- 2.8.2 Updated documentation links.
- 2.8.1 Tested up to WordPress 5.1.1.
- 2.8.0 Upgraded IP2Location API to v2.
- 2.7.1 Added error message when IP2Location database is missing or corrupted.
- 2.7.0 Added debug log.
- 2.6.1 Minor changes.
- 2.6.0 IP2Location database update changed to use download token.
- 2.5.1 Fixed conflicts when multiple IP2Location plugins installed.
- 2.5.0 Use IP2Location PHP 8.0.2 library for lookup.
- 2.4.9 Support countryFlag feature.
- 2.4.8 Fixed uninstall function.
- 2.4.7 Prevent settings lost when deactivate/activate the plugin.
- 2.4.6 Fixed minor bug.
- 2.4.5 Use latest IP2Location library and updated the setting page.
- 2.4.4 Tested with WordPress 4.4.
- 2.4.3 Fixed issue when testing in local machine.
- 2.4.2 Fixed issue when matching region/state.
- 2.4.11 Use latest IP2Location library for lookup.
- 2.4.10 Fixed close sticky information panel issue.
- 2.4.0 Fixed various performance issues. Added IP2Location Web service support.
- 2.3.3 Support the customization of the contents based on region/state.
- 2.3.2 Fixed compatibilities with widgets.
- 2.3.1 Fixed minors issues and WordPress standards.
- 2.3.0 Fixed crashed with other IP2Location plugins.
- 2.2.0 Support database downloading on settings page. Support bracket [] to define the tag rule in addition to <&lgt;, to solve of issue of being treated as script tag by wordpress.
- 2.1.0 Initial release.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best IP2Location Tags alternatives
All geo-targeting plugins →FAQ
IP2Location Tags: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is IP2Location Tags free?
Yes. IP2Location Tags is free to download and use from the official WordPress.org plugin directory.
Is IP2Location Tags safe to use in 2026?
IP2Location Tags is a solid plugin choice in 2026, with a few things worth checking first. It runs on 200+ sites, is rated 3.7/5 and was last updated 4 weeks ago, and scores 76/100 on our health check.
How many websites use IP2Location Tags?
IP2Location Tags is active on 200+ WordPress websites and has been downloaded 30,209 times since it launched in November 2009. It was downloaded 649 times in the last 30 days.
Does IP2Location Tags work with WordPress 7.1?
Yes. The developer has tested IP2Location Tags up to WordPress 7.1.5, the latest release. It requires WordPress 4.7 or newer.
What PHP version does IP2Location Tags need?
IP2Location Tags requires PHP 7.2 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was IP2Location Tags last updated?
The latest version, 2.14.0, was released on November 6, 2026 (4 weeks ago).
Who makes IP2Location Tags?
IP2Location Tags is developed and maintained by IP2Location.
What are the best alternatives to IP2Location Tags?
The most popular alternatives to IP2Location Tags are belingoGeo (1K+ installs), Geo Content (100+ installs) and IP2Location Variables (100+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card


