Skip to:
Content
Pages
Categories
Search
Top
Bottom

WP MU 2.6.5 uploaded images path goes wrong


  • yu
    Participant

    @gerbilo

    I’ve allready started this thread on MU forums, but maybe someone could help around here )

    So after upload image file is successfully created, croped and saved on the server side in folder /wp-content/blogs.dir/1/files/2009/some_image.jpg , but in Media Library (and in posts used this images from library) i got wrong path /files/2009/some_image.jpg

    I guess there is something wrong with url rewrite rules.. but that’s strange cause a i had never change a line in .htaccess file..

Viewing 3 replies - 1 through 3 (of 3 total)

  • yu
    Participant

    @gerbilo

    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.

    for example:

    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 files/2009/01/fog.jpg


    yu
    Participant

    @gerbilo

    guys, could anyone answer to me on such question – is there any problems with image upload -> thumbnail view (wrong paths for uploaded images in Media Library) on your side? cause maybe it’s BPs bug..


    yu
    Participant

    @gerbilo

    aloooohhaaaaa!

    is it so hard to upload some image using your BP MU and post here the results? oO

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WP MU 2.6.5 uploaded images path goes wrong’ is closed to new replies.
Skip to toolbar