Support » Localhost Installs » Centralised Plugin Folder

  • I’m not sure if this is the right place, but I have been updating my workflow for local wp-development and am really enjoying “Local by FLywheel” its a easy to use app that uses Vagrant or Docker (I’m not sure) to create websites on your local system.

    I am wondering if anyone ever have figured out a way to Centralise a plugin folder for WordPress. If this is even possible without hacking the core.

    I would think that is a very powerful feature for people to develop large number of WordPress websites. You would be able to direct WordPress to a large private repo of plugins and remove the plugins folder (or keep it empty) from the WordPress installation. This way you can run 50 WordPress installs all without having to duplicate on your local system the same plugins over and over again.

    I hope I’m making myself clear but if not feel free to ask for clarification.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Support Volunteer

    This is multi-site wordpress. You’d have to decide whether the downside of untangling things when you want to separate a site is worth the disk space.

    @sterndata thanks for the quick responds, I do run versions of WordPress multisite . But running this on a local system can quickly become very slow when you have a large network.

    Thats why I wonder if its possible to make WordPress look to a remote location in order to load plugins.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Support Volunteer

    That would be very slow, as plugins load on each page load, so you’d be adding a lot of latency to your site. And if anything happened to that server, all your sites are down.

    Thats why it should only be useful for a local installation. It is not for staging/production just to streamline a development workflow.

    But its not possible to setup a installation of WordPress with a custom route to a plugin folder without hacking the WordPress core?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Support Volunteer

    You could manually change wp-content/plugins to be a link to a different directory, thought any plugin that writes site-specific stuff to it will wind up overwriting stuff from another site. I don’t think that your idea is advisable.

    I think is not possible because many plugins writing data on files and just percent working entire with the database. And have another questions like the cache folders, json maybe be crash this idea.

    Let me now if i’m wrong.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.