brief redirects
Synchronize historical URL redirects after moving pages or changing documentation routes.
Manage historical URL redirects
Usage#
Subcommands#
brief redirects sync— Synchronize redirects with current routesbrief redirects help— display help for command
Options#
-h, --helpDefaultundefinedbooleanDisplay the concise help for this command
Global options are also accepted.
brief redirects sync#
Synchronize redirects with current routes
Usage#
Options#
--dry-runDefaultundefinedbooleanPrint changes without writing them
--allow-404DefaultundefinedbooleanAllow 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, --helpDefaultundefinedbooleanDisplay 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.