Independent spirit. Appoly Group expertise. Since 2014.

Your WordPress site has been hacked: what to do first

Signs people usually notice

A hacked site doesn’t always look broken. The signs people tend to spot first are:

  • a warning from the browser or in search results
  • visitors being sent to other websites
  • pages, links or adverts you didn’t add
  • admin users you don’t recognise
  • spam being sent from the site
  • the site going offline or showing errors

One of these on its own doesn’t prove the site has been hacked. If you’re seeing any of them, it’s worth having someone look.

First steps that help

  • Write down what you’re seeing, when it started and anything that changed around then, such as a plugin update or a new user.
  • Keep a copy. If your host or backup tool can take a copy of the site as it is now, ask for one before anything is changed.
  • Talk to your host. They may have spotted the problem already, and they can tell you which backups they hold.
  • Change your passwords for WordPress admin, hosting and FTP or SFTP, from a device you trust. That won’t remove an attacker who has left a backdoor, but it closes the easiest way back in.
  • Don’t send passwords by email or put them in contact forms. When someone needs access, arrange it securely.

What to hold off on

  • Deleting files at random. It can break the site and remove the evidence of how the attacker got in.
  • Restoring an old backup straight away. It may bring the site back, but if the weakness is still there the same thing can happen again. The backup may also already contain the attacker’s code.
  • Opening unfamiliar PHP files in a browser. If a file is a web shell, loading it runs it. Our guide to web shells and what to do about them explains more.

How a repair works with us

We can assess WordPress sites built by other teams, and you don’t need a monthly plan to get a repair. The work follows three steps.

  • Assess and contain: understand the issue, preserve an available copy and limit further damage, then agree the repair plan with you.
  • Repair and check: restore from a suitable backup or repair the affected site, then test key pages and functionality.
  • Strengthen and hand over: address the cause where we can, explain the changes and recommend steps to reduce the chance of a repeat.

The rescue assessment is £250 for the first two hours, then £125 an hour, excluding VAT. We confirm the scope and price before repair work begins. We don’t promise a recovery time before assessment, and we can’t guarantee all content can be recovered, but we explain the options before going ahead. There’s more detail in what happens in a website rescue assessment.

Talk to us

Call 01926 298082, Monday to Friday, 9am to 5pm UK time (it isn’t a 24/7 service), or send a rescue enquiry. Tell us your website address, what you’re seeing and when it started. You don’t need to diagnose the problem.