Redirect to nearest matching longer path when someone visits via a cutoff URL

Stopped writing this raw note to instead add this issue:

Redirect to nearest matching longer path when someone visits via a cutoff URL [#3276755] | Drupal.org

A really great feature would be if someone tries to visit a URL that has been cut off (by e-mail wrapping, missing a bit in copy-paste, or SMS character limit) to automatically forward the person to the full path when there’s only one matching.

To see this in action, you can go to https://failedarchitecture.com/a-cage-by- or https://failedarchitecture.com/a-cage-b and end up at:

https://failedarchitecture.com/a-cage-by-another-name/

(That is a WordPress site; if it is a built-in feature or a popular plugin, i have not found it.)

https://www.drupal.org/project/search404 can fill some of this use case but not as efficiently or effectively.

Add a feature or submodule to Redirect for this.