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/")
+}