Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Is it possible to create a link that only downloads a PDF file?

$
0
0

Replies: 0

Hello,

I uploaded a PDF file to the web and created a link to it.

The problem is that the browser displays it. It’s not really bad, with an open file you can even download it. However, the contents of the file are embedded on the page. The PDF is only there if someone wants to download it.

Therefore, it is completely unnecessary for the link to do anything other than download the PDF file.

However, I cannot create such a link. I found that it could be done with the download attribute, but it didn’t help at all.

Please help

Thank you


Viewing all articles
Browse latest Browse all 59525

Trending Articles