From de93926b7decb315c7ba28757e0d449eb2143a20 Mon Sep 17 00:00:00 2001 From: Shawn Thompson Date: Tue, 21 Jan 2025 16:38:47 -0500 Subject: [PATCH] Add redirects for aatia and aaact domains to handle English and French links --- netlify.toml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/netlify.toml b/netlify.toml index 392f66b..2aa063d 100644 --- a/netlify.toml +++ b/netlify.toml @@ -20,6 +20,19 @@ status = 301 force = true +# Redirect aatia domain English links to aaact domain +[[redirects]] + from = "https://aatia.canada.ca/en/*" + to = "https://aaact.canada.ca/en/:splat" + status = 301 + force = true + +# Redirect aaact domain French links to aatia domain +[[redirects]] + from = "https://aaact.canada.ca/fr/*" + to = "https://aatia.canada.ca/fr/:splat" + status = 301 + force = true # Opt-in to the Netlify Lighthouse plugin (choose one):