Security What to do if your site has been hacked

Deutsch

What to do if your site has been hacked

Stay calm and follow these steps to get your site clean and back online.

Condition

Your site shows pages, links or ads you didn't put there, sends visitors to other sites, a browser or Google warns about it, or your e-mail box sends spam.

Cause

Usually an old plugin or theme, a weak or reused password, or a forgotten test installation let someone in.

Remedy

  1. Tell us at once: open a ticket with the priority Urgent. We can take the site offline, find how the attacker got in, and help clean it.
  2. Change every password: your 7x account, Plesk, your site's editor users, the database user and your e-mail boxes. Check your own computer for malware first.
  3. Go back to a clean version: your site is saved every hour and night. Restore a restore point from before the attack on the Backups tab (see Restore your site from a backup).
  4. Close the hole: update everything, remove unknown users from your site's editor, and delete plugins, themes and test sites you don't use.
  5. Ask Google to check again in Search Console if it showed a warning.

Then go through the Website security checklist.