WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Where are upload files stored? (7 posts)

  1. gilliancs
    Member
    Posted 4 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?

  2. Yeah, you want blogs.dir

    Your FIRST site, however, will upload in wp-content/uploads/

  3. gilliancs
    Member
    Posted 4 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.

  4. gilliancs
    Member
    Posted 4 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.

  5. 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 :)

  6. robcwright
    Member
    Posted 4 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.

  7. 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.

Topic Closed

This topic has been closed to new replies.

About this Topic