Composer configuration for Kinsta's mu plugins

Hi guys,

I have a question regarding my composer configuration to deploy on Kinsta. I followed the available resources to install the required kinsta-mu plugin. However, it seems that the zip packaged is not deployed properly generating 404 errors for the plugins shared resources.

Here are some excerpts of my config files:

{
          "type": "package",
          "package": {
            "name": "kinsta/kinsta-mu-plugins",
            "type": "wordpress-muplugin",
            "version": "2.3.2",
            "dist": {
              "url": "https://kinsta.com/kinsta-tools/kinsta-mu-plugins.zip",
              "type": "zip"
            }
          }
}

require: {
....,
"kinsta/kinsta-mu-plugins": "^2.3"
  },
  "extra": {
    "installer-paths": {
      "web/app/mu-plugins/{$name}/": ["type:wordpress-muplugin"],
      "web/app/plugins/{$name}/": ["type:wordpress-plugin"],
      "web/app/themes/{$name}/": ["type:wordpress-theme"]
    },

Here is a capture of the resulting install path, looking at the code, it seems the files should be unzipped direclty in mu-plugins and not in mu-plugins/kinsta-mu-plugins

Any ideas on how I could change this? :sweat_smile:

This topic was automatically closed after 42 days. New replies are no longer allowed.