How to tell if your website has been hacked

Many hacked websites look completely normal to their owners. Attackers usually hide what they've done — here's how to spot it, and what to do first.