Turn off ms-files.php after network setup

In theory:

  1. Move images from blogs.dir/SITENUM/files/ to /uploads/SITENUM/ (or make an alias)
  2. Edit all sites so they don’t look in /files/ but in /uploads/SITENUM/
  3. .htaccess, remove the ms-files.php line
  4. Search/replace each posts table for each site, changing /files/ to /uploads/SITENUM/

A walk-through can be found here (dumping ms-files), this is not a trivial hack! It involves command-line usage, sql, and using a mu-plugin.

Resources

Leave a Comment