Title: Real IP and Geo for Cloudflare
Author: rammichael
Published: <strong>30. Mai 2018</strong>
Last modified: 13. Februar 2025

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/real-ip-and-geo-for-cloudflare.svg)

# Real IP and Geo for Cloudflare

 By [rammichael](https://profiles.wordpress.org/rammichael/)

[Download](https://downloads.wordpress.org/plugin/real-ip-and-geo-for-cloudflare.1.0.1.zip)

 * [Details](https://de-ch.wordpress.org/plugins/real-ip-and-geo-for-cloudflare/#description)
 * [Reviews](https://de-ch.wordpress.org/plugins/real-ip-and-geo-for-cloudflare/#reviews)
 *  [Installation](https://de-ch.wordpress.org/plugins/real-ip-and-geo-for-cloudflare/#installation)
 * [Development](https://de-ch.wordpress.org/plugins/real-ip-and-geo-for-cloudflare/#developers)

 [Support](https://wordpress.org/support/plugin/real-ip-and-geo-for-cloudflare/)

## Description

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.

Note that when the blog is served directly to the internet (not through Cloudflare),
anyone can
 spoof any IP address and geo-location by specifying any value in the
request headers.

## Screenshots

[⌊The admin panel with the plugin activated⌉⌊The admin panel with the plugin activated⌉[

The admin panel with the plugin activated

## Installation

 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

## FAQ

### Searching by clicking on the IP stopped working

That’s a known limitation.

## Reviews

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

### 󠀁[Great little plugin](https://wordpress.org/support/topic/great-little-plugin-367/)󠁿

 [Dave](https://profiles.wordpress.org/davidstromberg/) 22. Mai 2025

works like a charm, cheers

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

### 󠀁[Works Great!](https://wordpress.org/support/topic/works-great-5360/)󠁿

 [taropaa](https://profiles.wordpress.org/taropaa/) 7. November 2018

I wasn't expecting it to work as well. It provides true IP to both Gravity Forms
and Woocommerce. Amazing!

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

### 󠀁[It works](https://wordpress.org/support/topic/it-works-1455/)󠁿

 [theerasan_m@yahoo.com](https://profiles.wordpress.org/theerasan_myahoocom/) 23.
Juli 2018

Great plugin, Works well with our website! Great Job!

 [ Read all 3 reviews ](https://wordpress.org/support/plugin/real-ip-and-geo-for-cloudflare/reviews/)

## Contributors & Developers

“Real IP and Geo for Cloudflare” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ rammichael ](https://profiles.wordpress.org/rammichael/)

“Real IP and Geo for Cloudflare” has been translated into 1 locale. Thank you to
[the translators](https://translate.wordpress.org/projects/wp-plugins/real-ip-and-geo-for-cloudflare/contributors)
for their contributions.

[Translate “Real IP and Geo for Cloudflare” into your language.](https://translate.wordpress.org/projects/wp-plugins/real-ip-and-geo-for-cloudflare)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/real-ip-and-geo-for-cloudflare/),
check out the [SVN repository](https://plugins.svn.wordpress.org/real-ip-and-geo-for-cloudflare/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/real-ip-and-geo-for-cloudflare/)
by [RSS](https://plugins.trac.wordpress.org/log/real-ip-and-geo-for-cloudflare/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.1

 * Added basic validation for the IP and geo-location formats.

#### 1.0

 * The first version of the plugin.

## Meta

 *  Version **1.0.1**
 *  Last updated **2 Jahren ago**
 *  Active installations **100+**
 *  WordPress version ** 4.6 or higher **
 *  Tested up to **6.7.10**
 *  PHP version ** 5.2.4 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/real-ip-and-geo-for-cloudflare/)
   und [Russian](https://ru.wordpress.org/plugins/real-ip-and-geo-for-cloudflare/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/real-ip-and-geo-for-cloudflare)
 * Tags
 * [cloudflare](https://de-ch.wordpress.org/plugins/tags/cloudflare/)[geo](https://de-ch.wordpress.org/plugins/tags/geo/)
   [ip](https://de-ch.wordpress.org/plugins/tags/ip/)[location](https://de-ch.wordpress.org/plugins/tags/location/)
 *  [Advanced View](https://de-ch.wordpress.org/plugins/real-ip-and-geo-for-cloudflare/advanced/)

## Ratings

 5 von 5 Sternen.

 *  [  3 5-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/real-ip-and-geo-for-cloudflare/reviews/?filter=5)
 *  [  0 4-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/real-ip-and-geo-for-cloudflare/reviews/?filter=4)
 *  [  0 3-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/real-ip-and-geo-for-cloudflare/reviews/?filter=3)
 *  [  0 2-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/real-ip-and-geo-for-cloudflare/reviews/?filter=2)
 *  [  0 1-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/real-ip-and-geo-for-cloudflare/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/real-ip-and-geo-for-cloudflare/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/real-ip-and-geo-for-cloudflare/reviews/)

## Contributors

 *   [ rammichael ](https://profiles.wordpress.org/rammichael/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/real-ip-and-geo-for-cloudflare/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://rammichael.com/donate)