I have a site which has country suffix routing (for example
domain.com/us etc…) based on geo IP.
I want to redirect the page URI “/foo” to “bar” regardless of which country the user is browsing from. This means that the redirect should work as:
domain.com/de/foo -> domain.com/de/bar
domain.com/us/foo -> domain.com/us/bar
I want to do this type of redirect for about 300 pages, so I thought uploading a URI list might be a good solution. But in Cloudflare, it seems like I can only upload full URL’s in the list, which means that I will have to upload a list for each country (which is not feasible being a website supporting all countries).
What is my best solution option here within Cloudflare?