Hi, I am a Download Manager Pro user and how do we set up the downloads in WPDM so that they can only be seen and accessible to users who are specifically assigned to them?
We aim to restrict access to downloads in WPDMM so that only users who are assigned to specific downloads can access them. This restriction is crucial for maintaining control over sensitive content and ensuring compliance with our organization’s security policies.
Our concern is all of the downloads are seen by all users and they have access to the download page or link. Is there a way that should allow for granular control over download access, ensuring that only designated users can view and download specific files?
Please advise. Thank you.
This reply has been marked as private.
This reply has been marked as private.
Hello, mrcbt
I hope this message finds you in good health and thanks for contacting us.
You can use this Add-on to set newly created link template as default link template for all the packages.
WPDM Default Values
Regards
Hi, I created a link template. How do I make it the default for all short code downloads?
Hello CIALGAR,
Hope you are well. And thanks for writing to us. For now, you can change the document tag
to any other by editing line no 374
on the download-manager.php
file from this directory wp-content\plugins\download-manager\
as I image attached,

After changing the code make sure to save the permalink once to apply the new permalink as I image attached,

please check and let me know.
Thank you and regards
Dear Sir/Madam,
https://www.arrowelearning.com.hk/?wpdmpro=m11-knowledge-materials –> Only logged-in users can see this page
However, inside this page, there is a file https://www.arrowelearning.com.hk/wp-content/uploads/2024/03/Arrow-M11-Knowledge-202406.pdf –> even non-logged in students can also see this page if a logged-in users share this link with a non-logged-in users.
How may I avoid this issue?
Hi Nayeem,
RE: 1 – I’m talking about this page… https://www.wpdownloadmanager.com/doc/admin-settings/email-options/ I don’t have those tabs.
RE: 2 – I am using both [wpdm_file_cart] and [wppm_plans] already. The plans display as seen in the link I gave you, but when clicking subscribe button it takes them to the cart page. Why?
RE: 3 – ok
RE: 4 – OK. I will try this.
If you don’t want to show that page, you can create a new link template
1. From Downloads > Templates
page, you will see CREATE LINK TEMPLATE
in the top right corner click on it ,here is the screenshot.
2. Just put this code in the HTML section, provide a appropriate Template Name, ID
<div class="link-template-default card mb-2">
<div class="card-body">
<div class="media">
<div class="mr-3 img-48">[icon]</div>
<div class="media-body">
<h3 class="package-title">[title]</h3>
<div class="text-muted text-small"><i class="fas fa-copy"></i> [file_count] [txt=file(s)] <i class="fas fa-hdd ml-3"></i> [file_size]</div>
</div>
<div class="ml-3">
[download_link]
</div>
</div>
</div>
</div>
3. Click on Save Template
.
4. After Creating new Link Template, go to your package settings and select the newly created Link Template
This will not show the Download Page, by clicking the Download button user can easily download the file.
Regards
Hello enric gustems,
For now, to get the requested mail in the message too in the email you can add this code portion from this directory wp-content\plugins\download-manager\src\Package\PackageLocks.php
file in line number 291
changing
$message = __MailUI::panel("Your have a new pending download request for:", ["<a href='".get_permalink($packageID)."'>".get_the_title($packageID)."</a>"])."<a href='".admin_url('edit.php?post_type=wpdmpro&page=wpdm-subscribers')."' class='button full green'>".__('Review the request', WPDM_TEXT_DOMAIN)."</a>";
to
$message = __MailUI::panel("Your have a new pending download request for email: ".$_POST['email']." and Package:", ["<a href='".get_permalink($packageID)."'>".get_the_title($packageID)."</a>"])."<a href='".admin_url('edit.php?post_type=wpdmpro&page=wpdm-subscribers')."' class='button full green'>".__('Review the request', WPDM_TEXT_DOMAIN)."</a>";
by adding this only,
email: ".$_POST['email']." and Package:"
please check and let me know, if it works for you.
Thank you and regards
Hello, pagan11460
I hope you are doing well and sorry for the inconvenience.
First of all, I can’t see any loom video link.
Files are downloading perfectly, here you can see.
Are you referring to this ? Kindly check and let me know.
Regards
Hello, Please visit my client’s website at https://www.apkcharities.org/ – scroll to the footer. In the middle widget, I have two W990’s that should be able to be downloaded via my client’s visitors. But instead of the files downloading, we get sent to a page that is *not* the download. I tried selecting “Open in browser” in the Basics settings. That did not fix the issue. Please watch the Loom video linked below. My files are not downloading.
Thank you.
Hello Luca Scelza,
You are using WPDM free version. For the free version, you have to modify the relevant template.
In this case, you can follow the below documentation,
Template Files
For default page template you are using page-template-default.php
from this directory wp-content > plugins > download-manager > src > Package > views > page-templates > page-template-default.php
Now to modify this page template please copy the template and paste it here in this directory {active-theme-dir}/download-manager/page-templates/
,. And then you can adjust the template by removing the [download_link]
and other required information. Thus you can modify and backup the page template for the update of the WPDM plugin.
And from Woocommerce please use the Redirect Only
option, because, now we have modified the source link page. please check and let me know if you have any queries.
Thank you and regards
Hi, yes, in this way it works, but I’m not totally satisfied. I have two questions:
1) The product in the Download manager has its own URL, what assures me that people cannot find this link by indexing? If people find it, they just click there and get the product instead of purchasing it through WooCommerce. Why is there this page for product? It is the exact thing I don’t need in any way.
2) You changed the download way from ‘Forced Download’ to ‘Redirect only’, but this appears to be very risky because people can find the source link. How do you assure me that it is protected?
Thank you
This reply has been marked as private.
No, as I give instructions above for direct download link it will not cause an Access Denied
message for download. please check and let me know
Thank you and regards
Hello Larry Longton,
I think it may conflict with other scripts for Mask Download Link
. You can check to enable/disable other plugins or switch the active theme to another. However, for now, you can use the Unmask Download Link
option. It is working properly as expected. please check and let me know
Thank you and regards
If I remove “All visitors” from Allow Access, then people get a “Access Denied” message even when using the direct download link?
Please restrict the package with a special role from Package Settings > Allow Access
as I image attached and use the direct download link

