Can I link to a pdf on a local installation

Hi
I’m using AMPPS to host a local WordPress installation that will never be on the internet and will only have myself as the user. The purpose of the installation is to create a library resource for 100s of PDFs and videos, all for learning languages.

I would like to be able to link to files on my HDD without using the media library to avoid duplication. I can open these files in Firefox and then use the address as a hyperlink in WordPress but nothing happens. No error message, no link opened.

Here is an example of the syntax used.
<a href="file:///M:/Books/Spanish.pdf">Spanish Verbs</a>
Clicking this link does nothing at all, yet it will open fine if copy and pasted in a browser. Any solution this problem? Thanks.

  • This topic was modified 5 days, 11 hours ago by johnwilson82.
  • This topic was modified 5 days, 11 hours ago by johnwilson82.



Source link