這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

country-redirect

外掛說明

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

螢幕擷圖

  • 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

安裝方式

  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

常見問題集

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.

使用者評論

2021 年 9 月 24 日
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
2020 年 10 月 7 日
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.
2020 年 6 月 4 日
I was having trouble with a better known redirection plugin so I tried this one and had it up and running in seconds. Brilliant!
閱讀全部 5 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈country-redirect〉的開發相關工作。

參與者

將〈country-redirect〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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