This repository handles redirects from docs.bacalahau.org to the new documentation on bacalhau.org. It's deployed using Netlify for simple maintenance and high reliability.
To add a new redirect:
- Edit the
_redirectsfile - Add your redirect in the appropriate section
- Use this format:
/old-path https://bacalhau.org/new-path 301
With wildcards:
/old-section/* https://bacalhau.org/new-section/:splat 301
Important: More specific paths should come before wildcards.
Just push changes to the main branch - Netlify will automatically deploy the updates.
The "Gitbooks Broken Links" section contains redirects for URLs identified from Gitbook's analytics, filtered to exclude bot traffic by removing "unknown browsers" from the statistics.
After deploying:
- Visit the old URL at docs.bacalahau.org/your-path
- Confirm it redirects to the correct location