Search Over 30,000 FREE Plugins from the Official WordPress Plugin Directory Repository

IP2Location Redirection

Redirects visitors to a blog page or a predefined URL based on their country geolocated using IP address.

Enables user to easily redirect visitors to a blog page on your site or a predefined URL based on their country geolocated using IP address.

Key Features

  • Redirects visitors to a blog page based on their country
  • Redirects visitors to a predefined URL based on their country
  • Allows you to configure multiple redirection rules as needed
  • Supports 301 & 302 redirection
  • Supports IPv4 and IPv6

This plugin supports both IP2Location BIN data and web service for geolocation queries. If you are using the BIN data, you can update the BIN data every month by using the wizard on the settings page for the accurate result. Alternatively, you can also manually download and update the BIN data file using the below links:

BIN file download: IP2Location Commercial database | IP2Location LITE database

If you are using the web service, please visit IP2Location Web Service for details.

More Information

Please visit us at http://www.ip2location.com

Author IP2Location
Profile
Contributors IP2Location
Tags 301, 302, country, country redirection, geolocation, ip-address, ip2location, IPv4, ipv6, targeted content
  1. ip2location-redirection screenshot 1

    Redirect visitor from Nigeria to http://google.com.

  1. Create ip2location-redirection folder in the /wp-content/plugins/ directory.
  2. Upload database.bin to /wp-content/ip2location-redirection/ directory.
  3. Activate the plugin through the 'Plugins' menu in WordPress.
  4. You can now start using IP2Location Redirection to redirect visitors.

Please take note that this plugin requires minimum PHP version 5.4.

  • 1.4.0 Added home page as redirection source.
  • 1.3.3 Fixed infinite loop when redirect within same domain using URL mode.
  • 1.3.2 Fixed conflicts when multiple IP2Location plugins installed.
  • 1.3.1 Added support for custom GET parameter.
  • 1.3.0 Use IP2Location PHP 8.0.2 library for lookup.
  • 1.2.7 Use latest IP2Location library for lookup.
  • 1.2.6 Fixed close sticky information panel issue.
  • 1.2.5 Redirections has been disabled on adminsitrator.
  • 1.2.4 Fix uninstall function.
  • 1.2.3 Prevent settings lost when deactivate/activate the plugin.
  • 1.2.2 Use latest IP2Location library and updated the setting page.
  • 1.2.1 The redirection source and destination will list out all possible posts & pages now.
  • 1.2.0 Multiple country selection added.
  • 1.1.15 Tested with WordPress 4.4.
  • 1.1.14 Ignore redirection in admin page.
  • 1.1.13 Fixed linking issue to database file. Prevent infinite loop if wildcard chosen.
  • 1.1.12 Fixed save issues.
  • 1.1.11 Fixed warning message in WordPress 4.3.
  • 1.1.10 Fixed redirection issues. Fixed errors with earlier version of PHP.
  • 1.1.9 Fixed compatible issues with PHP 5.3 or earlier.
  • 1.1.8 Fixed errors with PHP 5.3 or earlier.
  • 1.1.7 Fixed class name issue when upgrade from previous version.
  • 1.1.6 Fixed redirection issue in iOS devices. Use latest IP2Location library.
  • 1.1.5 Remain query string after redirected to external URL.
  • 1.1.4 Fix redirect issue when URL rewrite is using.
  • 1.1.3 Will remain query string in URL after redirection.
  • 1.1.0 Added supports for IP2Location Web Service.
  • 1.0.1 Fixed issue on activation.
  • 1.0.0 First public release.

Do I need to download the BIN file after the plugin installation?

Yes, the plugin only provide you an outdated sample BIN file.

Where can I download the BIN file?

You can download the free LITE edition at http://lite.ip2location.com or commercial edition at http://www.ip2location.com.

Do I need to update the BIN file?

We encourage you to update your BIN file every month so that your plugin works with the latest IP geolocation result. The update usually be ready on the 1st week of every calendar month.

Can I select multiple countries for redirection?

Yes, you can.

Unable to find your answer here?

Send us email at support@ip2location.com

Share  
Download
Version 1.4.0

Requires WordPress version: 2.0 or higher

Compatible up to: 4.7.2

Last Updated 13 Feb 2017

Date Added: 20 Oct 2014

Plugin Homepage

Evaluation
star1
star2
star3
star4
star5

5 stars
7 ratings
10,278 downloads

Compatibility

Not Enough Data

Reports:
Works: 0
Broken: 0