please check and let me know, if you have any queries.
Thank you and regards
Thank you, we currently use the direct download links on all buttons so the user is not directed to the package’s page, however the page still exists. I changed the setting to “Hide Everytyhing” but the page is still visible in an incognito window so it’s not hidden from visitors.
I can’t use a temporary download link as these packages are available to all.
Can the download page be hidden?
You can restrict packages with a special role and apply When user is not allowed to download: Hide Everything
as I attached the image with the above reply. Then copy each package’s direct download link as I image attached and attach as a URL for each button on this page,
https://www.mesothelioma.uk.com/downloadable-resources/. Thus


please check and let me know, if you have any queries.
Thank you and regards
Maybe an example will help.
I have a healthcare charity client who make patient information available to download in this area https://www.mesothelioma.uk.com/downloadable-resources/ with buttons linked to the PDFs.
Each of those packages has a post created for it, which I want to completely hide from the visitor or ideally not have created in the first place – e.g. https://www.mesothelioma.uk.com/downloads/best-supportive-care/ – i don’t want this post to be visible to any visitor.
Does that help?
Hi Tahasin, Thanks for the quick response.
A link to what I see in Elementor: https://www.loom.com/share/e51c02da3ebb4869860702e5351b7049?sid=d03a560a-1edb-4d43-a47c-7c9353b03f8a
I have Downloads checked in Elementor/Settings/General but this does not make them available in the Theme Builder Conditions. Is there a piece that I am missing?
Do I need to set up custom post types for WPDMPRO? I assumed this would be part of the system.
Hi,
Is it possible to have WPDM not create the download pages or somehow hide them? I only want visitors to download from linked buttons on certain pages and sometimes the WPDM pages automatically created appear in search results, which I don’t want. Ideally, they simply wouldn’t exist, but an alternative would be a way to hide them.
Thank you
This reply has been marked as private.