So I'm running Wordpress 3.0 multiuser-enabled, but I can't get any of the images (which all upload) on any blog but the first to display correctly. The only solution I've found online hasn't worked for me, and I think it's an .htaccess problem.
My .htaccess file says this (from
Wordpress's setup instructions -- I'm using the sub-domain setup):
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]
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# END WordPress
What happens is I'll upload an image to blog 2, and it will show up if I load domain/wp-content/blogs.dir/2/files/image.jpg, but not domain/wp-content/uploads/image.jpg. The first one is the actual location on the server, whereas the second one is what Wordpress produces and what that htaccess file is supposed to make work.
I've used the paid support by my web host and I've tried the Wordpress.org support forums multiple times each, and I've Googled my brains out, but no dice. I tried to learn how to write .htaccess by myself, but as far as I can tell it looks like that should be working. Wordpress support says my host just isn't reading the htaccess file, and my host says that that is "erroneous," but I'm pretty sure it's being read because all of the permalinks work well-- it's just file uploads that can't be read on the subsidiary blogs.
Help? Please?
You may want to double check that second URL. On my Wordpress MU install, the links are of the form subdomain.example.com/files/2011/06/image.jpg. That URL would point to the actual file location of \root_wordpress_folder\wp-content\blogs.dir\2\files\2011\06\image.jpg.
posted by Nonsteroidal Anti-Inflammatory Drug at 7:42 PM on June 15, 2011