10
Locale-based Redirects
complete
Activity Feed
Sort by
N
Nicholas Martin
Is there a way to override this on the client-side? Eg. Adding a region selector. Also, could the language based redirect be extended to support regions eg.
en-US
?Patrick Sullivan
complete
Patrick Sullivan
Hello - we're happy to share that this has been completed, and is documented here https://support.gatsbyjs.com/hc/en-us/articles/1500003051241-Working-with-Redirects-and-Rewrites.
Please let us know if the corresponding documentation is at all unclear. Thank you!
N
Nicholas Martin
I'm assuming this is a server-side redirect? If so, I'm down for this!
S
Shruti Chaturvedula
in progress
D
David Paulsson
🙌 Something like Netlify does in the toml file for “conditions” for when the redirect should apply.
conditions = {Language = ["en"], Country = ["US"], Role = ["admin"], Foo = ["bar"]}