The MU forums have moved to WordPress.org

Plugin upload directory shared between blogs. (3 posts)

  1. shmk
    Member
    Posted 13 years ago #

    I have installed a plugin that uploads files in a fixed folder: "wp-content/uploads/plugin-name".

    I think that this will be conflicting on the various blogs.
    Do you think is it possible to change it to something like "wp-content/blogs.dir/1/uploads/plugin-name", "wp-content/blogs.dir/2/uploads/plugin-name" and so on?

  2. andrea_r
    Moderator
    Posted 13 years ago #

    No.

    It woudl be better to alter the plugin so it properly places the uploaded files into the blogs.dir directory.

  3. shmk
    Member
    Posted 13 years ago #

    Thanks for the reply.

    Do you have a piece of php code that explains how to change in Wordpress MU a
    "wp-content/uploads/plugin-name"
    in a
    "wp-content/blogs.dir/1/uploads/plugin-name"
    version?

About this Topic