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
    • Cloud Storage
    • eCommerce Add-ons
    • Email
    • Featured
    • Free
    • Marketing
    • Payment Gateways
    • Social Networking
    • Tools
    • UI
    • Widgets

    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 6 replies, 2 voices, and was last updated 3 months, 3 weeks ago by Tahasin.
Viewing 7 posts - 1 through 7 (of 7 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

Viewing 7 posts - 1 through 7 (of 7 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