Tagged: tab title
-
AuthorPosts
-
June 3, 2020 at 11:18 am #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 ;-)June 4, 2020 at 1:06 pm #1219371Hey 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,
RikardJune 4, 2020 at 2:07 pm #1219395Hey 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.pdfthen 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.pdfI´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,
GePuJune 5, 2020 at 1:22 pm #1219797Hi 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,
GepuJune 5, 2020 at 9:08 pm #1219941Hi GePu,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- The topic ‘local file path viewable in tab title?’ is closed to new replies.