I hope you may be able to share some insight and help me resolve my situation:
We have a Wordpress website and we use a Geolocation plugin to display the visitors country via shortcodes. We use Cloudflare + APO caching.
However it seems that Cloudflare caches the nearest server (even after clearing all cache) and displays different location to the visitor and not its real IP location. Only after couple of pages it detects the right IP and displays it.
I noticed previous threads regarding this issue but with no information how to resolve this.
My question is - is there something we can do about this since I am not actually able to use a geolocation plugin unless I deactivate Cloudflare - if I temporarily disable cache everything works great.
Is it possible to maybe exclude the plugin or any other trick via the dashboard that may help us?
I hope to hear back from those who might have a clue. Thank you so much for your time!
I saw in the article it says ’ Cloudflare no longer updates and supports *mod_cloudflare ’ does this mean if I try to implement it won’t work?
I am trying to add a page rule to our main domain where there is an option I enabled named “IP Geolocation Header”. I truly do not know what is actually this doing.