🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
Geolocation IP Detection icon
Maintenu Testé jusqu'à 7.0.9 #1 in GeoIP

Geolocation IP Detection

Provides geographic information detected by an IP adress.

Installations actives20K+10 000 +
Téléchargements · 30D3.2K▲ +8.2% vs prev. 30d
Évaluation4.7/559 avis
Score de santé57/100Juste
Téléchargements de tous les temps608KDepuis juillet 2013
Support résolu0 / 10% au cours des 2 derniers mois
A besoin deWP 5.0PHP 7.2.5+
Téléchargements · 7j765• +0.3% week over week
Notre verdict

Utiliser avec prudence

Geolocation IP Detection works, but test it on a staging site before relying on it in 2026. It runs on 20K+ sites, is rated 4.7/5 and was last updated 6 months ago, and scores 57/100 on our health check.

  • Prouvé à grande échelle sur plus de 20 000 sites actifs
  • Loved by users — 4.7/5 from 59 reviews

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

63126189Sep 4Oct 18Dec 2
Hier164
Moyenne quotidienne (1 ans)160
Jour de pointe3,7592 juin 2026
12 Derniers mois58.1K

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where Geolocation IP Detection stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
GeoIP #2 256 Best GeoIP plugins →
geolocation #3 1,009 Best geolocation plugins →
ipstack #2 12 Best ipstack plugins →
locator #25 236 Best locator plugins →
maxmind #4 173 Best maxmind plugins →

Adoption de version

Part de sites actifs par version.

  • 5.671.2%
  • 5.59.6%
  • Autres19.2%

Répartition des notes

★★★★★★★★★★ 4.7 from 59 reviews

  • 5★93.2%
  • 4★0.00%
  • 3★0.00%
  • 2★1.7%
  • 1★5.1%

About Geolocation IP Detection

From the official readme · v5.6.4

Description

Provides geographic information detected by an IP adress. This can be used in themes or other plugins, as a shortcode, or via CSS body classes. The city & country names are translated in different languages (supported languages).

Caractéristiques :

  • You can use one of these data sources (see comparison):
  • Provides these 5 functions (see API Documentation):
    • geoip_detect2_get_info_from_ip($ip, $locales = array('en'), $options = array()): Lookup Geo-Information of the specified IP
    • geoip_detect2_get_info_from_current_ip($locales = array('en'), $options = array()): Lookup Geo-Information of the current website user
    • geoip_detect2_get_current_source_description(...): Return a human-readable label of the currently chosen source.
    • geoip_detect2_get_external_ip_adress(): Fetch the internet adress of the webserver
    • geoip_detect2_get_client_ip(): Get client IP (even if it is behind a reverse proxy)
  • For the property names, see the results of a specific IP in the wordpress backend (under Tools > Geolocation IP Detection).
  • You can include these properties into your posts and pages by using the shortcode [geoip_detect2 property="country.name" default="(country could not be detected)" lang="en"] (where ‘country.name’ can be one of the other property names as well, and ‘default’ and ‘lang’ are optional).
  • You can show or hide content by using a shortcode [geoip_detect2_show_if country="FR, DE" not_city="Berlin"]TEXT[/geoip_detect2_show_if]. See Shortcode Documentation.
  • When enabled on the options page, it adds CSS classes to the body tag such as geoip-province-HE, geoip-country-DE and geoip-continent-EU.
  • If you are using a page cache, it is recommended to use the AJAX mode (see AJAX)
  • When enabled on the options page, the client IP respects a reverse proxy of the server.
  • If you are using Contact Form 7, you can use these shortcodes:
    • A select input with all countries, the detected country being selected by default: [geoip_detect2_countries mycountry]
    • A text input that is pre-filled with the detected city (or other property): [geoip_detect2_text_input city property:city lang:fr id:id class:class default:Paris]
    • Geolocation information for the email text: [geoip_detect2_user_info]
  • If you are using WP Forms, you can use this shortcode:
    • Geolocation information for the email text: [geoip_detect2_user_info]
  • Together with SVG Flags you can show the flag of the detected country: [geoip_detect2_current_flag] (see documentation)

See Documentation for more info.

How can I use these functions?

  • You could choose the currency of the store based on the country name
  • You could pre-fill the shipping country
  • You could show the store nearest to your customer
  • You show or hide content specific to a geographic target group
  • Etc. … You tell me! I’m rather curious what you’ll do with this plugin!
  • Be careful to comply to the applicable laws. For example Regulation (EU) 2018/302 …
  • If you need to get the user’s timezone, it is more accurate to use JS solutions.

System Requirements: You will need at least PHP 7.2.5 . Also, if you use the plugin WooCommerce, you’ll need at least WooCommerce 3.9.0 .

GDPR: See Is this plugin GDPR-compliant?

This extension is “charity-ware”. If you are happy with it, please leave a tip for the benefit of this charity. (See FAQ for more infos.)

Here are other ways to contribute to the development of this plugin.

This product can provide GeoLite2 data created by MaxMind, available from http://www.maxmind.com.

Dépannage

  • Does geoip_detect2_get_info_from_current_ip() return the same country, regardless of where you are visiting the site from?
  • Maybe your server has a reverse proxy configured. You can check this: Go to the options page and look for “reverse proxy”. Are there 2 IPs listed there? If so, which one corresponds to your public IP?
  • Or maybe you are using a site cache plugin. Then enable the option Disable caching a page that contains a shortcode or API call to geo-dependent functions.

More Troubleshooting Hints

Installation

  • Installer le plugin
  • Go to the plugin’s option page and choose a data source.
  • Test it by clicking on “Lookup” on the lookup page.

