Thanks again Razvan.
It took me a while to get the download links to work again.
I did as you recommended: uploaded a PDF file to the Media library, then used it to define the download file in DM.
Now, in the Page, I use the File widget which gives me a text link next to a button link in a block.
In that block, if I use the pattern you recommend (domain/wp-content/uploads/year/month/file.extension), both the file download and online reading functions work just fine in Safari as well as in Chrome.
But the DM Reports and Logs stay at 0.
If I use the DM link pattern resulting from the way I defined the file above (domain/download/file#/), I can still download the file, but can no longer read it online. Something redirects me to the front page instead. I have unchecked that option in Download Monitor settings, so it’s either a bug or a conflict with other plugins (Disable Search) or…
So, with all that said, I think I’ll just leave it as it is so that the users can either download or read the file online for now. Perhaps at some point in the future, when I have added other essential features to the Website, I’ll revisit the topic, and if Download Monitor has a way to resolve this issue with an upgraded version, I’ll work on it again.
Best regards.
Post Scriptum:
The Download Button Widget used with the Short Code does result in displaying a large button with the full name of the file + the word “Download” + the size of the file + the number of downloads. Since this is viewable to the public, it may be a good idea to add an option to hide the number of downloads. Also, clicking on it results in the same issue as I mentioned above: the user is redirected to the Front page!