Hi nellie-2760,
You can try to add the attribute 'download' to your links.
<a href="/test.pdf" download>
And if you want to link to local files, you need to use the file:/// protocol.
But many browsers such as Firefox and Chrome refuses to cross from the http(s) protocol to the file protocol to prevent malicious behaviour.
More details please refer to doppelgreener's answer.
Best Regards,
Daniel Zhang
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.