I am trying to redirect people who visits my website from a certain country to another subdomain. For example if people visits my website outside of Turkey, I want to redirect them to en.domain.com subdomain.
I created a redirect rule but it seems not working as expected.
Once you’ve fixed that, in your first example you were using www.uzmandata.com and in the second uzmandata.com. It probably should be www.uzmandata.com as uzmandata.com redirects to it first on your origin. Or you can modify the WAF rule to cover both hostnames by using hostname with is in.