docs: add urls redirects (#1581)

This commit is contained in:
Jonas L 2022-04-08 19:29:10 +02:00 committed by GitHub
parent aedfd522d7
commit 8a98542aa4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 44 additions and 0 deletions

22
website/redirects.js Normal file
View file

@ -0,0 +1,22 @@
module.exports = [
{
to: "/docs",
from: ["/documentation/", "/manual/", "/manual/about-this-manual/"],
},
{
to: "/docs/admin-manual/backup",
from: ["/manual/backing-up-the-server/", "/docs/backing-up-the-server"],
},
{
to: "/docs/admin-manual/setup/install",
from: ["/install"],
},
{
to: "/docs/admin-manual/setup/upgrade",
from: ["/manual/upgrading/", "/docs/upgrading"],
},
{
to: "/docs/admin-manual/troubleshooting",
from: ["/manual/troubleshooting/", "/docs/troubleshooting"],
},
];