• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

WordPress not found

User22123

Basic Pleskian
Server operating system version
Plesk Obsidian
Plesk version and microupdate number
18.0.47
Dear support team, dear members of the forum!

I moved the wp-config.php one level above the httpdocs folder and the wp-content folder to a different name for security reasons and set this up correctly in the wp-config.php.

Unfortunately, the WordPress Toolkit does not find the installation.

So I tried to set it up "by hand", installed the plugin, connected.

Unfortunately, only half of the settings are displayed in Plesk after connecting and parts of the security check are missing.

What can I do to make it work properly?

Thanks for the support and your time
 
It is a known limitation, nowadays, WPTK can find WordPress installation if a folder:
  • contains wp-content folder;
  • contain wp-includes folder;
  • contain the wp-config.php file in the current or parent directory.
Any other file structure cannot be recognized as WordPress installation. This behavior will be improved later.
 
Hello Evgeny, thanks for the quick reply. If I install the plugin by hand, it recognizes it, but I don't have all the functions to check or set in the backend.

If I create an empty wp-content folder, the system recognizes WP.

If I delete it then it works...

Would that work?

Thanks for the support
 
Yep, common operations should work properly because WP installation has been registered.
But there are some security measures like "Forbid execution of PHP scripts..." and "Enable hotlink protection" stops working because they expect wp-content directory.
Also features like cloning, copy-data, smart-updates, and any other features that have to copy installation into another place cannot do that, in other words, become inoperable.
 
Hello Yevgeny, thank you very much for your time and answer.

Maybe there will be an update that will look for the right file instead of a folder so that it works. Otherwise I find the plugin really helpful and great.

Thanks for the support
 
WPTK team has a plan to improve this behavior to support any allowable WordPress file structure customization including changing the location of the wp-content folder.
Stay tuned for updates =)
 
You have to check and install all wp files like:
wp-content
wp-includes
...
In addition, it is also necessary to import the old database.
 
Back
Top