Support » Networking WordPress » Broken images on network blogs (WP3)

  • Hello,
    I know there are many “broken images” posts on this forum but I tried everything and I can’t find the solution.

    I have a fresh install of WordPress 3.

    A main blog here:
    http://mycours.es/

    And a sub blog here:
    http://mycours.es/gamedesign2012/

    In the main blog the images work fine but in the other blog I can see them only if I’m logged as admin.

    This post is supposed to show an image
    http://mycours.es/gamedesign2012/2012/07/30/hello-world/

    The image file is here:
    http://mycours.es/wp-content/blogs.dir/2/files/2012/07/a.jpg

    But the image link is this one and returns internal server error (unless logged in)
    http://mycours.es/gamedesign2012/files/2012/07/a.jpg

    The upload path setting for that blog is:
    wp-content/blogs.dir/2/files

    And my .htaccess file looks like this:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    # RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]

    What am I doing wrong?

Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Broken images on network blogs (WP3)’ is closed to new replies.