Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

country-redirect

Beskrivning

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: Українська

Skärmdumpar

  • 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

Vanliga frågor

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.
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.

Recensioner

25 oktober 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.
24 september 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
7 oktober 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.
Läs alla 6 betyg

Bidragsgivare och utvecklare

”country-redirect” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”country-redirect” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

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