Title: country-redirect
Author: Andrii
Published: <strong>اکتوبر 30, 2019</strong>
Last modified: دسمبر 25, 2021

---

Search plugins

![](https://ps.w.org/country-redirect/assets/banner-772x250.jpg?rev=2182914)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/country-redirect/assets/icon-256x256.jpg?rev=2182914)

# country-redirect

 By [Andrii](https://profiles.wordpress.org/web8moon/)

[Download](https://downloads.wordpress.org/plugin/country-redirect.1.3.3.zip)

 * [Details](https://ps.wordpress.org/plugins/country-redirect/#description)
 * [Reviews](https://ps.wordpress.org/plugins/country-redirect/#reviews)
 *  [Installation](https://ps.wordpress.org/plugins/country-redirect/#installation)
 * [Development](https://ps.wordpress.org/plugins/country-redirect/#developers)

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

## Description

The plugin very useful for companies (such as Alfa Romeo, Bosch, Biir, Siemens) 
and blogs who have different web-sites for not logged in visitors from different
countries.
 It creates Settings page named Country Redirect in the WordPress’s admin
section where it is possible to point redirect for any country in the world. And
when unauthorized visitor visits the frontend site, this visit will be redirected
to URL matched the country he visits from with the WordPress default `302` status.
The aim of plugin is reliable country recognition of both desktop and mobile visitors
using three independent determining engines based on visitor’s IP. The using of 
plugin is pretty simple and does not require of any special or programming skills.

If you have any suggestions or need some special function, please let me know.

### Translations

 * English – default
 * Ukrainian: Українська

## Screenshots

 * [[
 * The screenshot shows country recognition engine settings. You can see at the 
   screenshot, that by default, remote ip-api service is turned off, but if you 
   use the plugin for non commercial purposes you can turn it on. More information
   at https://ip-api.com/
 * [[
 * The screenshot shows redirection settings
 * [[
 * The screenshot shows whitelist settings

## Installation

 1. Upload the plugin into the `/wp-content/plugins/` directory, or install the plugin
    through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Use the Settings->Country Redirect to configure the plugin

## FAQ

### Whom will useful this plugin to

The plugin very useful for companies (such as Alfa Romeo, Bosch, Biir, Siemens) 
and blogs who have different web-sites for not logged in visitors from different
countries.

### What is plugin exactly do

The plugin creates Settings page named Country Redirect in the WordPress’s admin
section where it is possible to point redirect for any country in the world.

When unauthorized visitor visits the frontend site, this visit will be redirected
to URL matched the country he visits from with the WordPress default `302` status.

This plugin does not store any data.

### Has the country determination reliable

Both desktop and mobile visitors should be determined correctly using three independent
determining engines based on visitor’s IP.

### Does the plugin uses any 3rd party service

Yes. The plugin uses three independent 3rd party services for determine visitor’s
country by IP:
 First service is “Sypex Geo”. It’s free for using both commercial
and non commercial purposes. More at https://sypexgeo.net/ru/faq/ Second service
is “GeoLite2 Free”. It’s distributed under the Creative Commons Attribution-ShareAlike
4.0 International License. More at https://dev.maxmind.com/geoip/geoip2/geolite2/.
This product includes GeoLite2 data created by MaxMind, available from [https://www.maxmind.com](https://www.maxmind.com).
Third service is “ip-api”. This is online service and it’s free for non commercial
using only. By default, it switched off when plugin activated. More at https://ip-
api.com/

### Does it need special skills for using

The using of plugin does not require of any special or programming skills.

### If I need something special

Everybody who wants to improve the plugin or to suggest some features are welcome.

## Reviews

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

### 󠀁[Causes URL redirect loops with translation plugins – Not maintained](https://wordpress.org/support/topic/causes-url-redirect-loops-with-translation-plugins-not-maintained/)󠁿

 [whizzbyte](https://profiles.wordpress.org/whizzbyte/) اکتوبر 25, 2024

This plugin has created significant issues on my website by causing infinite redirect
loops with my translation setup (Falang). The plugin has not been updated in 3 years(
last update in 2021) and appears to be abandoned. Major issues: – Creates redirect
loops with translated URLs (/de/ pages) – Conflicts with modern translation plugins-
No compatibility with common SEO plugins like Rank Math – No updates for 3+ years-
Caused hours of troubleshooting before identifying it as the source I would strongly
advise using alternative solutions that are actively maintained.

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

### 󠀁[Works perfect to me](https://wordpress.org/support/topic/works-perfect-to-me-2/)󠁿

 [Kousekmusic](https://profiles.wordpress.org/kousekmusic/) دسمبر 17, 2021

Works perfect to me. Thank you.

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

### 󠀁[Can you add an option to redirect to multiple URL?](https://wordpress.org/support/topic/can-you-add-an-option-to-redirect-to-multiple-url/)󠁿

 [innowebs24](https://profiles.wordpress.org/innowebs24/) سپتمبر 24, 2021

In my case I need to redirect multiple URL, for example https://website.com/anypage/
to https://anotherwebsite.net/anypage/ This plugin only redirects to 1 URL, if you
add that option I would definitely use it and give it a 5 star rating

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

### 󠀁[Works exactly as you’d hope!](https://wordpress.org/support/topic/works-exactly-as-youd-hope/)󠁿

 [iangeek](https://profiles.wordpress.org/iangeek/) اکتوبر 7, 2020

Perfect example of a narrow-use plugin that does a single task extremely well, without
padding it out with lots of fluff. Like one of the other reviewers, I’d been struggling
with a more well known and well used GEO redirection plugin with no luck. This one
worked first time.

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

### 󠀁[Thank you for the great work!](https://wordpress.org/support/topic/thank-you-for-the-great-work/)󠁿

 [puredisaster](https://profiles.wordpress.org/puredisaster/) جولای 14, 2020

The plugin is very easy to setup it works straight out of the box. It is just what
I need – thank you!

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

### 󠀁[Great plugin – Easy to use](https://wordpress.org/support/topic/great-plugin-easy-to-use-212/)󠁿

 [markthedoc](https://profiles.wordpress.org/markthedoc/) جون 4, 2020

I was having trouble with a better known redirection plugin so I tried this one 
and had it up and running in seconds. Brilliant!

 [ Read all 6 reviews ](https://wordpress.org/support/plugin/country-redirect/reviews/)

## Contributors & Developers

“country-redirect” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Andrii ](https://profiles.wordpress.org/web8moon/)

[Translate “country-redirect” into your language.](https://translate.wordpress.org/projects/wp-plugins/country-redirect)

### Interested in development?

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

## Changelog

#### 1.3.3

 * add bot recognition by User Agent substring
 * Update SxGeo database to 2021-12-19
 * Update GeoIP database to 2021-12-21

#### 1.3.2

 * Correct SxGeo.php to meet PHP7.4 requirements
 * Update SxGeo database to 2021-04-30
 * Update GeoIP database to 2021-05-11

#### 1.3.1

 * Change updating algorithm to avoid using WordPress’s action upgrader_process_complete.
   
   Please, check your bot whitelist settings carefully.

#### 1.3

 * Add interface tab for whitelist settings
 * Eliminate strict settings for redirect to different domain zones
 * Update local IP databases

#### 1.2

 * Add whitelist IPs for Yandex bot and loading speed services
 * Bug fixes
 * Performance improvement

#### 1.1

 * Add whitelist IPs for Alexa, Bing, DuckDuck, Google, Yandex
 * Update databases

#### 1.0

 * The first release of the plugin

## Meta

 *  Version **1.3.3**
 *  Last updated **4 کلونه ago**
 *  Active installations **400+**
 *  WordPress version ** 4.7 or higher **
 *  Tested up to **5.8.13**
 *  PHP version ** 7.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/country-redirect/)
 * Tags
 * [country](https://ps.wordpress.org/plugins/tags/country/)[geo](https://ps.wordpress.org/plugins/tags/geo/)
   [ip](https://ps.wordpress.org/plugins/tags/ip/)[redirect](https://ps.wordpress.org/plugins/tags/redirect/)
   [redirect by country](https://ps.wordpress.org/plugins/tags/redirect-by-country/)
 *  [Advanced View](https://ps.wordpress.org/plugins/country-redirect/advanced/)

## Ratings

 4.2 out of 5 stars.

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

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

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

## Contributors

 *   [ Andrii ](https://profiles.wordpress.org/web8moon/)

## Support

Got something to say? Need help?

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