Journal de modifications

Automatic update & links to the backend pages now work again.

5.6.4

  • FIX: Lookup / Settings pages do not say “Sorry, you are not allowed to access this page” anymore (Regression of 5.6.3)
  • FIX: Automatic update works again (Regression of 5.6.2)

5.6.3

  • FIX: Compatibility with WordPress 7.0 (Command Palette)

5.6.2

  • UI: Showing dates now respect the wordpress timezone setting
  • Library updates

5.6.1

  • FIX [!]: Remove deprecated shortcode [geoip_detect] (Security – CVE-2025-57993). If you are still using it, use [geoip_detect2 …] instead, you might have to change the property name.
  • FIX: Compatibility with WordPress 6.7 (Textdomain loading)
  • Library updates

(5.6.0 was not released)

5.5.0

  • FIX [!]: In the datasource “hostip.info”, the region code (i.e. CA) is now correctly moved to the property mostSpecificSubdivision (previously, it was part of the property city)
  • Library updates

5.4.1

  • NEW: JS now emit events ‘geoip-detect-shortcodes-done’ and ‘geoip-detect-body-classes-done’, see https://github.com/yellowtree/geoip-detect/wiki/API:-AJAX#events
  • FIX: Remove Fatal Error in check_requirements (“Undefined constand GEOIP_DETECT_DEBUG”)

Journal des modifications complet sur WordPress.org →

Captures d'écran

Lookup page (under Tools > Geolocation Lookup)
Lookup page (under Tools > Geolocation Lookup)
Options page (under Preferences > Geolocation IP Detection)
Options page (under Preferences > Geolocation IP Detection)

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best Geolocation IP Detection alternatives

All GeoIP plugins →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
2 Antispam pour le formulaire de contact 7 Antispam pour le formulaire de contact 7 Un plugin anti-spam digne de confiance pour le formulaire de contact 7. Wave au revoir au spam et à garder votre boîte de réception… par Erik 10K+ ★★★★★★★★★★ 4.2 (13) il y a 8 mois 43
3 If-So Geolocation If-So Geolocation All-in-one geolocation. Personalized content, geolocation Dynamic Keyword Insertion… par IF-So Contenu dynamique 1K+ ★★★★★★★★★★ 5 (4) Il y a 3 mois 73
4 Geo Controller – Geolocation & Geotargeting Geo Controller – Geolocation & Geotargeting WordPress geolocation and geotargeting with IP lookup, geo redirects, dynamic content… by INFINITUM FORM 1K+ ★★★★★★★★★★ 4.4 (31) Il y a 2 jours 84
5 WP Engine GeoTarget WP Engine GeoTarget Create a personalized user experience based on location. Par moteur WP 300+ ★★★★★★★★★★ 3.6 (15) Il y a 2 ans 35
6 Geolocation Detector for Gravity Forms Geolocation Detector for Gravity Forms Provides a dynamic country detection for Gravity Forms . Requires GeoIP Detect Plugin. Par David Davis 200+ ★★★★★★★★★★ 5 (4) Il y a 7 ans 33
7 Country Caching For WP Super Cache Country Caching For WP Super Cache Extends WP Super Cache to cache by page/visitor country instead of just page. Solves "wrong… by wrigs1 200+ ★★★★★★★★★★ 4.3 (4) Il y a 6 ans 31
8 Category Country Aware WordPress Category Country Aware WordPress Make both your post content and sidebar category and/or visitor location relevant. by wrigs1 100+ ★★★★★★★★★★ 5 (3) Il y a 6 ans 32
9 WP Cloudflare GeoIP Redirect WP Cloudflare GeoIP Redirect Easily setup redirect for visitors/users from selected countries to specific URL utilizing… by webinvaders 100+ ★★★★★★★★★★ 4.3 (6) Il y a 6 ans 34
10 Preenchimento Automatico CEP Brasil Preenchimento Automatico CEP Brasil Preenchimento automático dos campos de endereço a partir de um CEP by Mestres do WP 100+ ★★★★★★★★★★ 5 (2) Il y a 5 ans 32
11 MDL Local Geo Lookup MDL Local Geo Lookup Detect visitor location from a self-hosted IP geolocation database — no external API calls… by Monday Digital Lab 50+ ★★★★★★★★★★ Aucun avis il y a 1 semaine 68

FAQ

Geolocation IP Detection: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is Geolocation IP Detection free?

Yes. Geolocation IP Detection is free to download and use from the official WordPress.org plugin directory.

Is Geolocation IP Detection safe to use in 2026?

Geolocation IP Detection works, but test it on a staging site before relying on it in 2026. It runs on 20K+ sites, is rated 4.7/5 and was last updated 6 months ago, and scores 57/100 on our health check.

How many websites use Geolocation IP Detection?

Geolocation IP Detection is active on 20K+ WordPress websites and has been downloaded 607,957 times since it launched in July 2013. It was downloaded 3,169 times in the last 30 days.

Does Geolocation IP Detection work with WordPress 7.1?

Geolocation IP Detection is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does Geolocation IP Detection need?

Geolocation IP Detection requires PHP 7.2.5 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Geolocation IP Detection last updated?

The latest version, 5.6.4, was released on June 3, 2026 (6 months ago).

Who makes Geolocation IP Detection?

Geolocation IP Detection is developed and maintained by Benjamin Pick.

What are the best alternatives to Geolocation IP Detection?

The most popular alternatives to Geolocation IP Detection are AntiSpam for Contact Form 7 (10K+ installs), If-So Geolocation (1K+ installs) and Geo Controller (1K+ installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir