how to hide file location when downloading (free version)

Viewing 3 posts - 1 through 3 (of 3 total)
#119883

Anat Dagan
Participant

hi, hope you can help me.

I have WPDM free and I used the following short code to create a download button to a pdf file:

<div style=”text-align: center;”>
[wpdm_package id='1400' template ="link-template-button"]
</div>

when hovering over the button it does not show the file location which is great!

but when i click on this button to things happen that i don’t want to happen:
1. the pdf file opens in a new tab instead of being downloaded.
2. the tab that opens up with the PDF file shows the full path to the file e.g:
https://mysite.com/wp-content/uploads/2020/02/my_file_name.pdf

i am using Chrome browser.

How do i make the download button trigger an actual download without opening the file in a different tab?

#119974

Nayeem Riddhi
Moderator

Hello,

Sorry for a little bit late, have you checked Open in Browser option from Basic Settings.

Thanks.

#120045

Shahjada
Keymaster

@agd, If you attach a file as URL or attach a file from the media library the file location will not be hidden. Instead, attach a file by directly uploading from wpdm or attach a file using the server file picker.

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘how to hide file location when downloading (free version)’ is closed to new replies.