WordPress.org

Ready to get started?Download WordPress

Forums

broken links for media file when deleting blogs.php (2 posts)

  1. yyoz
    Member
    Posted 3 years ago #

    Hi All,
    I have upgraded from WordPress-MU 2.8.4 to WordPress 3.0.3 via 2.9.2, and as instructed changed the line from
    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
    to
    RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]
    in the .htaccess file

    If I follow strictly the instructions and get rid of the wp-content/blogs.php file, all the sites have broken links to the media files they are using, whereas if I don't delete the file, the links are fully functional. There must be something in blogs.php that is necessary to the system, but I can't figure out what.
    I would be grateful to read from someone who could show me the way to get this right.
    Yves

  2. There must be something in blogs.php that is necessary to the system, but I can't figure out what.

    In later versions, there are exactly 0 references to that particular file.

    in other words, your upgrade is probably not complete.

    If you changed the rewrite rule and the images work, then leaving the file there is okay too.

Topic Closed

This topic has been closed to new replies.

About this Topic