Plesk

Website hosted on Plesk looks broken: many files show errors 404

Symptoms

There is incorrect ownership on some items in the WWW root directory of the domain 'example.com'.

Cause

Incorrect permissions or ownerships are set for the website's files.

Resolution

  1. Log in to Plesk
  2. Go to Tools & Settings > Diagnose & Repair and click the Repair button next to the error.

Command-line solution (Linux)

  1. Log in to the Plesk server via SSH
  2. Fix permissions for the affected domain:

    # plesk repair fs example.com -y

Command-line solution (Windows)

  1. Log in to the Plesk server via RDP
  2. Start a command prompt as the Administrator
  3. Fix permissions for the affected domain:

    C:> plesk repair fs example.com -y

Exit mobile version