Is it possible to redirect http traffic based on the country the remote Ip is lcoated in?
ie. If the remote IP is based in say Australia redirect to a specific URL.
I know should be able to get the coutnry code by using geo.getCountryCode but I cannot get it to work by passing it a variable $ip derived from response.getRemoteIP.
Anyone done this?
Go to Solution.
ignore me Im an idiot.... should of been using request.getRemoteIP!