Renamed a blog post? This tool finds every internal link on your site pointing to the old slug and emits: (1) a sed patch to rewrite source files, (2) a Netlify [[redirects]] block to 301 the old URL, (3) a sitemap XML diff. No broken links, no lost authority.
Inputs
Scan live: we'll crawl your site (up to 50 pages) and find every link to the old URL. Or paste your built HTML and scan offline. Either way, output includes the sed patch, Netlify redirect, and the list of every file that references the stale slug.
Scan findings
1. Source-tree rewrite (sed patch)
Save as rename-slug.sh in your site root, chmod +x, run. Commit your source first.
2. Netlify redirect block (paste into netlify.toml)
Add this to netlify.toml above your catch-all 404. Handles external inbound links to the old URL + Google's cached index.
3. Sitemap + robots diff
Remove the old URL from sitemap.xml and add the new one. For robots.txt-based sitemap refs, typically no change needed.
4. AI fix prompt
Paste into Claude for a narrative action plan with per-file explanations.