Title: CordonAI Geo Access and Redirect
Author: CordonAI
Published: <strong>11 juin 2026</strong>
Last modified: 26 juillet 2026

---

Recherche d’extensions

![](https://ps.w.org/cordonai-geo-access-and-redirect/assets/banner-772x250.png?
rev=3623643)

![](https://ps.w.org/cordonai-geo-access-and-redirect/assets/icon.svg?rev=3623643)

# CordonAI Geo Access and Redirect

 Par [CordonAI](https://profiles.wordpress.org/cordonai/)

[Télécharger](https://downloads.wordpress.org/plugin/cordonai-geo-access-and-redirect.1.2.0.zip)

 * [Détails](https://fr.wordpress.org/plugins/cordonai-geo-access-and-redirect/#description)
 * [Avis](https://fr.wordpress.org/plugins/cordonai-geo-access-and-redirect/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/cordonai-geo-access-and-redirect/#installation)
 * [Développement](https://fr.wordpress.org/plugins/cordonai-geo-access-and-redirect/#developers)

 [Support](https://wordpress.org/support/plugin/cordonai-geo-access-and-redirect/)

## Description

CordonAI Geo Access and Redirect lets you decide who can reach your WordPress
 site
based on the visitor’s country and IP address. Everything runs through standard 
WordPress hooks — the plugin never modifies `wp-config.php`, .htaccess, or any core
file.

Country lookups use a bundled MaxMind GeoLite2 database that ships with the
 plugin,
so **no external request is made when a visitor is checked**. If you want fresher
data you can add a free MaxMind license key and update the database on demand or
weekly.

**Features**

 * Block (or allow) front-end visitors by country and by IP address.
 * Protect the login page and admin area by country/IP, with brute-force-friendly
   
   defaults — established administrators are never locked out of the dashboard.
 * IP rules support exact addresses, wildcards (`203.0.113.*`) and CIDR ranges
    (`
   203.0.113.0/24`), for both IPv4 and IPv6.
 * Allow-list that always wins over any block rule.
 * Crawler allow-list (Google, Bing, Yandex, and more) so blocking a country
    never
   hurts your search visibility.
 * Country redirects, including « keep the current path » (`%PATH%`) redirects.
 * Language-prefix URL rewriting for multilingual sites (e.g. `/en/`  `/it/`).
 * Logs and at-a-glance charts of blocked activity (24 hours / 7 days / 30 days).
 * Fully customisable block screen with a live preview.
 * Offline by design — privacy friendly, no tracking, no ads, no upsells.
 * Optional MaxMind GeoLite2 auto-update with your own license key.

### External services

This plugin can optionally connect to one external service, MaxMind, to update
 
its bundled GeoIP database. It is used only for downloading database updates and
is never contacted during normal visitor lookups.

 * What it is and what it is used for: MaxMind GeoLite2 provides the
    IP-to-country
   database the plugin uses to detect a visitor’s country. The bundled copy works
   fully offline; this service is only used to download a newer copy of that database
   when you choose to.
 * What data is sent and when: a request is sent to
    https://download.maxmind.com/
   app/geoip_download only when a site administrator has entered a MaxMind license
   key and then either clicks « Update database now » on the Settings tab or has
   enabled the weekly automatic update. The request includes your MaxMind license
   key (so MaxMind can authorise the download) and, as with any HTTP request, your
   server’s IP address. No visitor data and no site content are ever sent. If you
   do not enter a license key, the plugin makes no external requests at all.
 * Service provider: MaxMind, Inc.
    GeoLite2 End User License Agreement: https://
   www.maxmind.com/en/geolite2/eula Privacy Policy: https://www.maxmind.com/en/privacy-
   policy

## Captures d’écrans

[⌊Front-end protection with country selector and quick-select buttons.⌉⌊Front-end
protection with country selector and quick-select buttons.⌉[

Front-end protection with country selector and quick-select buttons.

[⌊Logs and blocked-activity charts.⌉⌊Logs and blocked-activity charts.⌉[

Logs and blocked-activity charts.

[⌊Block page customisation with live preview.⌉⌊Block page customisation with live
preview.⌉[

Block page customisation with live preview.

## Installation

 1. Upload the plugin folder to `/wp-content/plugins/`, or install the ZIP from the
    Plugins screen.
 2. Activate the plugin through the « Plugins » menu in WordPress.
 3. Open **CordonAI Geo** in the admin menu and configure the Front-end, Login / Admin,
    Redirects and Settings tabs.

## FAQ

### Does it call an external service to look up countries?

No. Lookups use the bundled offline database. The only optional network use is
 
downloading database updates from MaxMind when you provide a license key (see the«
External services » section above).

### Will blocking a country hurt my SEO?

Add the relevant crawlers on the Crawlers tab; they are always allowed through,

regardless of country.

### Can I lock myself out?

Login/Admin country rules could block your own access, so add your IP to the
 allow
list first. As an extra safeguard, logged-in administrators are never blocked inside
the dashboard.

### Where can I get a MaxMind license key?

Sign up for a free GeoLite2 account at maxmind.com and create a license key,
 then
paste it on the Settings tab.

## Avis

Il n’y a aucun avis pour cette extension.

## Contributeurs/contributrices & développeurs/développeuses

« CordonAI Geo Access and Redirect » est un logiciel libre. Les personnes suivantes
ont contribué à cette extension.

Contributeurs

 *   [ CordonAI ](https://profiles.wordpress.org/cordonai/)

[Traduisez « CordonAI Geo Access and Redirect » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/cordonai-geo-access-and-redirect)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/cordonai-geo-access-and-redirect/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/cordonai-geo-access-and-redirect/),
ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/cordonai-geo-access-and-redirect/)
par [RSS](https://plugins.trac.wordpress.org/log/cordonai-geo-access-and-redirect/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

#### 1.2.0

 * New: block unwanted bots by User-Agent — AI/LLM crawlers, SEO and backlink
    crawlers,
   scraping libraries, security scanners and other aggressive bots — independent
   of the country filters. Allowed crawlers always take precedence.
 * Greatly expanded the built-in bot catalogue, grouped by category.

#### 1.1.0

 * Renamed the plugin and improved WordPress.org compliance: the block page is
    
   styled with inline attributes instead of a style tag, region data is passed via
   wp_localize_script, the optional MaxMind external service is documented in this
   readme, and database updates are written only inside the uploads directory.

#### 1.0.0

 * Initial build: country and IP filtering for front-end and login/admin,
    allow-
   lists, crawler allow-list, country redirects, language-prefix rewriting, logs
   and statistics, customisable block page, offline GeoIP with optional MaxMind 
   updates.

## Méta

 *  Version **1.2.0**
 *  Dernière mise à jour **il y a 2 mois**
 *  Installations actives **Moins de 10**
 *  Version de WordPress ** 5.3 ou plus **
 *  Testé jusqu’à **7.0.7**
 *  Version de PHP ** 7.4 ou plus **
 *  Langue
 * [English (US)](https://wordpress.org/plugins/cordonai-geo-access-and-redirect/)
 * Étiquettes
 * [country block](https://fr.wordpress.org/plugins/tags/country-block/)[geo redirect](https://fr.wordpress.org/plugins/tags/geo-redirect/)
   [GeoIP](https://fr.wordpress.org/plugins/tags/geoip/)[ip block](https://fr.wordpress.org/plugins/tags/ip-block/)
   [security](https://fr.wordpress.org/plugins/tags/security/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/cordonai-geo-access-and-redirect/advanced/)

## Évaluations

Aucun avis n’a encore été envoyé.

[Votre avis](https://wordpress.org/support/plugin/cordonai-geo-access-and-redirect/reviews/#new-post)

[Tout voir](https://wordpress.org/support/plugin/cordonai-geo-access-and-redirect/reviews/)

## Contributeurs

 *   [ CordonAI ](https://profiles.wordpress.org/cordonai/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/cordonai-geo-access-and-redirect/)