From 27771e1627287b8f3fc17f182d6b6e623fe8fa13 Mon Sep 17 00:00:00 2001 From: Matthew Scroggs Date: Fri, 15 Nov 2024 15:03:15 +0000 Subject: [PATCH] make /qa forward to oldqa. (#197) --- _includes/_404_redirect.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/_includes/_404_redirect.html b/_includes/_404_redirect.html index 2c45194..9173fdb 100644 --- a/_includes/_404_redirect.html +++ b/_includes/_404_redirect.html @@ -36,4 +36,10 @@ if(url == "olddocs"){ window.location.assign("https://olddocs.fenicsproject.org/") } +if(url.startsWith("qa/")){ + window.location.assign("https://oldqa.fenicsproject.org/" + url.substring(8)) +} +if(url == "qa"){ + window.location.assign("https://oldqa.fenicsproject.org/") +}