Proposed change for ms-files.php & image handling

Proposed change for ms-files.php & image handling

This trac ticket has been tagged for 3.4 which is quite a while away from happening. Basically, the current way multisite handles images on the sub sites, is by running every request through a file called ms-files.php. This can actually be overridden via the sunrise.php file.

The proposed change would involve moving new sub site images into wp-content/uploads/sites/ where it makes much more sense. I've seen a lot of confusion over the blogs.dir folder and image rewrite rules.

This would also be handled in such a way that your current image uploads would not suddenly break. That would be a nightmare.

If you have worked extensively in this are of multisite, please chime in on the trac ticket.

  • Adam
    Posted at 15:51h, 16 May Reply

    Could you give me some direction on how to disable ms-files.php via sunrise.php? I’d like to reference the files directly. Thanks for any direction you can give.

    • Ron
      Posted at 10:28h, 17 May Reply

      I’d suggest you hire a developer who is familiar with the media handling WP networks.

Post A Comment