0

https://fleurdelys.nl/wp-content/uploads/2018/04/legle-sous-le-soleil-5-100x100.jpg

I have this file that really shows up in the browser. If i check the upload directory it can noyt befound in the specific directory. I use FileZilla to acces the upload directory. What am i missing????

2
  • Maybe Filezilla doesn't have permissions to see some directories. If the URL works and there are no redirections involved, the file is there.
    – tripleee
    Mar 24 at 12:05
  • are you using a CDN? There's definitely something being served, and you have a cache handler of some sort, as for what you're missing it could be hundreds of things, you'll need to provide more information
    – Tom J Nowell
    Mar 24 at 12:52

1 Answer 1

1

Uploading directly to the wp-content/uploads folder using FTP or likewise will not make it show up in the Media Library. The files have been uploaded successfully, but WordPress requires the media ID to be added to the database. Only once the media ID is added to the WP database do the files show up in the Media Library. Uploading an image through the Media Library on your dashboard does this automatically, but there are situations (like in your case) where you may need to upload through FTP or some other direct file management means.

You can use a plugin such as Add From Server to add the media ID to the database for you.

Note: this plugin hasn't been tested with the latest few versions of WordPress, so use at your own discretion. I've used it many times in recent months without issue, and I just tested it with the latest build of WordPress and it also worked without issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.