I am testing redirects by country: Redirect options | Netlify Docs
The docs link to ISO 3166 Country Codes which has EU as an option (line 74) but this doesn’t seem to work:
/test/ /redirect/eu/ 301! Country=eu
(also tried EU)
Are the region codes not supported?
Hi @BenSuperscript
Based on the information under Decoding table on Wikipedia, the EU
code falls under the
Exceptionally reserved : reserved on request for restricted use
and is not Officially assigned. Therefore in answer to your original question, No, eu
should not redirect European countries.
1 Like