WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by rammichael v1.0.1

Real IP and Geo for Cloudflare

The plugin saves and displays visitors' real IP and location, instead of Cloudflare's.

Real IP and Geo for Cloudflare

The facts

Rating
5★ from 3
Active installs
100+
Price
Free
Last updated
13 Feb 2025
Added
May 2018
Requires WP
4.6
Tested up to
WP 6.7.7
Requires PHP
5.2.4
Downloads
3,614

Our analysis

AI-assisted

Real IP and Geo for Cloudflare is a WordPress plugin that helps you capture the real IP addresses and geo-locations of your visitors when using Cloudflare. Since Cloudflare acts as a proxy, it masks the original IP addresses, but this plugin retrieves the actual user data from Cloudflare's headers and displays it in the admin panel.

This plugin is suitable for website owners who use Cloudflare and want to maintain accurate visitor logs and analytics. It is particularly useful for those who need to track user locations for security or content delivery purposes.

Best for: Website owners using Cloudflare who need accurate visitor tracking.

What it does well

  • Captures real user IP addresses from Cloudflare headers
  • Displays geo-location information in the admin panel
  • Free to use from the WordPress.org directory
  • Compatible with WordPress up to version 6.7.7
  • Lightweight with 100 active installs

Where it falls short

  • Limited information available about additional features
  • Requires Cloudflare to function properly

Verdict

The plugin effectively addresses the issue of masked IP addresses when using Cloudflare, making it a practical choice for relevant users. However, its functionality is dependent on the use of Cloudflare.

From the developer

rammichael's own description of Real IP and Geo for Cloudflare, lightly tidied.

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.

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for content delivery.

FluentSMTP

Free WP Mail SMTP plugin - fix WordPress email deliverability with Gmail, Amazon SES, SendGrid, Mailgun, Cloud...

Free 600k+ installs 4.8★ (400)
Smush

Smush

93

Compress and optimize images, enable lazy load, serve WebP & AVIF, and speed up your site with a global im...

Free 1M+ installs 4.8★ (6,051)
W3 Total Cache

Search Engine (SEO) & Performance Optimization (WPO) via caching. Integrated caching: CDN, Page, Minify, O...

Free 900k+ installs 4.4★ (5,420)
Super Page Cache

Boost PageSpeed, SEO, and Core Web Vitals with full page caching, JS/CSS optimization, media optimization, and...

Free 70k+ installs 4.8★ (506)
WP Fastest Cache

The simplest and fastest WP Cache system

Free 1M+ installs 4.9★ (4,224)
SpeedyCache

SpeedyCache is a WordPress cache plugin that helps you improve performance of your WordPress site by caching,...

Free 600k+ installs 4.4★ (30)