im a newbie here.
im trying to switch my WP url when a visitor from specific country is visted using following code. but currently its based on IPs, but I want to use a country code instead of list of many IPs. can anyone help me. really appreciated.
sample code im trying:
switch my WP url when a visitor from specific country