The code snippet below is a demo in how to redirect users to sub sites based on their country IP location. On this code I am using CloudFlare geo location API – the code is not perfect but [...]
I'd love to work with you! Please fill out my project form to tell me more about your project/work. I reply to all enquiries within 48 hours.