gilliancs
Member
Posted 2 years ago #
I've installed multisite (sub-folder version), made a first sub-site and everything's working great. However, I can't find the upload files on my server.
I installed 2 folders in wp-content, blogs and blogs.dir (I wasn't sure if .dir is a windows suffix for a folder and I reckoned I'd find out by seeing into which of the two stuff got put). But they are both empty.
When I hover over an image I have uploaded it gives me
network_url/subsite_url/files/2011/01/imagename.jpg
Any ideas where they might be?
Yeah, you want blogs.dir
Your FIRST site, however, will upload in wp-content/uploads/
gilliancs
Member
Posted 2 years ago #
I've deleted the blogs folder and uploaded an image to the main site, but there's nothing new in wp-content and blogs.dir is still empty. They must be going somewhere or the sites wouldn't work.
gilliancs
Member
Posted 2 years ago #
Solved this one: I quit Transmit (my ftp program) and restarted and now I can see the folders OK. It's useful to know the main site files are in wp-content. Thanks.
WordPress does a bit of trickery.
EVERYTHING gets urls of domain.com/sitename/files/whatever
But Site #1 (main site) is wp-content/uploads/YYYY and every other site is wp-content/blogs.dir/#/files/YYYY :)
robcwright
Member
Posted 2 years ago #
Ipstenu, any way around site ID 1 going to uploads. I'd like it in blogs.dir so I can take advantage of the auto-redirecting to /files/ but can't figure out how to get site 1 to do it.
Sure :)
I wrote a bit of a tutorial for this: http://code.ipstenu.org/2010/moving-your-images-for-multisite/
That said, the files redirection should still work for the uploads folder, and you don't HAVE to change anything.