WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Pierre Lannoy v4.5.0

IP Locator

Country and language IP-based detection for WordPress. Fast, reliable, plug & play.

IP Locator

The facts

Rating
5★ from 1
Active installs
500+
Price
Free
Last updated
18 Aug 2026
Added
Apr 2020
Requires WP
6.4
Tested up to
WP 7.1
Requires PHP
8.2
Downloads
21,509

Our analysis

AI-assisted

IP Locator is a WordPress plugin that detects the country and language of your site visitors. It provides various shortcodes to display this information, including country names, languages, and flags. The plugin is designed to be fast and reliable, making it suitable for developers and site owners who want to enhance user experience based on visitor location.

The plugin offers features like conditional shortcodes, automatic data updates, and compatibility with multisite installations. It also supports caching mechanisms to improve performance and provides WP-CLI commands for advanced users to manage settings and view analytics.

Best for: This plugin is best for WordPress site owners and developers who want to implement location-based features.

What it does well

  • Fast and reliable country and language detection
  • Multiple shortcodes for displaying visitor information
  • Automatic updates without manual data imports
  • Supports caching mechanisms for improved performance
  • Compatible with multisite installations

Where it falls short

  • Limited information on specific use cases or user feedback

Verdict

IP Locator is a useful tool for enhancing user engagement through location detection. Its features cater well to those looking for a straightforward solution to display visitor information.

From the developer

Pierre Lannoy's own description of IP Locator, lightly tidied.

IP Locator is a country and language detection tool for WordPress. It is fast, reliable and plug & play.

It can detect and render the country, the main language and the country flag of each visitor of your site. It provides:

  • a strong, accurate and ultra-fast IP and country detection;
  • many shortcodes to display country names, languages and flags (emoji or vectorized);
  • a shortcode to conditionally hide or show strings or other shortcodes;
  • a CSS modifier to add a country-specific class to the body tag of your site;
  • an automatic system to be always up to date (no API key, no IP data files to manually import);
  • a full-featured API for plugins / themes developers.

For full details, you can browse the shortcodes list or the API description (for developers).

IP Locator can be used too to report the following main items and characteristics:

  • KPIs: number of detected countries and languages, accesses breakdown and detection ratio;
  • countries for real humans with public IPs;
  • languages for real humans with public IPs;
  • metrics variations;
  • metrics distributions;
  • full list of countries per channel;
  • full list of countries per client (requires the free Device Detector plugin).

Technically, IP Locator:

  • works on dedicated or shared servers;
  • can detect the source IP even behind proxies or load-balancers;
  • can use AWS CloudFront, Cloudflare and Apache mod_geoip to speed-up detection;
  • natively supports APCu caching(1) and all other dedicated object caching mechanisms, like Memcached or Redis;
  • has a minimal footprint in the page rendering time;
  • runs its data updates in background, without impact on the website speed;
  • is fully compatible with multisites;
  • natively supports names and languages localizations(2).

(1): APCu needs to be activated on your server if you want to use it in IP Locator.

(2): PHP Intl extension needs to be activated on your server if you want to use it in IP Locator.

IP Locator uses IP data I curate myself and I publish via my own servers exclusively for IP Locator. Data is CC0 licensed.
IP Locator accesses this service on a regular basis (if the option is checked) to maintain an up-to-date version of the data.

IP Locator supports an extensive set of WP-CLI commands to:

  • get location detail: see wp help location describe for details;
  • display IP Locator status: see wp help location status for details;
  • toggle on/off main settings: see wp help location settings for details;
  • display location and languages statistics: see wp help location analytics for details.

For a full help on WP-CLI commands in IP Locator, please read this guide.

IP Locator is part of PerfOps One, a suite of free and open source WordPress plugins dedicated to observability and operations performance.

IP Locator is a free and open source plugin for WordPress. It integrates many other free and open source works (as-is or modified). Please, see ‘about’ tab in the plugin settings to see the details.

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for making sites fast.

WP-Optimize

Get caching and more with this powerful cache plugin. Cache, optimize images, clean your database and minify f...

Free 1M+ installs 4.8★ (2,606)
LiteSpeed Cache

All-in-one unbeatable acceleration & PageSpeed improvement: caching, image/CSS/JS optimization...

Free 7M+ installs 4.8★ (2,764)
EWWW Image Optimizer

Comprehensive image optimization with WebP, AVIF, Lazy Load, and more. Optimize images automatically for Faste...

Free 1M+ installs 4.8★ (1,838)
Under Construction

Easy to use Under Construction Page & Coming Soon Page. Enable Under Construction Mode in seconds & sh...

Free 600k+ installs 4.8★ (1,285)
Smush

Smush

93

Compress and optimize images, enable lazy load, serve WebP & AVIF, and speed up your site with a global im...

Free 1M+ installs 4.8★ (6,051)
Converter for Media

Speed up your website by using our WebP & AVIF Converter. Optimize images and serve WebP and AVIF images i...

Free 500k+ installs 4.9★ (1,097)