Multisite not displaying uploaded images

This topic has 2 replies, 2 voices, and was last updated 9 years, 10 months ago ago by Eva Kemp

  • Avatar: c9dd
    c9dd
    Participant
    January 21, 2015 at 17:02

    Hi,

    I think this maynot be theme related, but I have been told by my hosting provider to check with you.

    When I upload anyfiles to the site they produce a 404 error, this is an example

    Actual location of uploaded content
    http://shop.morso.co.uk/wp-content/blogs.dir/4/files/2015/01/logo-150×90.jpg

    Referenced location
    http://shop.morso.co.uk/files/2015/01/logo-150×90.jpg

    I think it’s a server issue, as seen here https://wordpress.org/support/topic/multisite-blogs-images-not-showing

    My .htaccess file looks like this

    # BEGIN WordPress

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]

    # uploaded files
    # RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule . index.php [L]

    # END WordPress

    Thanks

    Ash

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: Eva
    Eva Kemp
    Support staff
    January 21, 2015 at 17:38

    Hello,

    You have this rule commented in .htaccess file:
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    Just remove # in front of it and check again.

    Thank you.
    Regards,
    Eva Kemp.

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.