• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Question Follow symlinks and block scanning of particular directories

I'm configuring my site to deploy in such a way that it creates a structure with multiple versions of the site (example.com/deployments/release/<1, 2, 3, etc>
The web hosting root is then set to a symlink (example.com/deployments/current) which points to the latest release directory and is updated with each deployment.

The problem with this method is that the toolkit detects multiple Wordpress installs for this subscription (each release directory) and also appears to look at the absolute path, instead of following the symlink.
  1. Is there a way to prevent the Wordpress toolkit from scanning a particular directory?
  2. Is there a way that the toolkit will follow the symlink, instead of using the absolute directory path?

Thanks in advance.
 
I've altered my deploy script slightly to remove the (symlink to the) wp-config.php file for a previous release, which prevents the Toolkit from scanning for it, however once the site is in the list, this causes it to be marked as "Broken" instead of removing it from the list.

Ideally, it would be very helpful if the Toolkit followed the symlink to the website directory instead of using the absolute path.
Is there any way to enable this functionality?
 
Back
Top