• Hello,
    i am pretty much a WordPress noob.
    Let’s say i want to upload a file to be accessible by others, for example a plain .txt file, what would be the best/correct way to do it?

    Preferably with a simple URL that is not so deeply nested. The URL to the Media files looks a bit ugly.
    Does anyone know a good plugin for this job?

    • This topic was modified 6 years, 11 months ago by flizzywp.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter flizzywp

    (@flizzywp)

    I forgot to mention: i want to access that file directly, not via download. So showing an image or a txt file in the browser directly.

    URLs are URLs. They don’t need to be pretty or short – they are the street address of the web that ensures users end up at the resources they’ve requested.

    What I’m driving at is that why does it matter what the URL is as long as people get to the resource?

    As for ensuring users get the raw file, make sure to grab the url from the details view of the resource in question (inside the media library, click the item in question and see the right-hand sidebar) and use that.

    That will point directly to the resource. No plugins needed.

    Hope this helps!

    Thread Starter flizzywp

    (@flizzywp)

    Ok, thanks for your answer. I guess you’re right.

    So the Media Library is an appropriate place to put file that others should access?
    I am talking about 100s or 1000s here, will there be a problem?

    If you want to manage your “uploads” via WordPress, then yes, the Media Library is the “best” WordPress-way option. The amount of uploads really doesn’t matter if your server/hosting supports it. That being said, I do recommend being sensitive to your user’s bandwidth and connectivity!

    Thread Starter flizzywp

    (@flizzywp)

    Thanks man, really appreciate that you took your time to help me.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Correct way to upload files to be accessible for others?’ is closed to new replies.