This is what says about uploads in htaccess:
#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
Should any of that be changed?
Hi
I am also facing the similar issue but in my case I am able to upload a header image and I can even able to see in ftp folder too but it not showing on front end side.
I have WPMU 3.0 and I am using Twenty Ten Theme for all my user’s blog. But this header image wont show up.
Same, but it goes for all images that I try to upload. Either it’s for a post, page, header, avatar and so on. Just anything uploadable.
Yes you are right it the same issue for all posts, header, featured Images anything. I have the same htaccess file like you.
and if you are using wp 3.0 there is no wp-content/blogs.php file because blog.php is no longer in use as they updated blog with site.
Please try to re-write rule in your htaccess if you are using WPMU 3.0
wp-includes/ms-files.php
instead of wp-includes/blog.php
Now it’s working for me, but it’s still not showing in admin but it’s showing it for front end side. Lucky so far!
#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]
That didn’t work for me at least.
@ChirsTorp – do any htacces changes at all appear to have any effect?
If not, then your server is failing to read the file. Unless you have access to the server itself, then your webhost has to fix it.
had the same issues on my apache server. No uploaded images where displayed since I updated to 3.0
The new rewrite rule from ChirsTorp worked great for me. Thanks a lot!!!!
#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]
OK, I need to start over. I believe I have done everything above and with so much info, I fear I’m missing something. So let me give you what I have.
I’m running on a LAMP environment with the latest version of 3.0
I have set up the network (multi-site) and I have set up a second-level domain using these instructions successful. (http://www.interconnectit.com/840/wordpress-3-0-multisite-with-multiple-domains-setup/)
I’m currently working with a new site off of the base installation. The site_ID is “3“.
I have created a directory wp-content/blogs.dir
Upload path is wp-content/blogs.dir/3/files
File upload URL is http://www2.mysite.com/files
Here is my .htaccess file content
RewriteRule ^index\.php$ - [L]
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule . index.php [L]
I have uploaded a logo image, and this URL does not work:
http://www2.mysite.com/files/2010/06/logo-402w.jpg
However, this one does work:
http://www2.mysite.com/wp-content/blogs.dir/3/files/2010/06/logo-402w.jpg
HELP! 🙂
~n
Well, I tried just removing the .htaccess site all together and it sure noticed it was gone at least.
I modified my htaccess file and change the path as below..
RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]
because previously it was with RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
and if you are using WPMU 3.0 blog.php is no longer in use, so far everything is working fine for me.
did you check your htaccess as well as .htaccess
I tried to change that line in my WPMU 3.0 installation and no luck.
I think it could be BuddyPress looking somewhere else. Is there something else I should do.
This is an installation I automatically upgraded from WPMU 2.92. I followed the directions when upgrading, and the images and galleries disappeared, showing broken image boxes.