WordPress Download Manager
WordPress Download Manager
  • Pricing
  • Demo
  • Extend
    • Full Access Pack Get access to all items on this site with a BIG DISCOUNT
    • WordPress Form Builder Plugin Try it even if you are using another one and you may thank me later :)
    • Attire All-in-One WordPress Theme, only theme you will ever need

    Add-ons

    • Add-ons
    • Payment Gateways
    • Social Networking
    • UI
    • Widgets
    • Email
    • Tools
    • Free
    • Featured
    • Marketing
    • eCommerce Add-ons
    • Cloud Storage

    Customization Service

  • Discount Packs
  • Docs
  • Support
    • Search in Forum
    • Download Manager Pro
    • Download Manager Free
    • Pro Feature Request
    • How To...
    • Tips and Tricks
    • Contact Us
  • Blog
Login | Register
Forgot Password?
— Don't have an account yet? Register Now —
Home / Topics / Download Manager Free / How to get URL for direct link to original file in media folder?

How to get URL for direct link to original file in media folder?

  • This topic has 8 replies, 3 voices, and was last updated 4 days, 18 hours ago by Tahasin.
Viewing 9 posts - 1 through 9 (of 9 total)
Feb 24, 2025 at 1:48 am #203873

Noboru Tanaka
Participant

Hi, I would like to get URL for direct link to original file in media folder.
And, I would like to insert this information to Page Templete.

I have checked following infromation, but they are not what I wanted.

[wpdm_direct_link] – Embed direct download link as a simple text link

How to make a direct link to a downloadable file in the Download Manager plugin

I would like to have URL like this:
https://domain.com/wp-content/uploads/2025/02/xxx.pdf

Thanks,

Feb 24, 2025 at 2:44 am #203874

Noboru Tanaka
Participant

I meant, I need static URL link to original file, not dynamic URL genarated by this plugin.
Thanks,

Feb 24, 2025 at 4:28 am #203875

Tahasin
Moderator

Hello, Noboru

I hope you are doing well and thanks for reaching out.

To retrieve the download URL or link in your page template, use the tag [download_url] for the URL and [download_link] for the link. Please review this and confirm if it meets your needs.

Regards

Feb 24, 2025 at 5:08 am #203878

Noboru Tanaka
Participant

Hi, Tahasin,

Thanks, but this is not what I wanted. I know this function, but what I really need is the function to answer the original file URL from Media folder.
The function will provide a link like “https://domain.com/download/titile/# ”
What I need is a link like “https://domain.com/wp-content/uploads/2025/02/xxx.pdf “, which shows where the file is.

Thanks,

@Tahasin

Feb 24, 2025 at 5:14 am #203879

Tahasin
Moderator

unfortunately, the only way to incorporate the direct link into the page template is manually, by copying the file path from the media.

Feb 24, 2025 at 5:39 am #203881

Noboru Tanaka
Participant

I see, Thanks.

Feb 24, 2025 at 5:44 am #203882

Tahasin
Moderator

Welcome

Jan 29, 2026 at 4:38 am #211202

Jerome Coffey
Participant

Something along the lines of “https://domain.com/wp-content/uploads/basketball stars/2025/02/xxx.pdf” would be great, as it would reveal the location of the file.

Jan 29, 2026 at 5:58 am #211205

Tahasin
Moderator

Hello @Jerome

We have introduced a new feature Media Protection in our latest updates, you can read the documentation here

If you don’t want to apply media protection than, we recommend to upload the files from Attach File section in this way your file and file address remain protected.

If you have further queries, please open a new support ticket.
Regards

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

You must be logged in to reply to this topic.

footer-logo

WordPress Download Manager

All in One Digital Asset Management & Complete eCommerce Solution for Selling Digital Products

Quick Access

  • Try Demo
  • Pricing
  • Affiliate
  • Contact

Blog

  • Updates
  • How-to
  • New Release
  • Tips

Support

  • Support Forum
  • Priority Support
  • Feature Request
  • Terms and Conditions