Title: 404 page should offer search for the missing page
From @binford2k in #320:
Note that this approach will require the 404 page to have a "search for the missing page" functionality or we'll never be able to rename pages.
We have no redirect mechanism, so renaming or deleting a page 404s every old bookmark, search result, and cross-version link to it. With multi-version docs this bites harder: the out-of-date banner on frozen versions deliberately links to the product's /latest/ root instead of the same page under /latest/, because the same-page target may no longer exist.
Proposed: make the 404 page useful by pre-filling the site search with terms derived from the requested path (e.g. /openvox/latest/lang_conditional.html → search for "lang conditional"), and offering links to the product roots. Once that exists, the out-of-date banner could switch to same-page /latest/ links, with the 404 page catching renames.
Title: 404 page should offer search for the missing page
From @binford2k in #320:
We have no redirect mechanism, so renaming or deleting a page 404s every old bookmark, search result, and cross-version link to it. With multi-version docs this bites harder: the out-of-date banner on frozen versions deliberately links to the product's
/latest/root instead of the same page under/latest/, because the same-page target may no longer exist.Proposed: make the 404 page useful by pre-filling the site search with terms derived from the requested path (e.g.
/openvox/latest/lang_conditional.html→ search for "lang conditional"), and offering links to the product roots. Once that exists, the out-of-date banner could switch to same-page/latest/links, with the 404 page catching renames.