BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
MDL Local Geo Lookup icon
Maintained Tested up to 7.0.6 #13 in GeoIP

MDL Local Geo Lookup

Detect visitor location from a self-hosted IP geolocation database — no external API calls, no per-request latency, no usage limits.

Active installs20+10+ tier
Downloads · 30d92▲ +64.3% vs prev. 30d
Rating—0 reviews
Health score52/100Fair
All-time downloads395Since Jun 2026
Support resolved—No recent threads
RequiresWP 5.8PHP 7.4+
Downloads · 7d21▼ -4.5% week over week
Our verdict

Use with caution

MDL Local Geo Lookup works, but test it on a staging site before relying on it in 2026. It runs on 20+ sites and was last updated 4 months ago, and scores 52/100 on our health check.

  • Small user base (20+ active installs)
  • Very few reviews so far

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

369Jul 3Aug 16Sep 30
Yesterday7
Daily average (1y)3
Peak day54Jun 6, 2026
Last 12 months402

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where MDL Local Geo Lookup stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
GeoIP #54 217 Best GeoIP plugins →
geolocation >100 846 Best geolocation plugins →
ip address >100 4,112 Best ip address plugins →
maxmind #38 135 Best maxmind plugins →
visitor location >100 2,334 Best visitor location plugins →

Version adoption

Share of active sites per release.

  • 1.0100.0%

About MDL Local Geo Lookup

From the official readme · v1.0.0

Description

MDL Local Geo Lookup is a lightweight WordPress geolocation plugin that detects visitor location using a local IP geolocation database — no external API calls, no per-request latency, no usage limits.

The plugin automatically downloads and maintains an IP-to-city database on your own server. Every GeoIP lookup runs locally, keeping your site fast and your visitor data private.

No sign-up required. The default DB-IP City Lite source works out of the box — no account, no license key, no configuration. Activate, click one button, done.

Prefer MaxMind?
Switch to GeoLite2 City in Settings by entering a free MaxMind license key.

Why Local Geolocation?

Most IP geolocation plugins call an external API on every page load. That adds latency, creates a single point of failure, and sends your visitor IPs to a third party. MDL Local Geo Lookup keeps everything on your server:

  • Faster — database lookups in milliseconds, no HTTP round-trip.
  • More private — visitor IPs never leave your server.
  • More reliable — no API rate limits, no downtime from third-party services.
  • Unlimited lookups — no monthly quota, no paid API tiers.

Features:

  • Two database sources — DB-IP City Lite (default, no account needed) or MaxMind GeoLite2 City (free license key required).
  • One-click setup — download the geolocation database directly from your admin panel after activation.
  • Automatic updates — scheduled database refresh keeps IP data current (configurable: 1–30 days).
  • Shortcode — [mdlgeo_visitor_info] displays visitor country, city, region, postal code, timezone, and coordinates on any page or post.
  • PHP function — mdlgeo_get_visitor_geo_data() returns full location data for use in themes, plugins, or custom logic.
  • Visitor location log — optional paginated log of visitor IP addresses and detected locations in the admin panel.
  • Form builder compatible — embed the shortcode in a hidden field in Elementor Forms, Contact Form 7, WPForms, Gravity Forms, or any HTML form to capture visitor location with submissions.
  • Cloudflare compatible — automatically reads the real visitor IP from CF-Connecting-IP when Cloudflare is active.
  • Source alignment tracking — detects when the installed MMDB file does not match the selected database source and prompts you to update it.
  • GeoIP2 PHP reader bundled — no Composer, no external library downloads.
  • Secure logging — log directory protected with .htaccess and index.php to block direct web access.

Use Cases:

  • Display visitor city and country on any page
  • Pre-fill location fields in contact or lead-capture forms
  • Personalize content based on visitor country or region
  • Log visitor locations for analytics or compliance
  • Feed location data into custom plugins or theme logic

Requirements:

  • WordPress 5.8 or higher
  • PHP 7.4 or higher
  • PHP extensions: zlib, phar
  • MaxMind license key only required if you select the MaxMind GeoLite2 source

External Services

This plugin connects to third-party services only to download geolocation databases. No visitor data is transmitted to these services.

DB-IP (default)

  • What: Downloads the free DB-IP City Lite database (.mmdb format), licensed under CC BY 4.0.
  • When: On first-run setup (triggered by the admin) and on the configured auto-update schedule.
  • URL: https://download.db-ip.com/free/dbip-city-lite-{year}-{month}.mmdb.gz
  • Website: https://db-ip.com
  • Terms of Use: https://db-ip.com/db/lite.php
  • Privacy Policy: https://db-ip.com/privacy.php

MaxMind GeoLite2 (optional)

When using the MaxMind source, this plugin uses the GeoLite2 database created by MaxMind, available from https://www.maxmind.com.

Privacy Policy

Visitor location logging is disabled by default and must be explicitly enabled by the site admin in Settings.

When enabled, each frontend page load by a non-logged-in visitor appends one line to a local log file containing the serial number, timestamp, IP address, country, city, postal code, timezone, and coordinates. All data is stored on your server. No data is transmitted to external services.

Because log entries are associated only with IP addresses — not persistent identifiers such as email addresses — the plugin does not register with WordPress personal data export or erasure tools. You are responsible for disclosing this data collection in your site’s privacy policy in accordance with applicable law (e.g., GDPR, CCPA).

Installation

  1. Upload the mdl-local-geo-lookup folder to /wp-content/plugins/, or install directly from Plugins > Add New.
  2. Activate the plugin via Plugins > Installed Plugins.
  3. Click Download Now in the admin notice to fetch the DB-IP geolocation database.
  4. (Optional) Go to Settings > MDL Local Geo Lookup to switch to MaxMind GeoLite2, adjust the update interval, or enable visitor logging.

