Forums

[resolved] Uploaded Media Files not showing on sub-sites (2 posts)

  1. aqeeling
    Member
    Posted 1 year ago #

    Please help me understand what's causing the problem.

    I uploaded an image on a sub-site using 'Add New' and it shows up broken in the Media library.

    In edit media, i see the file URL as
    http://4computing.8at8.net/files/2011/03/logow.png

    I try the URL, and the file doesn't exist.

    Instead the image has been uploaded to
    http://4computing.8at8.net/wp-content/blogs.dir/3/files/2011/03/logow.png

    Next, I uploaded the same image to the default site, 8at8.net and the images appear as they are supposed to. There, the path is
    'http://8at8.net/wp-content/uploads/2011/03/logow.png'

    I am using WP 3.1, Apache on EC2. MU has subdomains, and permalinks are being used with index.php as they did not work otherwise.

    The .htaccess file is exactly what the Network Setup page indicated.

    What do i need to do to ensure that my sub-sites read the uploaded image from the correct path?

  2. aqeeling
    Member
    Posted 1 year ago #

    Found a solution, if anyone encounters the same problem then it is likely that your .htaccess file is being ignored by the server, and any changes in that file would be ineffective.

    To resolve this:
    1. Open up your httpd.conf
    2. Scroll to Options FollowSymLinks
    3. Below that change AllowOverride None to AllowOverride All
    4. Restart apache, and all should be well! :)

    Best!

Topic Closed

This topic has been closed to new replies.

About this Topic