1] I have WPMU setup in public_html/wordpress/on a shared server running Cpanel.
2] All blogs go into their own subdirectory ie.
http://www.domain.com/wordpress/blogone/
http://www.domain.com/wordpress/blogtwo/
and so on.
3] Upload setting in Site Admin > Blogs for the 1st blog
http://www.domain.com/wordpress/blogone/ is as follows:
Upload Path: wp-content/blogs.dir/1/files
Fileupload Url: http://domain.com/wordpress/
Fileupload Realpath: http://domain.com/wordpress/wp-content/blogs.dir/1/files
4] Here are contents of my .htaccess file [located in public_html/wordpress/]
RewriteEngine On
RewriteBase /wordpress/
#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [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]
5] When I upload .jpg file from "write post" section it shows under "Browse all" When I try and send file to editor the image is not visible in the editor window.
When I look at the source code it shows the
image URL as
http://domain.com/wordpress/files/image.jpg
The image is actually being uploaded to
http://domain.com/wordpress/wp-content/blogs.dir/1/files/
This is the correct folder for all uploads for this blog.
Why is the image URL different in the browse all section of "Write Post"
Images are not being added to blog posts. Please help solve the problem.