Title: IPGeolocation.io – Geo Redirects &amp; Content Control
Author: IPGeolocation
Published: <strong>January 5, 2026</strong>
Last modified: August 13, 2026

---

Search plugins

![](https://ps.w.org/ipgeolocation-geo-redirects-content-control/assets/banner-772x250.
png?rev=3434405)

![](https://ps.w.org/ipgeolocation-geo-redirects-content-control/assets/icon-256x256.
png?rev=3434235)

# IPGeolocation.io – Geo Redirects & Content Control

 By [IPGeolocation](https://profiles.wordpress.org/ipgeolocation/)

[Download](https://downloads.wordpress.org/plugin/ipgeolocation-geo-redirects-content-control.1.1.0.zip)

 * [Details](https://test.wordpress.org/plugins/ipgeolocation-geo-redirects-content-control/#description)
 * [Reviews](https://test.wordpress.org/plugins/ipgeolocation-geo-redirects-content-control/#reviews)
 *  [Installation](https://test.wordpress.org/plugins/ipgeolocation-geo-redirects-content-control/#installation)
 * [Development](https://test.wordpress.org/plugins/ipgeolocation-geo-redirects-content-control/#developers)

 [Support](https://wordpress.org/support/plugin/ipgeolocation-geo-redirects-content-control/)

## Description

**IPGeolocation.io – Geo Redirect & Content Control** is a powerful WordPress plugin
that allows you to control how visitors interact with your site based on their geographic
location.

The plugin uses the **ipgeolocation.io API** to determine a visitor’s country and
other metadata, enabling advanced geo-based logic without slowing down your site.

### Main Features

 * Country-based redirects (entire site, specific pages, or URL patterns)
 * Optional popup confirmation before redirect
 * Country-level access control (allow or block)
 * Conditional content shortcodes
 * Output visitor geolocation data via shortcode
 * Page and query-string exclusions
 * Redirect bypass and reset via URL parameters
 * Bot detection (search engines & social crawlers excluded)
 * Administrator-safe (admins are never redirected)
 * IP response caching using WordPress transients

### Configuration

The plugin supports the following API plans from ipgeolocation.io:

 * Developer (Free)
 * Paid

Additional security-related features are available for paid plans only.

### Shortcodes

### Display Single Geolocation Field

[ipgeo country]
 [ipgeo city] [ipgeo country_code] [ipgeo latitude] [ipgeo longitude]

Available fields include:
 ip, city, state, country, country_code, zipcode, continent,
latitude, longitude, currency, calling_code, languages, is_proxy, is_tor, is_anonymous,
cloud_provider

### Conditional Content (Show If Match)

[ipgeo_if country_code=”US,CA” logic=”OR”]
 Visible to visitors from the US or Canada.[/
ipgeo_if]

Supported attributes:
 * country * country_code * state * city * continent * is_proxy*
is_tor * is_cloud_provider * is_anonymous * logic (AND / OR)

### Conditional Content (Hide If Match)

[ipgeo_if_not country=”Germany”]
 Hidden from visitors in Germany. [/ipgeo_if_not]

### Redirect Bypass

For testing or user control, redirects can be bypassed:

 * `?geo_bypass=1` — bypass redirects for 30 days
 * `?geo_reset=1` — reset the bypass cookie

### External Services Used

This plugin relies on the **[ipgeolocation.io API](https://ipgeolocation.io/)** 
to provide its core geolocation functionality.

**API Features Used:**
 – Determines visitor **country, city, state, continent, 
latitude/longitude**, and more – Detects **proxy, VPN, Tor usage**, and cloud providers–
Enables **country-based redirects, content visibility rules, and access control**–
Caches API responses for 24 hours per IP to reduce requests and improve performance

**Important Notes:**
 – An **ipgeolocation.io API key is required**. You can obtain
one by creating a free or paid account at [ipgeolocation.io](https://ipgeolocation.io/).–
Without the API, the plugin’s core features (redirects, content rules, access control)
will not function. – All API calls respect the user’s privacy and are only used 
for geolocation purposes.

**Link to Terms of Use:** [ipgeolocation.io Terms](https://ipgeolocation.io/tos.html)

### License

This plugin is licensed under the GPL v2 or later.

## Screenshots

[⌊Country redirect rules settings⌉⌊Country redirect rules settings⌉[

Country redirect rules settings

[⌊Redirect confirmation popup⌉⌊Redirect confirmation popup⌉[

Redirect confirmation popup

[⌊Country access control settings⌉⌊Country access control settings⌉[

Country access control settings

[⌊Conditional content shortcodes⌉⌊Conditional content shortcodes⌉[

Conditional content shortcodes

## Installation

 1. Upload the plugin folder to `/wp-content/plugins/`.
 2. Activate the plugin via **Plugins  Installed Plugins**.
 3. Enter your **ipgeolocation.io API key** in the plugin settings.
 4. Configure redirect rules, exclusions, or country access rules.

## FAQ

### Does this plugin redirect logged-in administrators?

No. Administrators are automatically excluded.

### Are bots and search engines redirected?

No. Known bots (Google, Bing, Facebook, Twitter, etc.) are excluded.

### Does the plugin cache API responses?

Yes. IP data is cached for 24 hours per IP.

### Does it work with Cloudflare?

Yes. The plugin supports the `CF-Connecting-IP` header.

### Will this slow down my site?

No. API results are cached and redirects are handled efficiently.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“IPGeolocation.io – Geo Redirects & Content Control” is open source software. The
following people have contributed to this plugin.

Contributors

 *   [ IPGeolocation ](https://profiles.wordpress.org/ipgeolocation/)

[Translate “IPGeolocation.io – Geo Redirects & Content Control” into your language.](https://translate.wordpress.org/projects/wp-plugins/ipgeolocation-geo-redirects-content-control)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/ipgeolocation-geo-redirects-content-control/),
check out the [SVN repository](https://plugins.svn.wordpress.org/ipgeolocation-geo-redirects-content-control/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/ipgeolocation-geo-redirects-content-control/)
by [RSS](https://plugins.trac.wordpress.org/log/ipgeolocation-geo-redirects-content-control/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.0

 * Upgraded internal API from v2 to v3
 * Simplified plan types: Developer and Paid Plan only
 * Standard, Advanced, and Security plans auto-migrated to Paid Plan
 * Rename the plugin

#### 1.0.0

 * Initial public release
 * Country redirects with popup support
 * Country access allow/block rules
 * Conditional shortcodes
 * Bot detection and caching

## Meta

 *  Version **1.1.0**
 *  Last updated **1 week ago**
 *  Active installations **10+**
 *  WordPress version ** 5.8 or higher **
 *  Tested up to **7.1**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/ipgeolocation-geo-redirects-content-control/)
 * Tags
 * [conditional content](https://test.wordpress.org/plugins/tags/conditional-content/)
   [geo redirect](https://test.wordpress.org/plugins/tags/geo-redirect/)[geolocation](https://test.wordpress.org/plugins/tags/geolocation/)
 *  [Advanced View](https://test.wordpress.org/plugins/ipgeolocation-geo-redirects-content-control/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/ipgeolocation-geo-redirects-content-control/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/ipgeolocation-geo-redirects-content-control/reviews/)

## Contributors

 *   [ IPGeolocation ](https://profiles.wordpress.org/ipgeolocation/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/ipgeolocation-geo-redirects-content-control/)