Title: Advanced GeoIP Redirect
Author: Sajjad Hossain Sagor
Published: <strong>29 April 2020</strong>
Last modified: 21 September 2026

---

Search plugins

![](https://ps.w.org/adv-geoip-redirect/assets/banner-772x250.png?rev=3296732)

![](https://ps.w.org/adv-geoip-redirect/assets/icon-128x128.png?rev=2294633)

# Advanced GeoIP Redirect

 By [Sajjad Hossain Sagor](https://profiles.wordpress.org/sajjad67/)

[Download](https://downloads.wordpress.org/plugin/adv-geoip-redirect.2.1.5.zip)

[Live Preview](https://en-gb.wordpress.org/plugins/adv-geoip-redirect/?preview=1)

 * [Details](https://en-gb.wordpress.org/plugins/adv-geoip-redirect/#description)
 * [Reviews](https://en-gb.wordpress.org/plugins/adv-geoip-redirect/#reviews)
 *  [Installation](https://en-gb.wordpress.org/plugins/adv-geoip-redirect/#installation)
 * [Development](https://en-gb.wordpress.org/plugins/adv-geoip-redirect/#developers)

 [Support](https://wordpress.org/support/plugin/adv-geoip-redirect/)

## Description

Redirect your visitors according to their geographical (country) location. Using
the Maxmind GeoIP (Lite) Database.

#### Features:

 * Redirect Visitors Based on Visitor Country.
 * Enable/Disable Redirection Anytime.
 * Development Mode for Testing (Logged-in Users Only).
 * Debug Log For All Events. Errors Logs At The Time Of Redirection, Redirect Completed
   Log.
 * Debug Log Viewer In The Admin Side.
 * Skip Redirect For Bots & Crawlers.
 * Skip Redirect Using URL Parameter.
 * Choose redirect type: 301 (Permanent) or 302 (Temporary).
 * Only Redirect Visitor When First Time Visit, Any URL (reset after 24hrs).
 * Only Redirect Visitor When First Time Visit, Global (reset after 24hrs).
 * Unlimited redirect rules with advanced condition logic.
 * Regex-based URL matching for granular control.
 * Pass Current Have URL Parameters To Target URL
 * Support for relative and absolute target URLs.
 * Redirect by include or exclude country logic.
 * Reset Plugin Settings.
 * Import/Export plugin settings across sites.

#### Why Go Pro?

 * Works with 25+ popular caching plugins and server-level caching.
 * Uses advanced technology to bypass cache for accurate redirects.
 * Access to advanced GeoIP2 database for higher accuracy.
 * Device-based redirect rules (mobile, tablet, desktop) — e.g., redirect mobile
   visitors to your app page, or desktop visitors to a full-feature landing page.
 * Detailed analytics: redirects by country, by source/destination URL, by hour,
   and by IP.
 * Tabular debug log viewer inside WordPress admin.
 * Priority email support and regular updates.

The most advanced way to redirect visitors based on their country and device — built
to work seamlessly with 25+ caching plugins and provide actionable analytics. **
Advanced GeoIP Redirect Pro** extends the free version of Advanced GeoIP Redirect
with enterprise-grade features, full cache-plugin compatibility, advanced redirect
controls, and detailed visitor analytics.

Using the MaxMind GeoIP2 Database, the plugin accurately detects visitor location
and device type, then applies your custom redirect rules instantly — even on heavily
cached websites. The Pro version also provides a full-featured debug log viewer 
and actionable analytics charts.

#### Pro Features

 * ✅ Full cache-plugin compatibility (WP Rocket, LiteSpeed Cache, W3TC, NitroPack,
   Breeze, SiteGround Optimizer, and more).
 * ✅ Faster and more accurate geolocation using MaxMind GeoIP2.
 * ✅ Enable or disable individual rule sets.
 * ✅ Add contextual notes to each rule set.
 * ✅ Device-based redirects (mobile, tablet, desktop) — create rules such as:
    - ✅ Redirect mobile visitors to an app download page.
    - ✅ Send tablet users to a simplified layout.
    - ✅ Direct desktop visitors to a full-feature landing page.
 * ✅ Condition builder for creating complex redirect rules.
 * ✅ Tabular debug log viewer with sortable columns, timestamps, status, and messages.
 * ✅ Analytics dashboard with charts: Redirects Over Time, Top Source/Destination
   Pages, Redirects by Country, Peak Hours, and Top Visitor IPs.
 * ✅ Developer-friendly hooks and filters for customization.
 * ✅ Priority Pro support and regular updates.

Get access to all of these amazing features with our [Basic Plans](https://checkout.freemius.com/plugin/20605/plan/34286/licenses/1/)
[Professional Plans](https://checkout.freemius.com/plugin/20605/plan/34326/licenses/10/)
[Business Plans](https://checkout.freemius.com/plugin/20605/plan/34327/licenses/unlimited/).

#### Supported Cache Plugins in Pro Version:

 * WP Rocket
 * LiteSpeed Cache
 * W3 Total Cache
 * WP-Optimize
 * WP Super Cache
 * Super Page Cache
 * WP Fastest Cache
 * Redis Object Cache
 * Breeze
 * NitroPack
 * Docket Cache
 * SpeedyCache
 * Cache Enabler
 * GoDaddy Cache
 * Kinsta Cache
 * WPEngine Cache
 * 10Web Booster
 * Hummingbird Performance
 * Comet Cache
 * Aruba HiSpeed Cache
 * Pantheon Advanced Page Cache
 * Speed Optimizer (SiteGround)
 * Jetpack
 * Jetpack Boost
 * Seraphinite Accelerator
 * ezCache
 * A2 Optimized WP
 * FlyingPress

## Screenshots

[⌊Settings panel for Advanced GeoIP Redirect Plugin.⌉⌊Settings panel for Advanced
GeoIP Redirect Plugin.⌉[

Settings panel for Advanced GeoIP Redirect Plugin.

[⌊Redirect Rules List panel for Advanced GeoIP Redirect Plugin.⌉⌊Redirect Rules 
List panel for Advanced GeoIP Redirect Plugin.⌉[

Redirect Rules List panel for Advanced GeoIP Redirect Plugin.

[⌊Import & Export Section⌉⌊Import & Export Section⌉[

Import & Export Section

## Installation

To add a WordPress Plugin using the built-in plugin installer:

Go to Plugins > Add New.

 1. Type in the name “Advanced GeoIP Redirect” in Search Plugins box
 2. Find the “Advanced GeoIP Redirect” Plugin to install.
 3. Click Install Now to begin the plugin installation.
 4. The resulting installation screen will list the installation as successful or note
    any problems during the install. If successful, click Activate Plugin to activate
    it, or Return to Plugin Installer for further actions.

To add a WordPress Plugin from GitHub repo / plugin zip file : 1. Go to WordPress
plugin page 2. Click Add New & Upload Plugin 3. Drag / Click upload the plugin zip
file 4. The resulting installation screen will list the installation as successful
or note any problems during the install. If successful, click Activate Plugin to
activate it, or Return to Plugin Installer for further actions.

## FAQ

### How to use this plugin?

Just after installing Advanced GeoIP Redirect plugin, Go to Settings -> Advanced
GeoIP Redirect & There Adjust Your Settings As Well As Add Your Redirect Rules. 
For Regex See Screenshots Examples.

## Reviews

![](https://secure.gravatar.com/avatar/96cd4ba1a803913cb3dbd0355864285db1abeceeb6838e0cffc87dba06587f01?
s=60&d=retro&r=g)

### 󠀁[Great plug-in – well done!](https://wordpress.org/support/topic/great-plug-in-well-done/)󠁿

 [krotilka](https://profiles.wordpress.org/krotilka/) 17 February 2025

I had a bit of trouble with the plugin at first and couldn't get it to work. So,
I reached out to Sajjad, the creator of the plugin, for help. He was incredibly 
responsive, replying to my emails within minutes, and quickly helped me get everything
up and running. It turned out the issue was on my end. I had followed some online
instructions that led me to install another plugin for geolocation based on IP addresses,
which conflicted with Sajjad's plugin. The great advantage of Sajjad’s plugin is
that it already has geolocation built-in, so there’s no need to connect or chain
multiple plugins together. This feature made everything much simpler and more efficient.
I’m really grateful for Sajjad’s help and for the quality of his plugin!

![](https://secure.gravatar.com/avatar/fadd25e739aef72e998b258059baf984635e6a6a91cd09a33a669ac47ff85315?
s=60&d=retro&r=g)

### 󠀁[Doesn’t seem to work on cached pages](https://wordpress.org/support/topic/doesnt-seem-to-work-on-cached-pages/)󠁿

 [passivedan](https://profiles.wordpress.org/passivedan/) 24 October 2024

It works initially but then stops working onces the pages have been cached. Please
update this! Or message me, its a great idea otherwise!

![](https://secure.gravatar.com/avatar/7fecfd9bce2fa5b66062ff4904fcdea2f02c6868a60703760cacb5a7baf2933e?
s=60&d=retro&r=g)

### 󠀁[Good Plug. Job well done.](https://wordpress.org/support/topic/good-plug-job-well-done/)󠁿

 [vishalrpb](https://profiles.wordpress.org/vishalrpb/) 27 July 2024

Found this plugin after trying 4 others. Other pluging drown themselves in the signup
workflows, pricing plans or code insertions. Its a pretty simple job and this plugin
shines. I was all set in under a min.

![](https://secure.gravatar.com/avatar/a4449bd37fda0274c24d784b6668e739c5c241badb432fa8b0669ad9fb5b82b8?
s=60&d=retro&r=g)

### 󠀁[Work Perfectly](https://wordpress.org/support/topic/work-perfectly-96/)󠁿

 [jashad123](https://profiles.wordpress.org/jashad123/) 1 July 2024

Good job

![](https://secure.gravatar.com/avatar/662272e4597d2fb81f4508b6d2bb2e7d40b04b09aa0f83aa39dd445326bfb233?
s=60&d=retro&r=g)

### 󠀁[Doesn’t Work](https://wordpress.org/support/topic/doesnt-work-3033/)󠁿

 [Ezz El Dean Hashish](https://profiles.wordpress.org/ezzeldean/) 14 September 2023

Doesn't Work.

![](https://secure.gravatar.com/avatar/b8f1e0a7d082daf6e875f1b54fdfaab433be286f33e0a89d73972ab87c44b8e7?
s=60&d=retro&r=g)

### 󠀁[Nice – a plugin that actually does what it claims!](https://wordpress.org/support/topic/nice-a-plugin-that-actually-does-what-it-claims/)󠁿

 [pauljwhite](https://profiles.wordpress.org/pauljwhite/) 7 September 2023

Seems to be a rarity these days, a free plugin that actually does what it claims!
Super simple to install and set up, and it just works, unlike the half dozen other
IP redirect plugins that I've tried today. Thank you so much 🙂

 [ Read all 11 reviews ](https://wordpress.org/support/plugin/adv-geoip-redirect/reviews/)

## Contributors and Developers

“Advanced GeoIP Redirect” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Sajjad Hossain Sagor ](https://profiles.wordpress.org/sajjad67/)

“Advanced GeoIP Redirect” has been translated into 2 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/adv-geoip-redirect/contributors)
for their contributions.

[Translate “Advanced GeoIP Redirect” into your language.](https://translate.wordpress.org/projects/wp-plugins/adv-geoip-redirect)

### Interested in development?

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

## Change Log

#### 2.1.5

 * Compatibility checkup for latest wp version 7.1

#### 2.1.4

 * Compatibility checkup for latest wp version 7.0

#### 2.1.3

 * Geo Location Db updated to the last version.

#### 2.1.2

 * Geo Location Db updated to the last version.

#### 2.1.1

 * Added a new feature where you can disable redirections for logged-in admins.

#### 2.1.0

 * Now it supports proxy server multiple IP detection.

#### 2.0.9

 * Geo Location Db updated to the last version.
 * Compatibility checkup for latest wp version 6.9

#### 2.0.8

 * Added skipping redirection for any url first time visit.

#### 2.0.7

 * Geo Location Db updated to the last version.

#### 2.0.6

 * Fixed fatal error because of cache library.

#### 2.0.5

 * Fixed few bugs. Recommended to update to latest version.

#### 2.0.4

 * Geo Location Db updated to the last version.

#### 2.0.3

 * Geo Location Db updated to the last version. And Added a new column in the backend
   where you can see your IP information now

#### 2.0.2

 * Fixed a small bug when getting user ip address

#### 2.0.1

 * Checked for latest wp version 6.8

#### 2.0.0

 * Geo Location Db updated to the last version. Compatibility check for wp v6.7!

#### 1.0.8

 * Geo Location Db updated to the last version. Compatibility check for wp v6.7!

#### 1.0.7

 * Plugin crash fix for old PHP version. It will work now for php starting 7.2

#### 1.0.6

 * Geo Location Db updated to the last version.
 * Compatibility check for wp v6.6!

#### 1.0.5

 * Geo Location Db updated to the last version.
 * Compatibility check for wp v6.3!

#### 1.0.4

 * Fixed ‘Only Redirect If First Time Visit (reset after 24hrs)’ issue not working
   previously.
 * Geo Location Db updated to the last version.
 * Compatibility check for wp v6.2!

#### 1.0.3

 * Geo Location Db updated to the last version. Compatibility check for wp v6.0!

#### 1.0.2

 * Geo Location Db updated to the last version. Compatibility check for wp v6.0!

#### 1.0.1

 * Infinite Redirecting To the Same page issue is resolved

#### 1.0.0

 * Initial release.

## Meta

 *  Version **2.1.5**
 *  Last updated **4 weeks ago**
 *  Active installations **1,000+**
 *  WordPress version ** 5.6 or higher **
 *  Tested up to **7.1.3**
 *  PHP version ** 8.1 or higher **
 *  Languages
 * [Chinese (China)](https://cn.wordpress.org/plugins/adv-geoip-redirect/), [Dutch](https://nl.wordpress.org/plugins/adv-geoip-redirect/)
   and [English (US)](https://wordpress.org/plugins/adv-geoip-redirect/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/adv-geoip-redirect)
 * Tags
 * [redirect](https://en-gb.wordpress.org/plugins/tags/redirect/)[redirect by country](https://en-gb.wordpress.org/plugins/tags/redirect-by-country/)
 *  [Advanced View](https://en-gb.wordpress.org/plugins/adv-geoip-redirect/advanced/)

## Ratings

 3.6 out of 5 stars.

 *  [  7 5-star reviews     ](https://wordpress.org/support/plugin/adv-geoip-redirect/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/adv-geoip-redirect/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/adv-geoip-redirect/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/adv-geoip-redirect/reviews/?filter=2)
 *  [  3 1-star reviews     ](https://wordpress.org/support/plugin/adv-geoip-redirect/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/adv-geoip-redirect/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/adv-geoip-redirect/reviews/)

## Contributors

 *   [ Sajjad Hossain Sagor ](https://profiles.wordpress.org/sajjad67/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/adv-geoip-redirect/)