Redirects

When you move a page, leave a redirect behind so old links keep working. List the old paths in a page’s frontmatter:

#let frontmatter = (
  title: "Configuration",
  redirect: ("/old/config/", "/setup/"),
)

Baudelaire writes a small HTML stub at each old path that forwards to this page’s URL. No server rules, no .htaccess, just static files that work on any host.

This pairs well with taxonomy and permalink changes: rename a slug, add the previous URL as a redirect, and nothing 404s.