• Resolved adminmax

    (@adminmax)


    the images are not working, shows up as blank, every site except main site…

    I looked it up and found many people with the same problem but no solutions… except for a fresh install. like other people with this problem i am using an older version of multi site… although i updated it.

    the path doesnt seem to be correct. the upload path is alright, but then wordpress uses this path:

    https://EXAMPLE.com/test/files/appetite-1238251_1280.jpg

    the actual upload is in wp-content/blogs.dir/7/files . I can find the media file there. But wordpress doesnt use that link.

    thanks

    • This topic was modified 5 years, 9 months ago by adminmax.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter adminmax

    (@adminmax)

    found the answer : This was missing from the .htaccess

    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

    thanks

    Sometimes you need to set or correct the media upload path to what that individual ‘site’ is using on the network.

    My Sites –> Network Admin –> Sites –> Settings then down to ‘Uploads Use Yearmonth Folders’ (that’s a Boolean I think so toggle it from 0 to 1 or vice versa as needed) I don’t think you’ll need to touch that but maybe.

    And under that is the path to the proper directory which you can derive from what is there and the path your media files are in.

    • This reply was modified 5 years, 9 months ago by JNashHawkins.

    You’re too fast but that was probably good anyway.

    Thread Starter adminmax

    (@adminmax)

    “My Sites –> Network Admin –> Sites –> Settings then down to ‘Uploads Use Yearmonth Folders’ (that’s a Boolean I think so toggle it from 0 to 1 or vice versa as needed) I don’t think you’ll need to touch that but maybe.

    And under that is the path to the proper directory which you can derive from what is there and the path your media files are in.”

    I tried this exactly, and it didn’t work… in fact before i changed the .htaccess , no matter what i wrote down in My Sites –> Network Admin –> Sites –> Settings then Uploads , it didn’t change anything.

    thanks anyway for your help!

    I’m writing all of this here in the hope someone else with the same problem might be helped.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘media not working’ is closed to new replies.