Disclaimer: I’d like to make country-based redirect for legal purpose only.
I created this site: https://app.dev.planify.cloud/ (name: vigorous-kepler-e8e853) and I’d like to redirect users from other countries than France toward my /unavailable URL.
I didn’t see how to make a reverse condition (not in FR) so, at least, I wanted to redirect US and CA countries.
I created this
# Redirect users in USA or Canada to /unavailable /* /unavailable 302! Country=US,CA
This link (Redirect options | Netlify Docs) didn’t give me all details to achieve the redirect (how to test it ? I was using VPN but maybe other ways are more suitable).
- could you help me with the reverse redirect (not in FR) ?
- could you tell me how to test the redirection without moving from my desk ?