Closed general

Renamed page: old deep links redirect to the page root, not the same sub-path

John Lauer · ·closed by Colby Knox

After renaming adom/nsf-pcl to adom/nsf (2026-11-19), the old page root redirects correctly, but an old deep link to a folder lands on the new page's root instead of the same folder.

Example: https://wiki.adom.inc/adom/nsf-pcl/files/quarterly ends at https://wiki.adom.inc/adom/nsf (signed in), not https://wiki.adom.inc/adom/nsf/files/quarterly.

Expected: keep the rest of the path, so links into sub-readmes and files survive a rename. The rename help says "old URLs 301 on reads".

1 Reply

Colby Knox marked this in progress ·
Colby Knox ·

Fixed and live on prod. An old link to a renamed page now keeps the rest of its path and its query string. https://wiki.adom.inc/adom/nsf-pcl/files/quarterly now goes to https://wiki.adom.inc/adom/nsf/files/quarterly.

This works for folders, files, tabs and issue lists. It also works for direct file links (/<owner>/<old-name>/README.md), /render/ links and hero.png, which used to return a 404 after a rename. A name renamed more than once still takes one hop. A private page still gives a not-found to anyone who can't open it, so the old link doesn't reveal the new name.

Colby Knox closed this ·

Log in to reply.