When you rename, move, or delete pages, existing links break. Redirects let you preserve those links and maintain SEO value when your docs structure changes.Documentation Index
Fetch the complete documentation index at: https://help-center-starter-replace-template-content.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Setting up redirects
Add aredirects array to your docs.json:
When to use redirects
Use redirects whenever you:- Rename a page.
- Move a page to a different section.
- Delete a page and want to point visitors to a related page.
- Restructure your navigation hierarchy.
Wildcard redirects
Use wildcards to redirect entire sections at once:/old-section/page-a to /new-section/page-a, /old-section/page-b to /new-section/page-b, and so on.
Keeping URLs stable
The best way to avoid broken links is to keep URLs stable from the start:- Choose page slugs that reflect the content’s purpose, not its position in the navigation.
- Use short, descriptive slugs that won’t need to change when content evolves.
- Avoid including version numbers in slugs unless you’re explicitly versioning your docs.