• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Download Monitor & Manager Plugin

Simple Download Monitor & Manager for WordPress

  • Home
  • Documentation
  • Addons/Extensions
  • Login
    • Sign In
    • Edit Profile
    • My Downloads
  • Support
    • Tutorials
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration
  • Contact Us
You are here: Home

tdaplyn

  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • October 12, 2019 at 7:29 pm in reply to: Hidden Downloads – file_exists error on all settings #1353
    tdaplyn
    Participant

    When you use the Select File button to choose a file from the media library, it always inserts a relative URL, not an absolute one.
    Does it really make sense that we have to manually add ‘https://mysite.com/’ in front every time?
    Thanks,
    Tim

    October 12, 2019 at 7:24 pm in reply to: Hidden Downloads – file_exists error on all settings #1351
    tdaplyn
    Participant

    Hi,

    That’s not quite what I meant. What I was saying it that it should accept relative URLs really, in case the site gets moved to a different domain etc.

    Thanks for your help
    Tim

    July 24, 2019 at 2:49 pm in reply to: Hidden Downloads – file_exists error on all settings #1287
    tdaplyn
    Participant

    Thanks – I can confirm that’s now working!

    Is there any way I can use variables like {PROTOCOL} and {HOST} or similar to have the plugin look at the request URL and fill-in the detail? Or better still have the plugin just accept root-based relative paths (starting with ‘/’) and prepend the protocol and host as needed at runtime?

    It’s generally considered bad form to hard-code full paths to on-server resources as it will cause lots of broken functionality should the site move to a new domain or http/https access change.

    Thanks,
    Tim

    July 17, 2019 at 12:33 pm in reply to: Hidden Downloads – file_exists error on all settings #1283
    tdaplyn
    Participant

    Hi. Thanks for getting back to me.

    The file is uploaded to the media library on the wordpress install (local).

    The full error is:

    Error on file_exists(‘/wp-content/uploads/2019/07/[filename].pdf’)

    This is the correct path to the file (if I append it to my root domain it downloads fine).

    For the Automatic URL Conversion Preference setting I have tried all 3 options – Absolute, Relative and Do not convert, but the result is exactly the same error message.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)

Primary Sidebar

Featured Addons

  • Squeeze Form Addon
  • Hidden Downloads Addon
  • Amazon S3 Integration

Support Links

  • Support Forum

Search

Featured Plugin

WP Express Checkout Plugin

Start managing and tracking your file downloads with the simple download monitor plugin. Download Now

Copyright © 2025 | Simple Download Monitor | A member of the Tips and Tricks HQ family.