Error downloading PDF in Wordpress

Asked

Viewed 162 times

0

I created a page to download PDF files. It included the following code:

<a href="https://revistamovimentto.com.br/wp-content/uploads/2017/10/Movimentto-Edição-88.pdf" download> <img class="alignnone wp-image-291 size-medium" src="https://revistamovimentto.com.br/wp-content/uploads/2017/10/capa88-222x300.png" alt="" width="222" height="300" /> </a>

It creates an image that when clicked, should download the PDF https://revistamovimentto.com.br/wp-content/uploads/2017/10/Movimentto-Edição-88.pdf

However, clicking on the link gives page error not found instead of downloading the file. And the url is ok according to the media file.

  • 1

    Have you checked the server files if the PDF is there? try using names without accents.

  • The error was due to the same accents. Thank you

  • 1

    try just like this and if it works the problem is not in link!! <a href="https://revistamovimentto.com.br/wp-content/uploads/2017/10/Movimentto-Edição-88.pdf" download></a>&#xA;

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.