Images loaded ok to server, but images aren't displayed (7 posts)

  1. DigiJan
    Posted 5 years ago #


    I know this is an issue that has gotten a lot of attention here in wordpress.org forum. Nevertheless, I haven't found solution to my problem.

    First of all my setup:
    - WordPress 3.0.1
    - IIS 6
    - Windows Server 2003
    - Multisite feature enabled
    - .htaccess done as explained in here
    - copied the .htaccess settings from (Tools -> Network screen) to .htaccess file in the root of my wordpress site
    - multisite done as subdirectories (not subdomains)
    - I have enabled the image (media) upload

    And the problem:

    Uploading images on the mainblog works fine and in subblogs images are uploaded to correct place on the server but none of the images are displayed neither in the Media library or in posts where images are used. Uploaded images are displayed as broken images in the media library and the posts.

    Upload Path is 'wp-content/blogs.dir/2/files'
    Fileupload Url is 'http://intra/wordpress/myotherblog/files'

    If uploaded image is used in a post, the img's src is:
    which doesn't work. If the src is:
    image is displayed.

    Any ideas what might cause problem? I'm guessing that this has something to do with the htaccess and uploaded files rewrite rule? Any help would be appreciated! I did go through the forum posts but nothing seems to help... Just let me know if I can provide more information to solve this problem.

    .htaccess file contains the following:

    RewriteEngine On
    RewriteBase /wordpress/
    RewriteRule ^index\.php$ - [L]

    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

  2. DigiJan
    Posted 5 years ago #

    My problem is similar mentioned in here: http://wordpress.org/support/topic/images-dont-show-1

    but instead of subdomains my multisite is done with subfolders.

    Really need to fix this so any suggestions (besides don't use IIS6) and pointers are welcome!

  3. you're on IIS, you need the right web.config file. i'm not a Windows gal, so all I know is it;s in the forum here somewhere. :)

  4. DigiJan
    Posted 5 years ago #

    I'm using the ISAPI_Rewrite3 Lite by Helicon so I guess that I shouldn't need the web.config file?

    At least there isn't anything mentioned about it in here:

  5. DigiJan
    Posted 5 years ago #

    But something is definetely wrong because urls aren't being rewritten...

  6. No idea, dunno windows really.

  7. damongreen
    Posted 5 years ago #


    I'm having the exact same problem, only with 3.1.1. Did you ever resolve this?

    Thanks for you help,

Topic Closed

This topic has been closed to new replies.

About this Topic