Title: IPGP Geolocation
Author: Lucian Apostol
Published: <strong>2015 年 9 月 18 日</strong>
Last modified: 2023 年 2 月 3 日

---

搜尋外掛

![](https://ps.w.org/ipgp-geolocation/assets/banner-772x250.png?rev=1248467)

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

![](https://ps.w.org/ipgp-geolocation/assets/icon-128x128.png?rev=1248339)

# IPGP Geolocation

 由 [Lucian Apostol](https://profiles.wordpress.org/thedark/) 開發

[下載](https://downloads.wordpress.org/plugin/ipgp-geolocation.1.0.7.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/ipgp-geolocation/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/ipgp-geolocation/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/ipgp-geolocation/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/ipgp-geolocation/#developers)

 [技術支援](https://wordpress.org/support/plugin/ipgp-geolocation/)

## 外掛說明

Using IPGP Geolocation, you can redirect users in specific countries to another 
URL. You can add different redirect rules that applies to different countries and
different URLs.

After installation, go to IPGP Geolocation menu in your wordpress administration
panel. There you can select which countries you want to apply the redirection for,
and set a redirection URL. Add the rule and it is done.

To get the user location, the data is send to IPGP Geolocation API, located at: 
http://www.ipgp.net/geo/country.php . The API is free for fair usage. There is no
private data sent to any external server. The data exchanged between the plugin 
and the API are: your visitor IP Address without other details about the visitor,
and API key to be identified on the server and your website URL. The data sent back
by the API contains the visitor country code, country name.

When the plugin is activated, an API key is requested from the API website. The 
data sent to the API servers contains the current time, and a public number to make
sure that the API key is requested by the plugin. The data sent back contains the
API key, a secret key for authentication and the number of queries allowed for fair
usage. Fair usage consist in 20,000 queries per month. This number is subject to
change based on the load on our servers.

## 安裝方式

This section describes how to install the plugin and get it working.

 1. Upload the plugin to the `/wp-content/plugins/` directory or download it directly
    from your administration panel.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to IPGP Geolocation menu in your wordpress administration panel to add rewrite
    rules
 4. Select the countries from the drop-down list and click add. You can do this for
    multiple countries.
 5. Add the URL where you want visitors from that country to be redirected and click
    to add rule.
 6. Now, visitors coming from that country will be redirected to your specified URL

## 常見問題集

### How the plugin works ?

The plugin use the visitor IP Address to get Geolocation data from an external server.

## 使用者評論

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

### 󠀁[It doesn’t work](https://wordpress.org/support/topic/it-doesnt-work-212/)󠁿

 [BarbMil](https://profiles.wordpress.org/barbmil/) 2019 年 3 月 27 日 1 則留言

This plugin doesn’t work and there’s no reply from support even after more than 
one month. I set it to redirect visitors from a specific country to a specific link
but nothing happens and it doesn’t redirect.

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

### 󠀁[Generally works, but parameters not working](https://wordpress.org/support/topic/generally-works-but-parameters-not-working/)󠁿

 [Lobby13](https://profiles.wordpress.org/lobby13/) 2018 年 5 月 19 日 1 則留言

Giving it 4 stars because it worked in my simple test — using France geo in Tor 
browser, it redirected. The parameters in my link don’t translate properly, however.
I tried encoded and standard links. Tor browser forwards, but everything from ?=
parameter& converts to #38;. I’m not posting that information as a tech request.
The plugin hasn’t been updated in a year, so I wouldn’t expect support. I’m posting
that information for those who may want to try the plugin, but also need to use 
link parameters.

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

### 󠀁[Excelente PlugIN](https://wordpress.org/support/topic/excelente-plugin-335/)󠁿

 [grejomx](https://profiles.wordpress.org/grejomx/) 2018 年 1 月 31 日 1 則留言

Saludos. Este desconocido plugin es excelente, estoy desarrollando un sitio para
una persona que recibe trafico internacional y nacional, por la naturaleza del contenido
se tiene que dividir asi que este plugin hace ese redireccionamiento perfectamente
sin más. Este plug deberia tener una opcion IF Then Else ejemplo: IF Mexico Then
url://mexico else url://internacional tambien seria algo interesante la capacidad
de que puedan seleccionarse multiples paises al mismo tiempo, aunque seria muy laborioso
la segmentacion por continentes para poder seleccionar paises especificos. creo 
que la implementacion continental seria aun mejor. Es un excelente plugin sobre 
todos los que hay en wordpress.

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

### 󠀁[Thank you for using our plugin](https://wordpress.org/support/topic/thank-you-for-using-our-plugin-2/)󠁿

 [Lucian Apostol](https://profiles.wordpress.org/thedark/) 2017 年 1 月 12 日

Hope you like it.

 [ 閱讀全部 4 則使用者評論 ](https://wordpress.org/support/plugin/ipgp-geolocation/reviews/)

## 參與者及開發者

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

參與者

 *   [ Lucian Apostol ](https://profiles.wordpress.org/thedark/)

[將〈IPGP Geolocation〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/ipgp-geolocation)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/ipgp-geolocation/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/ipgp-geolocation/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/ipgp-geolocation/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/ipgp-geolocation/)。

## 變更記錄

#### 1.0.7

 * Tested and updated

#### 1.0.6.4

 * Fixed warning on redirection rules display

#### 1.0.6.2

 * Tested and updated to work with WordPress 5.7.2

#### 1.0.6.2

 * Tested and updated to work with WordPress 5.4.2

#### 1.0.6.1

 * Tested and updated to work with WordPress 5.3.2

#### 1.0.6

 * Fixed apikey generation issues and cleared a notice appearing

#### 1.0.5

 * Fixed few errors causing notices

#### 1.0.4

 * Fixed issue with url encoding and cleared some notices

#### 1.0.3

 * Fixed textdomain function bug

#### 1.0.2

 * Sorted country list

#### 1.0.1

 * If only one country is set, there is no need to click “add” button
 * If no redirection rules are set, then the plugin does nothing on page load

#### 1.0

 * This is the first version of the plugin

## 中繼資料

 *  版本 **1.0.7**
 *  最後更新 **4 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 2.7 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.1.12**
 *  語言
 * [English (US)](https://wordpress.org/plugins/ipgp-geolocation/)
 * 標籤:
 * [geolocation](https://tw.wordpress.org/plugins/tags/geolocation/)[javascript](https://tw.wordpress.org/plugins/tags/javascript/)
   [JSON](https://tw.wordpress.org/plugins/tags/json/)[shortcode](https://tw.wordpress.org/plugins/tags/shortcode/)
   [widget](https://tw.wordpress.org/plugins/tags/widget/)
 *  [進階檢視](https://tw.wordpress.org/plugins/ipgp-geolocation/advanced/)

## 評分

 3.8 星，滿分為 5 星

 *  [  2 個 5 星使用者評論     ](https://wordpress.org/support/plugin/ipgp-geolocation/reviews/?filter=5)
 *  [  1 個 4 星使用者評論     ](https://wordpress.org/support/plugin/ipgp-geolocation/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/ipgp-geolocation/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/ipgp-geolocation/reviews/?filter=2)
 *  [  1 個 1 星使用者評論     ](https://wordpress.org/support/plugin/ipgp-geolocation/reviews/?filter=1)

[撰寫評分](https://wordpress.org/support/plugin/ipgp-geolocation/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/ipgp-geolocation/reviews/)

## 參與者

 *   [ Lucian Apostol ](https://profiles.wordpress.org/thedark/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/ipgp-geolocation/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://www.ipgp.net)