WordPress.org

Ready to get started?Download WordPress

Forums

Media uploads, but won't display; URL problem? (2 posts)

  1. Odai Athamneh
    Member
    Posted 2 years ago #

    Hello. I would like to start by thanking anyone who takes the time to read this, I know you do this for free, simply to be helpful. I also apologize if this is an obvious problem, but I searched the forums and couldn't find an answer.

    For a couple months now, I haven't been able to upload photos using WordPress' built-in uploader. I should have tackled the problem immediately, but I've just been using FTP instead. Well, I finally decided to tackle the problem, and I'm stumped.

    My website is http://odai.me, and so instead of the default "wp-content/uploads" folder for media, I switched it to "http://odai.me/dia" (Get it?)

    Here's a screenshot of my Media settings, just to verify.

    The issue is, after uploading any file, it shows in my Library, but isn't accessible. If it's a picture, it shows a broken thumbnail (screenshot here). Even files that were uploaded when things were working, are no longer accessible.

    I went into cPanel, to see if the files were uploading. And the thing is, they are. In the "Dia" sub-directory, the files are indeed there. I can even view them from within cPanel! But if I try to view them by typing in the URL, I get this.

    ...

    I'm guessing there's some sort of confusion on what the permalink should be. Why? Take this photo, which should be hosted at

    Instead, if I click "View" in my media library, it takes me to

    It still isn't showing, but it's the right page template for media, so that's something. Here's what the picture should be, from my Twitter.

    ...

    It's probably worth mentioning that if I use WP's built-in photo editor, I can actually see the pictures (screenshot here). So on some level, WP can find the file. It just can't display it.

    One last thing - I uploaded these screenshots by FTP, of course ;) Again, thank you to anyone who took the time to read this and/or help me out.

  2. Odai Athamneh
    Member
    Posted 2 years ago #

    Might be worth mentioning - I can get it working again by reverting to the default "wp-content/uploads" folder, but I really want to do this "Odai.me/dia" thing.

    Does anyone have advice, or should I just forget about it and be happy it works again?

    EDIT: Just figured this out, or I would have put it in my first post.

Topic Closed

This topic has been closed to new replies.

About this Topic