WordPress development – symbolic links

For local WordPress development I have some plugins which I use on different WordPress installs. I prefer to have the plugin centralized, because that makes code editing and version control easier.

To do this I have a centralized location where the plugins are maintained. Then inside the host-machine (vagrant ssh in my case) I create a symbolic link from the plugin directory of a WordPress installation to the centralized location. I use this command to create a symbolic link:

ln -s /srv/www/local/wbl-projects /srv/www/custom-website/public_html/wp-content/plugins/wbl-projects

Tags