Title: Behind proxy
Last modified: March 9, 2026

---

# Behind proxy

 *  Resolved [qerghgfjkgk](https://wordpress.org/support/users/qerghgfjkgk/)
 * (@qerghgfjkgk)
 * [2 months, 4 weeks ago](https://wordpress.org/support/topic/behind-proxy/)
 * Hello,
 * Thanks for this great plugin, it is really amazing.
 * I have a quick question, my website uses Cloudflare, while Slimstat handles it
   well, and shows both proxy IP and Originating IP addresses, iIt still shows country
   flag based on Proxy IP, thus always the same.
 * Is it any way to tell Slimstat to always use and show me only Originating IP 
   and country?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Contributor [Parhum Khoshbakht](https://wordpress.org/support/users/parhumm/)
 * (@parhumm)
 * [2 months, 4 weeks ago](https://wordpress.org/support/topic/behind-proxy/#post-18846255)
 * Thanks for the kind words and for reporting this, [@qerghgfjkgk](https://wordpress.org/support/users/qerghgfjkgk/)!
 * You’re right — when a site is behind Cloudflare, the geolocation can resolve 
   to the Cloudflare data center’s country instead of the visitor’s real country.
   We’ve identified the root cause and already scoped the fix ([#150](https://github.com/wp-slimstat/wp-slimstat/issues/150)).
 * This is planned for the next release (v5.4.2), which will properly detect the
   real visitor IP via Cloudflare headers and use it for country detection. Stay
   tuned!
 *  Thread Starter [qerghgfjkgk](https://wordpress.org/support/users/qerghgfjkgk/)
 * (@qerghgfjkgk)
 * [2 months, 4 weeks ago](https://wordpress.org/support/topic/behind-proxy/#post-18846757)
 * Wow! Thanks a lot for such quick fix!
 *  Plugin Contributor [Parhum Khoshbakht](https://wordpress.org/support/users/parhumm/)
 * (@parhumm)
 * [2 months, 3 weeks ago](https://wordpress.org/support/topic/behind-proxy/#post-18852230)
 * Hi [@qerghgfjkgk](https://wordpress.org/support/users/qerghgfjkgk/) ,
 * Thanks for the kind words about the plugin!
 * This was a known issue — Slimstat was using the Cloudflare proxy IP for geolocation
   instead of the real visitor IP, which is why you were seeing the same country
   flag for everyone. **We’ve fixed this in version 5.4.2, which is available now.**
 * **Please update to v5.4.2 **through your WordPress dashboard and Slimstat will
   correctly use the originating visitor IP for both the country flag and all location
   data going forward.
 * Let us know if it works as expected!
 *  Thread Starter [qerghgfjkgk](https://wordpress.org/support/users/qerghgfjkgk/)
 * (@qerghgfjkgk)
 * [2 months, 2 weeks ago](https://wordpress.org/support/topic/behind-proxy/#post-18855633)
 * Hi there,
 * Even with v5.4.4 the problem is still not fixed and actually got worse.
 * Before I could see original IP behind proxy, now it shows only proxy IP.
 * Any help??? [@parhumm](https://wordpress.org/support/users/parhumm/)
    -  This reply was modified 2 months, 2 weeks ago by [qerghgfjkgk](https://wordpress.org/support/users/qerghgfjkgk/).
    -  This reply was modified 2 months, 2 weeks ago by [qerghgfjkgk](https://wordpress.org/support/users/qerghgfjkgk/).

Viewing 4 replies - 1 through 4 (of 4 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fbehind-proxy%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/wp-slimstat/assets/icon.svg?rev=2832242)
 * [SlimStat Analytics](https://wordpress.org/plugins/wp-slimstat/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-slimstat/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-slimstat/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-slimstat/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-slimstat/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-slimstat/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [qerghgfjkgk](https://wordpress.org/support/users/qerghgfjkgk/)
 * Last activity: [2 months, 2 weeks ago](https://wordpress.org/support/topic/behind-proxy/#post-18855633)
 * Status: resolved