Single Redirect not working

We have a site that is only used by Australia & New Zealand. We have setup a single redirect so that if someone from NZ goes to our site they will be redirected to the NZ version of the site but this is not working.

This is the code that we are using

(http.request.full_uri contains “\example.com” and ip.geoip.country eq “NZ”)

which should then redirect to \example.com/en-nz

We had done a test on another site that we are not currently using with the same code and it works (although pointing to different sites).

I am at a loss to work out why one works but the other doesn’t.

I have proxied the DSN as per the documentation but still nothing.

Is there something else that needs to be done to get this to work?

Thanks
Shane

Please use the Hostname operator instead of Full URI, see if that fixes the problem.

(http.host equals "example.com" and ip.geoip.country eq "NZ")
2 Likes

thanks for this, that has worked.

2 Likes

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