How can I disable to create folders for every years and months in uploads folder?
I mean there is a lot of folder under “wp-content/uploads”, and the majority of them are empty. Why create WP these folders?
Thanks!
2 Answers
You can disable this by going to Settings -> Media
If you uncheck the setting all the future media uploads will directly into wp-content/uploads
folder.
Why create WP these folders?
WP doesn’t create empty folders, I assume those folders are created when you have uploaded media and now they they are empty because you might have mass deleted media files for those months. WP doesn’t delete folder once there are no media files(I mean once you have deleted all corresponding media files).
My opinion is that it’s not a big deal that even if we have empty folders.