Cloudflare incompatible with IP block

Hi there!
My website uses ip-api.com to display different contents to users from different countries. However, when I enable cloudflare, I can no longer display different content based on IP.

Any ideas how to make this work? Are there certain settings to change in Cloudflare?

Thanks!
Dan

I assume you are not restoring visitor IPs on your server, so you see Cloudflare IPs rather than your visitors?

https://support.cloudflare.com/hc/en-us/sections/200805497-Restoring-Visitor-IPs

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.