Is there an updated way of linking to Site files than this? Having a client upload PDF files in the Panel is a desirable solution, too.
But I’d really prefer using a directory just inside Root to serve them like this.
Hoping there’s an easier solution.
Ah. Yes, I mean like having a folder called /pdf/ at the root level for storing common files that can be referenced all over the site but managed from within the panel and using simple file urls instead of long ones with hashes and strings in it.
But after reading further I don’t think easily doable.
You can put them into the site object (root of the content folder) or a central media folder within the content folder. Outside the content folder is not possible if you want to use the files in the Panel.
You could then use files fields to select files from this folder where needed.