Re: WP MU 2.6.5 uploaded images path goes wrong
guys, i guess this problem may have something to do with .htaccess Rewrite rules. so i got only one rule for uploaded files –
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L], but it doesn’t work well.
http://www.tf2.lv/files/2009/01/fog.jpg – this is path WP gave me after i uploaded the picture (not working one).
http://www.tf2.lv/wp-content/blogs.dir/1/files/2009/01/fog.jpg – this is actual path to this image (working one).
and this is path that works in browser url like actual path –
http://tf2.lv/wp-content/blogs.php?file=/2009/01/fog.jpg (also working one)
maybe somebody heard something about this problem?
ps. seems like uploading process can’t figured it out $username blog path (
wp-content/blogs.dir/1) to add before