WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Standard WordPress sites, at least of the versions of WP I've tested, store files uploaded via the Media Manager under wp-content/uploads/

Where do these same files get stored in MU sites and how can you obtain a reference to this folder via script from functions.php?

Is the location different depending on which version of WP or WPMU is installed?

share|improve this question
up vote 1 down vote accepted

Have a look at the following page and see if that answers the question for you... ;) https://core.trac.wordpress.org/browser/tags/3.0.1/wp-includes/ms-default-constants.php

share|improve this answer
/wp-content/blogs.dir/[siteid]/files/ – Scott B Nov 18 '10 at 17:03
Perhaps another question, but related: How to determine, from functions.php, if the site is WPMU or standard? And how to get siteid via script? {$wpdb->blogid} ? – Scott B Nov 18 '10 at 17:05
See Andrea's answer, and i think she's referring to wp_upload_dir() if i'm following correctly... :) – t31os Nov 18 '10 at 23:25

Do a check for is_site_admin - if it's true, the network is enabled.

If you use the usual WP uploads folder function call, it will magically find the multisite ones as well. (I can't remember it off the top of my head)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.