16

I had to upload many files massive and directly to /wp-content/uploads/[year]/[month]/ but those files does not appears in Dashboard>Media>Library

Is there a way to update or refresh it to load those files or it's simply happening because it should have been writen also in database and I avoided it? In this case, is there a plugin to fix it?

1 Answer 1

16

Avoid direct upload WordPress doesn't scan upload directory for new files, instead use WordPress media uploader to add files WordPress automatically creates folder and store them accordingly.

But you can use this plugin to import those uploaded files into WordPress, it should help you https://wordpress.org/plugins/add-from-server/

4
  • 1
    welcome :) mark as correct answer, it may helps people in future.
    – GKS
    Commented Nov 21, 2016 at 9:16
  • Uh, done, I though I was unable to do it since I have no reputation, however, thanks again! :)
    – Mc Kernel
    Commented Nov 21, 2016 at 9:31
  • Curious @McKernel, did this work for adding a large number of files? The plugin's description is a bit dubious in that regard. :P
    – Nathan
    Commented Mar 8, 2019 at 3:29
  • 1
    This plugin may better serve this purpose today. wordpress.org/plugins/media-sync Commented May 11, 2021 at 16:59

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