Redirect traffic based on IP Geolocation

Hi,

I’ve recently set up my site prodmonk.com on Cloudflare.
I need to redirect all traffic from India landing on prodmonk.com/schedule-mock-interview
to the page - https://prodmonk.com/schedule-mock-interview-i

Can you help me with some page rules or any other way via which I can redirect the traffic as per the given requirement.

Thanks.

On Cloudflare you can do that only with Workers. The easiest way will be to implement that on your origin by evaluating the CF-IPCountry header and perform the redirect if it contains the value “IN”.

Can you please guide me on how can I implement the above solution (CF-IPCountry header).
Thanks.

IIRC there should be a few similar examples here on the forum. You will find them if you use the search.

However, generally, that would be slightly beyond the scope of the forum.

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