Force-redirect 33 /operate/* app-linked URLs to new-IA pages#4980
Force-redirect 33 /operate/* app-linked URLs to new-IA pages#4980shannonbradshaw wants to merge 1 commit into
Conversation
✅ Deploy Preview for viam-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
The old operate/ pages still exist, so Hugo aliases on new-IA pages are shadowed by the old canonical pages. Netlify forced redirects (status 301!) override the static files, sending users to the correct new-IA pages immediately without waiting for the operate/ section to be deleted. Every redirect maps an app-linked URL from Michael's audit to the destination verified in our session. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
c439d8d to
b3e7b4a
Compare
|
Hey @shannonbradshaw — CI is green and no reviewer is assigned yet. Could you request one when you have a chance? Auto-comment from overwatch. Will not re-nudge for 7 days. |
4 similar comments
|
Hey @shannonbradshaw — CI is green and no reviewer is assigned yet. Could you request one when you have a chance? Auto-comment from overwatch. Will not re-nudge for 7 days. |
|
Hey @shannonbradshaw — CI is green and no reviewer is assigned yet. Could you request one when you have a chance? Auto-comment from overwatch. Will not re-nudge for 7 days. |
|
Hey @shannonbradshaw — CI is green and no reviewer is assigned yet. Could you request one when you have a chance? Auto-comment from overwatch. Will not re-nudge for 7 days. |
|
Hey @shannonbradshaw — CI is green and no reviewer is assigned yet. Could you request one when you have a chance? Auto-comment from overwatch. Will not re-nudge for 7 days. |

Summary
The old
/operate/pages still exist on the site. Aliases on new-IA pages are shadowed because the old pages serve their canonical URLs first. This PR adds Netlify forced redirects (status = 301!) that override the old pages, sending users immediately to the correct new-IA destinations.33 redirects cover every
/operate/*URL the Viam app links to (from Michael's audit). Once this merges, the test script atcode-map/scripts/test-app-urls.pyshould show 76/76 GOOD.How forced redirects work
Normal Netlify redirects (
status = 301) only fire when no static file exists at the source path. Forced redirects (status = 301!) fire regardless, overriding any existing page.Test plan
make build-prodcleanpython3 code-map/scripts/test-app-urls.py --base-url <preview-url>against the deploy preview🤖 Generated with Claude Code