nitrokey-documentation icon indicating copy to clipboard operation
nitrokey-documentation copied to clipboard

Feature: redirection on changed URL

Open szszszsz opened this issue 4 years ago • 3 comments

In case when the page's URL is changing, the docs system should remember the old one and redirect properly. The URLs are posted on the support forum and indexed, which makes the replies using the docs as the base unusable.

Example:

  • https://support.nitrokey.com/t/windows-sign-in-with-fido2-standalone-pc/3115/2?u=szszszsz, a reply from 2 months ago, links to docs page which is not available anymore:
    • https://docs.nitrokey.com/pro/windows/login-with-eidauthenticate-on-stand-alone-windows-computers.html

szszszsz avatar Jul 05 '21 10:07 szszszsz

no idea if this is even possible, changed the support-forum contents for now. Any idea how to realize this without spamming empty files into the documentation ?

daringer avatar Nov 12 '21 14:11 daringer

Just a rough idea: I think tracking this by uuid number given to each document's header would be one of the solutions. Then on the docs generation references will update (by scanning all docs and extracting uuid and related file), and the old ones will be kept, and updated with the new path by the uuid. Needs additional tooling probably (should be simple though).

szszszsz avatar Nov 12 '21 15:11 szszszsz

That's not possible but tracked separately already.

jans23 avatar Nov 12 '21 15:11 jans23

We will define redirects manually, see README.

jans23 avatar Jul 25 '24 11:07 jans23