Frequently asked questions

Can I use this without creating any account?

Yes. The plugin uses the free DB-IP City Lite database by default. No account, no license key, no sign-up — it works immediately after activation.

Where do I get a MaxMind license key?

Create a free MaxMind account Log in and go to Account > Manage License Keys Generate a new license key and accept the GeoLite2 EULA if prompted Paste the key into Settings > MDL Local Geo Lookup

Where is the geolocation database stored?

The .mmdb file is stored in your WordPress uploads directory: wp-content/uploads/mdl-local-geo-lookup/. The filename depends on the selected source (DB-IP or MaxMind). The GeoIP2 PHP reader library is bundled inside the plugin folder and does not need to be downloaded separately.

How often is the database updated?

By default, every 7 days. You can set any value between 1 and 30 days in the plugin settings. DB-IP publishes a new database on the first of each month. MaxMind publishes updates on the first Tuesday of each month.

What happens if the selected source and installed database do not match?

The plugin tracks which source last downloaded the installed MMDB file. If there is a mismatch, the settings page displays a warning and prompts you to run a manual database update before relying on the data.

Does this work behind Cloudflare?

Yes. When Cloudflare is in front of your site, the plugin automatically reads the real visitor IP from the CF-Connecting-IP header.

Can I use this with form builders?

Yes. Place the [mdlgeo_visitor_info] shortcode inside a hidden field in Elementor Forms, Contact Form 7, WPForms, Gravity Forms, or any HTML form. The visitor’s detected location is submitted along with the form data.

What data does the visitor log record?

When logging is enabled, each entry contains: serial number, timestamp, IP address, country, city, postal code, timezone, and coordinates. Logging is disabled by default.

Is the visitor log publicly accessible?

No. An .htaccess file and an index.php file are created in the logs directory on activation to block direct web access.

Does this work on WordPress Multisite?

The plugin is designed for single-site installations. It can be activated per-site on a multisite network, but network-wide activation is not officially supported.

Changelog

1.0.0

  • Initial release.

Full changelog on WordPress.org →

Screenshots

Settings page — database source, license key, update interval, source alignment status, and visitor logging toggle.
Settings page — database source, license key, update interval, source alignment status…
Visitor log — paginated view of logged visitor locations.
Visitor log — paginated view of logged visitor locations.
Shortcode output — [mdlgeo_visitor_info] displaying detected location data.
Shortcode output — [mdlgeo_visitor_info] displaying detected location data.

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.

Active installs badge Rating badge Health score badge

Best MDL Local Geo Lookup alternatives

All GeoIP plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Geolocation IP Detection Geolocation IP Detection Provides geographic information detected by an IP adress. by Benjamin Pick 20K+ ★★★★★★★★★★ 4.7 (59) 4 months ago 63
2 AntiSpam for Contact Form 7 AntiSpam for Contact Form 7 A trustworthy antispam plugin for Contact Form 7. Wave goodbye to spam and keep your inbox… by Erik 10K+ ★★★★★★★★★★ 4.2 (13) 5 months ago 49
3 If-So Geolocation If-So Geolocation All-in-one geolocation. Personalized content, geolocation Dynamic Keyword Insertion… by If-So Dynamic Content 1K+ ★★★★★★★★★★ 5 (4) 3 weeks ago 77
4 Geo Controller Geo Controller Enhance your WordPress site with Geo Controller – a comprehensive plugin offering advanced… by INFINITUM FORM 1K+ ★★★★★★★★★★ 4.4 (31) 3 weeks ago 84
5 WP Engine GeoTarget WP Engine GeoTarget Create a personalized user experience based on location. by WP Engine 300+ ★★★★★★★★★★ 3.6 (15) 2 years ago 35
6 Geolocation Detector for Gravity Forms Geolocation Detector for Gravity Forms Provides a dynamic country detection for Gravity Forms . Requires GeoIP Detect Plugin. by David Davis 300+ ★★★★★★★★★★ 5 (4) 7 years ago 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) 6 years ago 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) 6 years ago 32
9 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) 4 years ago 32
10 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) 5 years ago 34

FAQ

MDL Local Geo Lookup: quick answers

Straight answers, pulled from live WordPress.org data.

Live data from WordPress.org · checked Oct 1, 2026

Is MDL Local Geo Lookup free?

Yes. MDL Local Geo Lookup is free to download and use from the official WordPress.org plugin directory.

Is MDL Local Geo Lookup safe to use in 2026?

MDL Local Geo Lookup works, but test it on a staging site before relying on it in 2026. It runs on 20+ sites and was last updated 4 months ago, and scores 52/100 on our health check.

How many websites use MDL Local Geo Lookup?

MDL Local Geo Lookup is active on 20+ WordPress websites and has been downloaded 395 times since it launched in June 2026. It was downloaded 92 times in the last 30 days.

Does MDL Local Geo Lookup work with WordPress 7.1?

MDL Local Geo Lookup is officially tested up to WordPress 7.0.6, while the latest release is 7.1.2. It may still work, but try it on a staging site first.

What PHP version does MDL Local Geo Lookup need?

MDL Local Geo Lookup requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was MDL Local Geo Lookup last updated?

The latest version, 1.0.0, was released on June 6, 2026 (4 months ago).

Who makes MDL Local Geo Lookup?

MDL Local Geo Lookup is developed and maintained by Monday Digital Lab.

What are the best alternatives to MDL Local Geo Lookup?

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

Powered by PageForge

Want thousands of pages that rank like these? Build them in an afternoon.

This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.

  • CSV, Google Sheets & API data sources
  • AI content, schema & internal links per page
  • Works with Elementor, Gutenberg, Yoast & Rank Math
  • Free on WordPress.org — no credit card
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.