Handling persistent links? Want to carve into stone link to a page

How can I create a link to a page that will be shared externally? For the sake of argument, I’d like to “carve into stone” a link to a page that will always bring me there no matter if I rename it or move to another folder.

Probably a more practical example would be using silver bullet as a knowledge base for physical objects around the house. For examples: I can print and stick a QR Code to the oven that takes me to my recipes page, or a QR code for my 3D printer page to give me the tuning sequence since I have to look that up every single time I decide to print something. I’d like not to have to reprint the QR Code stickers if I decide to reorganize my pages or rename them.

Confluence handles this by creating a unique tinyurl that always brings you to a specific page, but so far I haven’t seen anything similar in silverbullet

As I understand it SB doesn’t use any sort of ID’s for pages, so when you rename a page (or move it, same thing), the result is an entirely new page, and the old one gets removed. That means you can’t have a permanent URL that would survive a name change.

What you could do instead:

  1. create an overview page e.g Recipes/ that contains links to the pages you’re interested in. Never rename the Recipes page, but you can change the others.
  2. Write your own rename and move functions that, as part of changing a page, update a datastore(like a json file) which keeps track of your permanent url and whatever that should be pointing to. Then serve the permanent URL using a small webserver which redirects to whatever the name of the page currently is.