For the complete documentation index, see llms.txt. This page is also available as Markdown.

URL redirects

Handling renamed or removed pages and preventing 'Page not found' errors

Use Site redirects to map one URL path to another. You can create a manual redirect in Site settings → Redirects, then set the source path, destination, and status. GitBook also creates automatic redirects when pages move or are renamed.

Key points:

  • Permanent (308) for moves you don’t plan to undo.

  • Temporary (307) for short-term routing changes.

  • Use * at the end of a source path for wildcard redirects.

  • If possible, choose a page reference destination instead of a fixed path so the redirect stays valid after moves.

Read more in Site redirects.

Last updated

Was this helpful?