Redirects

Redirects

From time to time you may need to redirect users from a page to another. This is especially useful when restructuring your information architecture or when migrating your docs to Doctave.

You can specify redirects in your project configuration file. Currently only internal redirects are possible.

redirects:
  - from: /docs/old_path
    to: /docs/new_path

In the example, all visitors that navigate to the /docs/old_path would get redirected to /docs/new_path.

Redirects & SEO

Doctave redirects are search engine optimized and indicate strongly that the requested content lives in another location. All redirects are permanent and use the 301 status code.

Was this page helpful?

On this page