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

Foxlis Geo

描述

This free plug-in allows you to get your website visitor’s geo-location by an ip-address.
If you need to redirect your visitor based on his city or country you can do that by using simple interface.
Also you can ask is visitor’s city or country like detected and forward him to specific page or add query params.

Advantages:

  • Multi-language result
    • English
    • Chinese
    • French
    • Russian
    • German
    • Spanish
    • Japanese
    • Portuguese
  • High speed getting location (~20 ms)
  • Redirect by PHP or JavaScript
  • Save geo-location results to visitor session
  • Simple code usage
  • Developer mode with fake ip-address
  • Bots filter
  • JSON API for independent developing

  • Unlimited redirect settings

    • Option: Ask a question for redirect
    • Option: Redirect only one time per session
    • Option: Redirect always

Simple backend usage:

  • Get city <?php foxlis_geo()->getCity(); ?>
  • Get country <?php foxlis_geo()->getCountry(); ?>
  • Get continent <?php foxlis_geo()->getContinent(); ?>
  • Get subdivisions <?php foxlis_geo()->getSubdivisions(); ?>
  • Get accuracy radius <?php $locationEntity = foxlis_geo()->getLocation(); $accuracyRadius = $locationEntity->getAccuracyRadius(); ?>
  • Get latitude <?php $locationEntity = foxlis_geo()->getLocation(); $latitude = $locationEntity->getLatitude(); ?>
  • Get longitude <?php $locationEntity = foxlis_geo()->getLocation(); $longitude = $locationEntity->getLongitude(); ?>
  • Get time zone <?php $locationEntity = foxlis_geo()->getLocation(); $timeZone = $locationEntity->getTimeZone(); ?>

Get visitor location by JSON API using URL-path: /wp-json/foxlis-geo/v1/data/

Redirect By Geo Location Video Tutorial:

Credits

螢幕截圖

  • Settings
  • Redirect
  • Development
  • About
  • Aks a question for redirect
  • Set question for redirect in options
  • Filter API requests

評價

2021年8月22日 1 reply
Tried multiple times to redirect by following the instructions, have contacted the plugin owner and still no response. Not worth it.
閱讀全部1個評價

貢獻者及開發者

“Foxlis Geo” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Foxlis Geo 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

2.8.0

  • Improve JS, fix js script scope

2.7.6

  • Redirect engine warning notice

2.7.5

  • Drop redirect js file cache

2.7.4

  • Fix bug with empty redirect options

2.7.3

  • Fix bug with empty ignore agents list and empty ignore ips list

2.7.2

  • Verify SSL

2.7.1

  • Fix bug when link was displayed at the plugins menu

2.7.0

  • Add settings link to the plugins menu

2.6.1

  • Fix redirect options link

2.6.0

  • Add filter options, remove deactivation hook

2.5.0

  • Improve https requests and api requests with account key

2.4.5

  • Fix api permission notice

2.4.4

  • Fix include_once warning on bootstrap

2.4.3

  • More flexible css for external changes

2.4.2

  • Add language option description

2.4.1

  • Fix bug for once redirect in frontend

2.4.0

  • Add frontend redirect engine
  • Add api
  • Bug fixes

2.3.0

  • Add possibility to ask question for redirect
  • Add maximum request time delay
  • Bug fixes

2.2.2

  • Code optimize, improve redirect stability

2.2.1

  • Fix matching from slashes

2.2

  • Fix bug with empty from condition

2.1

  • Fix bug with from condition

2.0

  • Refactoring redirect
  • Add once redirect option
  • Redirect speed improve

1.6

  • Redirect once option

1.5

  • Redirect value case insensitive

1.4

  • Improve stability

1.3

  • Add api requests cache and icon

1.2

  • Fix when redirect prevent login

1.1

  • Improve opportunities for redirects

1.0

  • First stable version