{"id":86457,"date":"2018-05-30T23:55:51","date_gmt":"2018-05-30T23:55:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/cloudflare-real-ip-and-geo\/"},"modified":"2025-02-13T08:22:33","modified_gmt":"2025-02-13T08:22:33","slug":"real-ip-and-geo-for-cloudflare","status":"publish","type":"plugin","link":"https:\/\/roh.wordpress.org\/plugins\/real-ip-and-geo-for-cloudflare\/","author":16179427,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.1","stable_tag":"1.0.1","tested":"6.7.5","requires":"4.6","requires_php":"5.2.4","requires_plugins":null,"header_name":"Real IP and Geo for Cloudflare","header_author":"RaMMicHaeL","header_description":"Saves and displays visitor's real IP and location, instead of Cloudflare's.","assets_banners_color":"","last_updated":"2025-02-13 08:22:33","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/rammichael.com\/donate","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/cloudflare-real-ip-and-geo\/","header_author_uri":"https:\/\/rammichael.com\/","rating":5,"author_block_rating":0,"active_installs":100,"downloads":3337,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.1":{"tag":"1.0.1","author":"rammichael","date":"2025-02-13 08:22:33"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":3},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3239902,"resolution":"1","location":"plugin"}},"screenshots":{"1":"The admin panel with the plugin activated"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[3882,2591,1493,2215],"plugin_category":[49],"plugin_contributors":[157368],"plugin_business_model":[],"class_list":["post-86457","plugin","type-plugin","status-publish","hentry","plugin_tags-cloudflare","plugin_tags-geo","plugin_tags-ip","plugin_tags-location","plugin_category-maps-and-location","plugin_contributors-rammichael","plugin_committers-rammichael"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/real-ip-and-geo-for-cloudflare.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/real-ip-and-geo-for-cloudflare\/trunk\/screenshot-1.png?rev=3239902","caption":"The admin panel with the plugin activated"}],"raw_content":"<!--section=description-->\n<p>From the Cloudflare Support website:<\/p>\n\n<p>Q: Why do my server logs show Cloudflare's IPs using Cloudflare?<\/p>\n\n<p>A: When you sign on to Cloudflare the way your logs are displayed will change because Cloudflare \n   acts as a proxy. This means that your visitors are routed through the Cloudflare network. This \n   allows Cloudflare to stop attacks before they reach your network. It also allows Cloudflare to \n   speed up page load time by more efficiently routing packets and, more importantly, caching \n   static resources (images, javascript, css, etc.) on a very fast connection. However, as a \n   result, the connecting IP will always come from the Cloudflare network.<\/p>\n\n<p>As a result, commenters' IP will also be masked by Cloudflare. Luckily, Cloudflare sends the real\nuser's IP in a separate header. This plugin saves it, as well as the user's geo-location (also\nprovided by Cloudflare), and displays this information in the admin panel.<\/p>\n\n<p>Note that when the blog is served directly to the internet (not through Cloudflare), anyone can\nspoof any IP address and geo-location by specifying any value in the request headers.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/real-ip-and-geo-for-cloudflare<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='searching%20by%20clicking%20on%20the%20ip%20stopped%20working'><h3>Searching by clicking on the IP stopped working<\/h3><\/dt>\n<dd><p>That's a known limitation.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Added basic validation for the IP and geo-location formats.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>The first version of the plugin.<\/li>\n<\/ul>","raw_excerpt":"The plugin saves and displays visitors&#039; real IP and location, instead of Cloudflare&#039;s.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/86457","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=86457"}],"author":[{"embeddable":true,"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/rammichael"}],"wp:attachment":[{"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=86457"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=86457"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=86457"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=86457"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=86457"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=86457"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}