• I’m working on carving about 10 sites out of an existing larger multisite. Basically I just made a duplicate of the entire site on the new host, then logged in and removed the “other” blogs that were not part of this migration. This preserved all of the users, posts, settings etc.

    For the record, the new “primary blog” ID is 26 (not sure if that matters. – Of course I updated the wp-config.php so that DOMAIN_CURRENT_SITE is my new site url and BLOG_ID_CURRENT_SITE is now 26. Also replaced all references to oldsite.com with newsite.com.

    The issue is with media. This particular install has WordPress in ~/public_html/wp and all the custom site content in ~/public_html/content – I’ve defined WP_CONTENT_URL and WP_CONTENT_DIR accordingly. I also changed the upload path setting for all the blogs to be content/blogs.dir/#/files/.

    On the subsites (e.g. any blog w/ ID not 26 I can see all my old media as well as upload new images just fine. The main blog however is not okay. I can still see all my old images but when I attempt to upload new media the images 404.

    I have poked around enough to figure out that WordPress is instead storing the NEW media at ~/public_html/wp/content/blogs.dir/26/files. (should be ~/public_html/content… w/o the wp in the path.

    Interestingly enough when I try to “edit” one of the missing images but still 404’s.

    What am I doing wrong here?

The topic ‘Multisite upload path problem’ is closed to new replies.