-
Notifications
You must be signed in to change notification settings - Fork 160
Redirects on the docs website
Barrie Byron edited this page Jun 22, 2023
·
6 revisions
Redirects happen two ways:
Update the docusaurus.config.js file.
redirects: [
{
from: '/about-mina/overview',
to: '/about-mina',
},
{
from: '/architecture/scan-state',
to: '/node-operators/scan-state',
},
{
from: '/architecture/snapps',
to: '/zkapps',
},
{
from: '/snapps',
to: '/zkapps',
},
Global redirects are in vercel.json
Entries here apply a more "global" redirect that were useful when the legacy docs used to have to be something like docs.minaprotocol.com/en when we had different languages.
The redirect rule here is to redirect all /en links to remove it.