Skip to content

Commit

Permalink
make /qa forward to oldqa. (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
mscroggs authored Nov 15, 2024
1 parent f54659a commit 27771e1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions _includes/_404_redirect.html
Original file line number Diff line number Diff line change
Expand Up @@ -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/")
}
</script>

0 comments on commit 27771e1

Please sign in to comment.