The MU forums have moved to WordPress.org

import & image upload problems (35 posts)

  1. mistwist
    Inactive
    Posted 18 years ago #

    If I remember correctly we made the following change to htaccess..

    Find:
    RewriteRule ^([_0-9a-zA-Z-]+)/files/(.*) /wp-inst/wp-content/blogs/$1/files/$2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+)/wp-content/blogs/(.*)/files/(.*) /wp-inst/wp-content/blogs/$1/files/$3 [L]

    Replace with:
    RewriteRule ^([_0-9a-zA-Z-]*)/?files/(.*) /wp-inst/wp-content/blogs/$1/files/$2 [L]

    RewriteRule ^([_0-9a-zA-Z-]*)/?wp-content/blogs/(.*)/files/(.*) /wp-inst/wp-content/blogs/$1/files/$3 [L]

    Unfortunately I really didnt make any notes, so lesson learned, I will make detailed notes in the future!

  2. kahless
    Member
    Posted 18 years ago #

    As I posted in my thread about someone maintaining a list of changes for .htaccess, I think the whole section of pass straight through needs to have the rules changed in the exact same manner as you did +)/ goes to *)/? This seems to be the common change that is making lots of features work.

  3. panic
    Member
    Posted 18 years ago #

    I add to .htaccess (2005-11-27 ver)

    RewriteRule ^files/(.*) /wp-inst/wp-content/blogs.php?file=$1 [L]

    works fine.

  4. NickR
    Member
    Posted 18 years ago #

    That worked like a dream for me!

  5. petti
    Member
    Posted 15 years ago #

About this Topic