The MU forums have moved to WordPress.org

Whats the diff with /wp-content/mu-plugins/ and /wp-content/plugins/ ?? (5 posts)

  1. CM30
    Member
    Posted 16 years ago #

    Like the topic says what is the difference between Whats the /wp-content/mu-plugins/ and /wp-content/plugins/ ??

  2. MrBrian
    Member
    Posted 16 years ago #

    mu-plugins is where you can place plugins you'd like to "autoactivate" and not have displayed in the plugins list to users. Be careful with this though, as it can affect your performance by putting uneeded plugins inside of it. Also, only files inside of the root directory will be autoexecuted, not files in subdirectories.

    "plugins" behaves the same as regular wordpress.

  3. podcastnyc
    Member
    Posted 16 years ago #

    The plugin linked below allows you to place plugins with subdirectories in the MU plugin folder.

    http://heftagaub.wordpress.com/2007/04/06/supporting-subdirectory-plugins-in-wordpressmu/

  4. CM30
    Member
    Posted 16 years ago #

    Oh cool. So does this mean i can use non mu plugin and put it in the /wp-content/plugins/ dir ?

  5. zappoman
    Member
    Posted 16 years ago #

    Hi there, I'm the author of the above "supporting-subdirectory-plugins" mu plugin.

    Here's what it does:

    1) It will allow you to place "plugins" into subdirectories of the "mu-plugin" folder.
    2) It will only load php files that are that are specifically called plugins.

    Use it as follows:

    1) Place it in the mu-plugins directory
    2) Place new plugins into subdirectories of mu-plugins

    This is useful for migrating some plugins that were not designed for mu into mu... but there are still several plugins out there that this is not sufficient to make them mu friendly

    Good luck.

About this Topic