Forums

[resolved] wordpress 3 MU sub domain broken image link (9 posts)

  1. bolsolution
    Member
    Posted 1 year ago #

    Hi,
    I am install wordpress 3 with sub domain setup...

    Everythings working find...
    just that there are some problem on showing image on sub domain blog.

    main blog - http://dbolsolutions.com/ - image show correctly
    sub blog - http://yahoo.dbolsolutions.com/ - cant show image.

    .htaccess content
    ====================
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]

    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]

    May i know i do anythings wrong?

  2. bolsolution
    Member
    Posted 1 year ago #

    I have check that the the MU sub domain web's images have showing http status 200 but still cant show image. :(
    i had check the image upload sucessful in forlder blogs.dir.

  3. bolsolution
    Member
    Posted 1 year ago #

    Fixed.
    It is because of hosting problem.

  4. ebald
    Member
    Posted 1 year ago #

    I have the same problem, please can you tell me how to fix this?

  5. greatdanemaniac
    Member
    Posted 1 year ago #

    I also have the same problem, but I'm checking with my host at the moment.

    @ebald, I'll get back to you with the solution if I can fix it.

  6. Johanhorak
    Member
    Posted 1 year ago #

    @greatdanemaniac If you know please let me know. I have describe my problem here on wordpress multisite

    I will check with my host.

  7. greatdanemaniac
    Member
    Posted 1 year ago #

    I haven't found a solution to this problem yet. Sorry,...don't really know how to handle it either. Why isn't it working???

    I've tried every possible way, but nothing works!

  8. greatdanemaniac
    Member
    Posted 1 year ago #

    I have figured out the solution now, and it was pretty easy, even though it took a while.

    Instead of this:

    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

    add this to your .htacces file:

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

    Notice the difference in letters and numbers.
    Good luck!

  9. Johanhorak
    Member
    Posted 1 year ago #

    @greatdanemaniac Thanks for that. I included that but also had a problem that my host has to sort out.

    @Andrea_r helped me out on the support issue here
    http://wordpress.org/support/topic/images-not-showing-24?replies=3#post-1644189

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.