Can't find a post about it, so here it is. Cloudflare supports IP-GeoLocation. For a lot of people asking how to get the country through the visitors IP, for redirecting purposes based on country of origin, if you have your site on Cloudflare you can use Cloudflare's IP-GeoLocation. It's enabled by default in your CF's dashboard, and it's available from the Free plan. How to get it via PHP: $geo will be the will be your 2 character country-code. Due to posting custom tags error, I created an image for the code, sorry for that. Nice feature, isn't it? PS: mods, could you check why we can't include tags in our code? Got the following error while trying to submit post: You do not have permission to create tags. You may only use existing tags.