Plesk

WordPress website hosted in Plesk shows a 500 error: no such file or directory

Symptoms

Cause

Corrupted WordPress installation. Core WordPress configuration file(s) do not exist on the filesystem.

# ls -la /var/www/vhosts/example.com/httpdocs/wp-settings.php
ls: cannot access '/var/www/vhosts/example.com/httpdocs/wp-settings.php': No such file or directory

Resolution

Restore a website backup with the file(s) as per the following article: How to restore a website file from a Plesk backup

Exit mobile version