• I noticed an earlier thread about images not displaying, but didn’t see a resolution.
    I am having the same issue.

    Just upgraded from WPMU 2.9.2 to WP 3.0.1
    Followed the upgrade explicitly.

    Now all the images on all my sites are not displaying, even though they are still in the blog.dir folder. Have even checked the Permissions (755) all the way down.

    Any suggestions.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Did you see the line about changing the image url rewrite rule in htaccess?

    Recap:
    http://wpmututorials.com/how-to/upgrading-to-3-0/

    Thread Starter slaats

    (@slaats)

    htaccess looks like this –

    RewriteEngine On
    RewriteBase BASE/

    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
    RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]

    # add a trailing slash to /wp-admin
    RewriteCond %{REQUEST_URI} ^.*/wp-admin$
    RewriteRule ^(.+)$ $1/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . – [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>

    I think I have this right?

    Thread Starter slaats

    (@slaats)

    Andrea_r

    Just an FYI – I’m not accessing .htaccess, but htaccess.dist on my server.
    Does that make a difference?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    It might but… Are you using subfolders or subdomains for your subsites?

    Thread Starter slaats

    (@slaats)

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    I don’t think that works. I’m pretty sure you can’t do subdomains if your install is in a subfolder.

    You’d need to put your site in http://matthewslaats.com for it to be able to use http://pause.matthewslaats.com/ and http://powers.matthewslaats.com/

    But you have a strange mix and I’m pretty sure that borks.

    You MIGHT try this .htaccess but I offer no promises:

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /projects
    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

    Just an FYI – I’m not accessing .htaccess, but htaccess.dist on my server.

    Uh, YES.

    htaccess.dist was a file WPMU used to build the .htaccess file. this file is hidden by default, if you do not see it, check “view hidden file” in whatever you;re using to look at the files.

    you can change the contents of htaccess.dist until the cows come home, it will not make one whit of difference.

    I’m pretty sure you can’t do subdomains if your install is in a subfolder.

    Sure you can. You can’t remove the foldername is all.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Images gone’ is closed to new replies.