Plugin info

Total downloads: 11,860
Active installs: 300
Total reviews: 5
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 12/27/2012 (4752 days ago)
Added to WordPress: 9/25/2012 (13 years old)
Minimum WordPress version: 3.0.1
Tested up to WordPress version: 3.3.2
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 4752 days ago • 5 reviews

22/100

Is Proxy Real IP abandoned?

Possibly abandoned (last update 4752 days ago).

Compatibility

Requires WordPress: 3.0.1
Tested up to: 3.3.2
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

No similar plugins found yet.

Description

If you’re running WordPress behind a proxy, chances are that the IP address of the user browsing your site won’t show up, instead WordPress will see the IP address of your proxy server. Proxy Real IP sets this straight by looking at the HTTP headers that the proxy sends.

Proxy Real IP looks in the following HTTP headers:
X-FORWARDED-FOR, X-FORWARDED, FORWARDED-FOR, FORWARDED, X-REAL-IP

Proxy Real IP sets the user’s IP address to the first HTTP header defined that matches a simple regular expression of an IP address (123.123.123.123).

Proxy Real IP also sets the $_SERVER[‘HTTPS’] variable correctly when running behind a proxy so that WordPress can determine whether or not the proxy connection is over HTTPS. It looks to the HTTP_X_FORWARDED_PROTO PHP server variable to determine this.

Installation

Installation is simple.

  1. Upload proxy-real-ip.php to the /wp-content/plugins/ directory or the /wp-content/mu-plugins/ directory if you’re running a Multisite installation and want to force load the plugin for all sites.
  2. If you uploaded it to /wp-content/plugins/, then activate the plugin through the ‘Plugins’ menu in WordPress.

There are no settings for this plugin in the WordPress admin area. It should just work out of the box.

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

1.1

  • 2012-12-27 Added HTTPS detection.

1.0

  • 2012-09-25 Initial version launched. Started with some ideas from https://wordpress.org/extend/plugins/real-ip/ which was no longer updated.