• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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