Documentation index: /llms.txt. Each page is also available as Markdown by adding .md to its URL.

Skip to content
Brief

brief redirects

Synchronize historical URL redirects after moving pages or changing documentation routes.

Manage historical URL redirects

Usage#

Subcommands#

Options#

-h, --helpDefault undefined
boolean

Display the concise help for this command

Global options are also accepted.


brief redirects sync#

Synchronize redirects with current routes

Usage#

Options#

--dry-runDefault undefined
boolean

Print changes without writing them

--allow-404Default undefined
boolean

Allow every unexplained removed page to become a 404

--redirect-removed <old=target>Default []
string[]

Redirect a removed route key or old page id to a current page; repeat for more

-h, --helpDefault undefined
boolean

Display the concise help for this command


brief redirects help#

display help for command

Usage#


Keep redirects and update times current#

Redirects record URL history; update checkpoints record body changes. After moving pages or changing slugs, review both:

A move that rewrites links changes the bodies of the referring pages. Synchronize those pages' update checkpoints as well as redirect history, then commit the metadata with the content changes.