Support » Localhost Installs » Can I link to a pdf on a local installation

  • Resolved johnwilson82

    (@johnwilson82)


    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 2 years, 1 month ago by johnwilson82.
    • This topic was modified 2 years, 1 month ago by johnwilson82.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can I link to a pdf on a local installation’ is closed to new replies.