Site icon Hip-Hop Website Design and Development

Media library storing files in uploads not folders within in uploads

I am working on a site rebuild, I need to preserve about 100 blog posts that include images. I was having issues exporting the images and I decided to just download them via FTP. However, I found a strange file structure in the uploads on this particular site. All of the files are being dumped in uploads, there are no nested directories of years and months.

Typically I would expect an image url structure like this: /wp-content/uploads/2022/02/sheffler.jpg

However, on this site it looks like this: /wp-content/uploads/phyllispalmer-web.jpg

When I dumped all the files into the uploads folder none of them show up in the media library, but they are working in the posts so that’s good.

I’m wondering how the previous developer got this to work though? and for what reason, if any, this would be advantageous?

Ultimately, it would be nice for the client if they could manage the media library through the dashboard.

I did take a look at this post, it mentioned the wp-config file, I checked the wp-config file on the existing site and there aren’t any modifications to the config file in relation to media file paths.

Any ideas would be appreciated.

Thanks.