I was thinging about the new changes to redirects and think I have ny head around the basics, but not sure what todo about language and laguage 404 redirects (assuming EN is main lang).
So I think these areOK?
[[redirects]]
# COMMENT: Temp Netlify URL to Main URL
from = “https://domain.netlify.com/*”
to = “https://domain.com/:splat”
status = 301
force = true
[[redirects]]
# COMMENT: Reroute old sitemap to new
from = “/sitemap/“
to = “/sitemap.xml”
status = 301
force = true
But what to do with this French language and 404 redirect, is it also force=true? Anyone have any pointers?
[[redirects]]
# COMMENT: Path fr (Français)
from = “/“
to = “/fr”
conditions = {Language = [“fr”]}
status = 302
[[redirects]]
# COMMENT: fr 404
from = “/fr/*”
to = “/fr/404”
status = 404