• ResolvedModerator Bet Hannon

    (@bethannon1)


    For some reason, some of the newer subsites created on my multisite are all saving their images to wp-content/uploads, instead of wp-content/blogs.dir/(site#) like other subsites in the install. (I haven’t figured out why, but one of them was an imported site, migrated with BackupBuddy…)

    So I opened network edit sites, and while I can find “Upload Url Path” and “Fileupload Url”, I can’t find an option for “Upload Path” on one of the subsites.

    Why would I be missing this, and where can I find it to fix the upload path?

Viewing 11 replies - 31 through 41 (of 41 total)
  • Moderator Bet Hannon

    (@bethannon1)

    Hi Kim!

    I have on each site (in Network Admin dashboard, on the list of all sites, click edit a single site, and to go the settings tab):

    for upload path: wp-content/blogs.dir/[site#]/files
    Upload Url Path is blank
    Fileupload Url is: https://[subsitename].churchwebsiteprogram.com/files

    Have you tried a test upload from Media–Add New? Does a file uploaded there go to the right blogs.dir/[site#]/files?

    That’s what I’ve been doing for 2 days. My images don’t how up when they go to the blogs.dir/[site#]/files.

    Moderator Bet Hannon

    (@bethannon1)

    When you say “don’t show up”, do you mean don’t display on a page/post, or in the directory when you FTP in a look for it?

    They don’t display on a page.post. They’re in the directory.

    Moderator Bet Hannon

    (@bethannon1)

    When you look at the HTML tab of the page or post, what is the src for the image?

    Moderator Bet Hannon

    (@bethannon1)

    It looks like you are using subdirectories, which I don’t have any experience with– I use subdomains. I don’t think that makes too much difference here, but I could be mistaken.

    For this specific subsite, what is the setting for its “fileupload url”?

    Moderator Bet Hannon

    (@bethannon1)

    While you’re at it: what is the setting for “upload path” too?

    If you mean from the wp_3_options file in the database, the upload path is wp-content/blogs.dir/3/files. And do you mean the upload_url_path for the fileupload url? If so, that value is blank.

    Moderator Bet Hannon

    (@bethannon1)

    No, upload_url_path and fileupload url are essentially the same thing (I think…). What you are looking for is “upload_path”. It looks like this in the dashboard settings: https://tinyurl.com/m5895jk

    THAT’s what controls what directory your uploads go into. And that’s what I was missing that caused the problems that initiated this post.

    Have you FTP’ed in and checked to see that vickery3.jpg is in blogs.dir/3/files/2011/09/?

    BTW, you don’t need to get into the database to see those things. You can see most of the site options in the dashboard: in the network admin dashboard, go to All sites, then hover over the name of a site, then click edit. Then go to Settings.

    My upload_path is wp-content/blogs.dir/3/files

    I did check and that file is definitely in that location.

Viewing 11 replies - 31 through 41 (of 41 total)
  • The topic ‘upload path missing?’ is closed to new replies.