Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1219006

    hi there,
    I recently found out that the full local path of a file (PDF) on my computer is beeing shown as the tab title in browsers. So everybody can see where the file is stored on the computer from where i uploaded the file (not on the server).

    I definetly dont want to show this in public!

    How can I fix this?

    It occurs when a image is linked to the individual URL of an uploaded PDF-file (setting: open in new tab, noopener)

    …where can i change that. Hopefully in general because there are many linked PDFs on that website.

    Thanx in advance,
    Enfold (usually) rocks ;-)

    #1219371

    Hey GePu,

    I’m not sure I understand the problem, if the URL of the file in question is to your local hard drive then no one except you can access that file. Did you upload the file to the WordPress gallery? If so then please try to copy the URL from there and update the link in question. If you should still be having problems then please post a link to where we can see the actual problem.

    Best regards,
    Rikard

    #1219395

    Hey Rikard,

    Thanks for the answer. The URL of the file is not the problem but the tab title.

    I first uploaded the title-image (jpeg) of the PDF file and placed it (as a preview for the user) on the website.
    Next I uploaded the whole PDF file to the media gallery and copied the URL from there.

    The URL is something like:
    http://www.website.com/wordpressfolder/wp-content/uploads/2020/06/filename.pdf

    then I linked the preview-image to the individual file URL (copied from the media-library)

    For the user it is like this: When the user klicks on the image a new tab opens showing the URL (like above) but the Tab Title is something like:
    D:\Users\Username\Documents\…..\filename.pdf

    I´m aware that there is no possibility to access my local computer through the local file path but I also don´t want to show that in public. Is there any way to change the tab title of an attachment-URL?

    hope this is more precise.

    Best regards,
    GePu

    #1219797

    Hi there,
    I finally found the solution – and it has nothing to do with ENFOLD or WordPress. It is also just appearing in browser tabs when using firefox (as far as I know).

    For those who face the same problem:
    When printing a document with ADOBE PDF PRINTER there is a checkbox in the advanced printer settings you have to uncheck. It´s the ADD DOCUMENT INFORMATION checkbox.

    …You live and learn. ;-)

    Best regards,
    Gepu

    #1219941

    Hi GePu,

    Glad you got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘local file path viewable in tab title?’ is closed to new replies.