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

Real IP and Geo for Cloudflare

描述

From the Cloudflare Support website:

Q: Why do my server logs show Cloudflare’s IPs using Cloudflare?

A: When you sign on to Cloudflare the way your logs are displayed will change because Cloudflare
acts as a proxy. This means that your visitors are routed through the Cloudflare network. This
allows Cloudflare to stop attacks before they reach your network. It also allows Cloudflare to
speed up page load time by more efficiently routing packets and, more importantly, caching
static resources (images, javascript, css, etc.) on a very fast connection. However, as a
result, the connecting IP will always come from the Cloudflare network.

As a result, commenters’ IP will also be masked by Cloudflare. Luckily, Cloudflare sends the real
user’s IP in a separate header. This plugin saves it, as well as the user’s geo-location (also
provided by Cloudflare), and displays this information in the admin panel.

螢幕截圖

  • The admin panel with the plugin activated

安裝

  1. Upload the plugin files to the /wp-content/plugins/real-ip-and-geo-for-cloudflare directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

常見問題

Searching by clicking on the IP stopped working

That’s a known limitation.

評價

2018年11月7日
I wasn't expecting it to work as well. It provides true IP to both Gravity Forms and Woocommerce. Amazing!
閱讀全部2個評價

貢獻者及開發者

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

貢獻者

Real IP and Geo for Cloudflare 外掛目前已有 1 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Real IP and Geo for Cloudflare 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0

  • The first version of the plugin.