Image location hell
-
Hi all,
I’ve got a WordPress multisite installation that has been running since pre-WP 3.0 times. In the most recent upgrade, the images have gone totally wonky on the subsites. The media libraries have disappeared on the backend, and within subsites, featured images are not being found.
Looking in the database I see 3 distinct types of storage conventions stored in guid for images and other uploads:
– https://mydomain.com/wp-content/uploads/2013/04/image.png
– https://mydomain.com/%5Bsubsite%5D/files/2013/06/image.jpeg
– https://mydomain.com/%5Bsubsite%5D/wp-content/blogs.dir/3/files/2013/12/image.jpgI desperately need to sort this out and want to move all files to the most current format. Questions:
1) Which file format is the most current?
2) Is there any reason I can’t do a search/replace on the DB to align these all with the same directory structure, and then move all the images to the new location?
3) Is the slightly modified .htaccess file code the only difference between multisite stored after WP v3.5 and earlier versions?
I’m willing and able to do deep work to make this function again. Any help is appreciated.
Thanks.
- The topic ‘Image location hell’ is closed to new replies.