WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WP 3.5 - Don't I need to create blogs.dir? (7 posts)

  1. mished
    Member
    Posted 1 year ago #

    I'm installing WP 3.5 and following the instructions here: http://codex.wordpress.org/Create_A_Network

    There's nothing on these instructions that say I need to create blogs.dir. Don't I need to do this anymore in WP 3.5?

  2. _Redd
    Member
    Posted 1 year ago #

    Hi mished, if you started fresh with a clean install of 3.5, there is no longer a blogs.dir.

    There's a little more information here:
    http://codex.wordpress.org/Multisite_Network_Administration

    If you see the paragraph labeled, "Uploaded File Path", there's a little blurb about a change from 3.0 - 3.4.2, in which blogs.dir used to be part of the path (but is no longer).

    You may also be interested in this:

    In multisite installs setup with WordPress 3.5 or later, ms-files.php is bypassed directly, and blogs.dir is not used.

    Instead, uploads are stored in wp-content/blogs/{blog_id} and referred to as such. This means that there is only one way to access files on a subdomain install, and only two on subdirectory install.

    http://wordpress.stackexchange.com/questions/76405/which-asset-urls-are-acceptable-in-a-vanilla-mu-install/77084#77084

    Hope that helps!

  3. sontru
    Member
    Posted 1 year ago #

    Thanks for the info Nelson.

    I assume that the upgrade process to 3.5 will do this automatically (i.e. move all uploads from blogs.dir/* to the appropriate blogs/{blog_id}?)

  4. _Redd
    Member
    Posted 1 year ago #

    I believe upgrading is a different process, and one I don't understand enough to answer competently. I apologize for that.

    I thinkyou're right, that WordPress automatically handles it for you--
    See this response in the "Anser" portion of the article:

    so basically WordPress handle this issue of `blogs.dir' for you.

    http://wordpress.stackexchange.com/questions/21154/can-somebody-tell-me-how-i-am-supposed-to-be-using-blogs-dir-for-network-mu-si

    You may want to consider re-opening another thread, and asking the same question about blogs.dir in the specific case of upgrades. To explain "how" it happens, you need someone more expert than me to explain what happens to blogs.dir in upgrades.

  5. I assume that the upgrade process to 3.5 will do this automatically (i.e. move all uploads from blogs.dir/* to the appropriate blogs/{blog_id}?)

    No. if you start before 3.5, you stay with blogs.dir.

  6. _Redd
    Member
    Posted 1 year ago #

    Thanks for the follow-up, and setting it straight, Mika, much appreciated!

  7. mished
    Member
    Posted 1 year ago #

    Thanks, Nelson. Yes, it is a clean stall, so looks like I'm off the blogs.dir hook on this particular site.

Topic Closed

This topic has been closed to new replies.

About this Topic