-
Search Results
-
I am trying to link directly to a download (PDF document) securely. Only members of my WordPress website (Subscriber role) should be able to download. Obvious answer is to create a page with the appropriately configured wpdm shortcode and restrict package access to Subscriber role. But I don’t want to link to a page, I want to link directly to the download. I’ve identified the following methods:
- Link to the actual file e.g. <website>/wp-content/uploads. Very insecure. No download stats.
- Use the package download link e.g. <website>/download/<package_title>/?wpdmdl=<package_id>. Secure but if user not already logged in, results in permission-denied.txt
- Use the Master Download URL e.g. <website>/download/<package_title>/?wpdmdl=<package_id>&masterkey=<package_key>. Very insecure. Download stats reported as ‘Guest’
- Manually create the download link e.g. <website>/wp-login.php?redirect_to=/download/<package_title>/?wpdmdl=<package_id>. Secure with download stats.
Only Option 4 meets my requirements (secure, direct link) but this is a faff every time I want to distribute a download link.
Is there another, preferably better, way?
Hello,
So basically all the packages on my website are supposed to be available to all users (no need to log in). When I create a package or a category, I check “Authorize access to : all users”.
Unfortunately, it seems that the download button is working only for logged-in users and on mobile for all users, but on desktop it isn’t.
You can check for yourself here : https://gipmaore.yt/download/vade-mecum-pour-une-utilisation-efficiente-et-responsable-des-subventions/Could you help me fix that please ?
Many thanks in advance.
Topic: Download Link
hello, I want to ask, why when downloading from my website is detected by chrome as a dangerous file?
When we are adding preview images via CSV import they are displaying correctly, however we are finding the WP media library is filling up with duplicate images (many of our downloads use the same preview image).
For example, if we have referenced a preview image 100 times in the CSV for different downloads then we are now seeing that image 100 times in the media library even though they all link to the same image as there (only one file for the image exists in /uploads).
This is causing issues when trying to use the media library.
Is it possible to show only one instance of the image to the media library please even if it is used as the preview for multiple files?
Hi.
I am using the following shortcode and it is working, but I’d like the table to show all the files in the package rather than just the zip file. I have ticked the enable single file download button in the package settings but that didn’t make any difference.
[wpdm_all_packages items_per_page="20" categories="2020-board-papers" jstable=1 order_by="field_name" order="ASC/DESC" cols="title,file_count,download_count|categories|download_link" colheads="Title|Categories|Download::155px"]
Can you point me in the right direction please?
Thanks
Hello,
How to hidden the second dowload box?

Topic: Invalid File ID or File Name
I have been using the WP Download Manager for quite some time now and after some updates were done, I am now getting the “Invalid File ID or File Name” error when clicking on my download link. I can’t figure out what is causing the error. Any assistance would be appreciated.
Topic: getMasterDownloadURL
I’m still using version 5.3.7 because I get a fatal WordPress error when I try to upgrade to version 6xx. I finally had time to attempt to figure out what’s going on and it looks like this code I use in a page template file to display Download Manager links is no longer supported: $link = \WPDM\Package::getMasterDownloadURL($post->ID);
Can you please tell me what to replace that with? Thanks!