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.

Real IP


Correct comment’s ip address with X-Forwarded-For http header if you are behind a proxy or load balancer. There is no setting. It should start working once you activate it.

Change log:

  • 3/21/2009 1.3: Fixed a bug causing fatal error.
  • 3/13/2009 1.2: PHP 4.0 support.
  • 1.1: Data validation and reject private ips.


  1. Upload real-ip.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Post a comment to see whether it works.

Contributors & Developers

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


Translate “Real IP” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.