Title: Mu plugin
Last modified: December 5, 2018

---

# Mu plugin

 *  [scheurta](https://wordpress.org/support/users/scheurta/)
 * (@scheurta)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/mu-plugin-2/)
 * We’re trying to use Loco Translate as a mu-plugin but are getting 404’s on the
   bundle.css, admin.css and admin.js files.
    The path doesn’t have the mu-plugin
   folder base (mu-plugins/loco-translate/) and is still set to the default plugins
   folder (plugins/loco-translate/).
 * The issue boils down to that you’re not sending the full path to the plugin (
   Line 60, loco.php):
    `isset($handle) or $handle = plugin_basename(__FILE__);`
 * If we change that line to include the full path, everything works fine:
    `isset(
   $handle) or $handle = __FILE__;`
 * Any specific reasons for this? And is this something you would be willing to 
   have a look at?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tim W](https://wordpress.org/support/users/timwhitlock/)
 * (@timwhitlock)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/mu-plugin-2/#post-10948381)
 * mu-plugins are intended to be single files and don’t have a base directory of
   their own. See Caveats: [https://codex.wordpress.org/Must_Use_Plugins](https://codex.wordpress.org/Must_Use_Plugins)
 * The plugin_basename is the correct way to identify a regular plugin to WordPress.
   I don’t plan to change the way it is intended to be installed.

Viewing 1 replies (of 1 total)

The topic ‘Mu plugin’ is closed to new replies.

 * ![](https://ps.w.org/loco-translate/assets/icon-256x256.png?rev=1000676)
 * [Loco Translate](https://wordpress.org/plugins/loco-translate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/loco-translate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/loco-translate/)
 * [Active Topics](https://wordpress.org/support/plugin/loco-translate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/loco-translate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/loco-translate/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tim W](https://wordpress.org/support/users/timwhitlock/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/mu-plugin-2/#post-10948381)
 * Status: not resolved