Redirect rules for website (linked to smugmug)

Hi,

I am trying to setup redirect rules for my domain which links to smugmug, but haven’t been successful.

What I did so far:

Set up a CNAME (@ mydomain.com) which is proxied by cloudflare

Set up a CNAME (www domain.smugmug.com) which is not proxied by cloudflare

Set up a redirect rule: If URI full equals https://www.mydomain.com/Portfolio AND country equals US, redirect to https://www.mydomain/EU$1.

Saved and deployed.

My issue:
When I type https://www.mydomain.com/Portfolio in my Browser, I still land at https://www.mydomain.com/Portfolio, instead of https://www.mydomain.com/EUPortfolio, although I am based in the US.

Would be grateful if anyone could help.