The firewall rule, minus the URI Path check will block unwanted countries from accessing anything in that zone (domain). The URI path really isn’t necessary in the situation you described.
Not from that domain, as it’s completely blocked. I can only think of a pretty convoluted approach:
Add a Transform Rule for a URL Rewrite: IF in the country list, then Rewrite the Path (static) to something unique.
Add a Page Rule where IF it matches that path, then Forwarding URL to some other place.
Hey! I was asking this before, but my threat is already closed…
I was asking how I can block specific countries. I learned that I can do this in the firewall settings.
User “sdayman” told me that I can use the “transformation rule” to redirect people from the countries I want to block and have a message there for them, by leading them to a different domain, but I can’t find this setting anywhere in that list of rules…
Probably because the redirect does not work or the rule does not match the URL you are testing against.
If you could provide us with the URL and the PageRule/TransformRule we can look into that.
to: sorry-content-is-not-available/
(without the leading https://timodee.com/)
EDIT:
And please first turn on the proxy in your DNS section on your entry for timodee.com since it currently is on . Otherwise you can not use Cloudflare features on this DNS entry.
Just to clarify: I’m blocking countries for all sites of “domainA” and I want to redirect to one specific site of “domainB”. Both domains are managed with cloudflare…
Maybe it is a good idea to leave everything on one domain and only restrict access to the main pages that get the traffic… Then I can show a message for certain countries within the domain and not redirect to another domain…