Broken links
Catch broken links with our CLI. Install the CLI and run the command:Redirects
Set up 301 redirects by adding theredirects
field to your docs.json
file.
/source/path
to /destination/path
so that you don’t lose any previous SEO for the original page.
To match a wildcard path, use *
after a parameter. In this example, /beta/:slug*
matches /beta/introduction
and redirects it to /v2/introduction
.