Was my website hacked? Signs and what to do
A hacked site is often invisible from the front — it looks fine while it quietly serves spam, steals data, or gets you dropped from Google. Here are the warning signs, and the honest first steps to get your site and your ranking back.
The signs you can see
Strange pages you never created, a flood of spammy outbound links, a sudden "this site may be hacked" warning in results, or Google deindexing whole sections overnight. Any of these means the site has been compromised.
The signs you can't
Hidden code injected into pages — cloaked links, redirects that only fire for Google's crawler, scripts harvesting visitor details. The site looks normal to you and broken to everyone else. This is the version that does the most damage.
Why it's a ranking emergency
Google removes hacked pages from results to protect its users, and a site flagged as compromised loses trust that takes months to rebuild. The traffic loss isn't the punishment — it's the smoke.
The honest order of recovery
First, take the site down or lock it. Reinstall from a clean backup. Change every password — hosting, WordPress, FTP, DNS. Then patch whatever let them in. Only once it's clean do you ask Google to reconsider the site.
What an audit helps with
After you've cleaned the site, a crawl shows what the attackers left behind — hidden pages, spammy links, redirects, injected code — so you can confirm the clean-up actually worked, and watch it stay clean.
More on choosing an audit
Why isn't my website showing up on Google? · How much does an SEO audit cost? · What does an SEO audit actually check? · Free vs paid SEO audit — what's the real difference? · Does my small business really need SEO? · SEO vs Google Ads — which is right for a small business? · Local SEO: how to show up when people search for your service nearby · What's a page title — and why should you care? · A simple website check-up for small-business owners · How long does SEO take to work? · Your customers are asking AI. Is your website part of the answer? · A website audit that tells you what's wrong — and how to fix it · Check your website — see the grade and the top issues · Connect Google Search Console to your Gold report · Why isn't my website indexed by Google? · Why did my website traffic drop? · Core Web Vitals, explained in plain English · Why is my website slow? · Broken links: what they cost you and how to find them · Duplicate content: what it is and why it hurts · Is your website mobile friendly? · Is your robots.txt blocking search engines? · Redirect loops and chains: what they are and how to fix them · Missing titles & meta descriptions: the invisible leak · Thin content: why your pages aren't ranking · Pages missing from your sitemap: why it matters · The SEO mistakes WordPress, Shopify, Wix and Squarespace each make