deindexwebsites.com

Hacked and spam-injected sites

Hacked Site Recovery: Security Issues, Manual Actions and Review Requests

Cleaning a hacked site is half the job. The other half is telling Google it is clean, in the right place, with evidence, and then watching for the next 90 days.

By the deindexwebsites.com editorial team · Updated

Two different reports, two different problems

Search Console can flag a compromised site in two places, and they are not interchangeable.

ReportWhat it indicatesWhat you do
Security IssuesGoogle detected hacked content, malware or deceptive pagesFix, then request a review in the report
Manual ActionsA human reviewer applied a penalty, for example for hacked or spammy contentFix, then submit a reconsideration request

Check both in every affected property, including the www, non-www and any subdomain that was compromised. Google's hacked site guidance is the reference for the overall recovery path.

Before you ask for a review

Do not request a review until you can answer yes to all of these.

  • The entry point is identified and closed
  • All credentials rotated
  • Injected files, database rows, scheduled tasks and rogue users removed
  • Software updated and unused components removed
  • Spam URLs return 404 or 410 and are out of sitemaps
  • The live pages, as Googlebot sees them, are clean (check with URL Inspection live test)
  • You tested with search referrers and mobile user agents for conditional redirects

A premature request usually gets rejected and costs time. A rejection often includes example URLs, which are valuable evidence of what you missed.

Writing a useful review request

Keep it factual. State what was compromised, how you found it, what you removed, how you fixed the vulnerability and what monitoring you added. Avoid pleading and long narratives. If Google gave example URLs, address each by name. Mention that spam URLs now return 404 or 410. A clear, specific description helps the reviewer verify quickly.

Timing

Google's help pages describe review processing times in broad terms and they vary, so treat any timeline as an estimate and check the current Search Console Help text. In the meantime, keep monitoring: new injections that appear during review can lead to rejection.

Residual spam in search results

Even after the warnings clear, spam URLs may linger in results.

  1. Return 404 or 410 for them and keep the status stable.
  2. Submit prefix removals for spam directories; see the Removals tool.
  3. Resubmit a clean sitemap.
  4. Re-check with site: queries combined with spam keywords. See confirming a site is gone.
  5. For URLs on your own site that were rewritten with spam titles, request recrawl through URL Inspection on a few representative pages.

Watching for relapse

Compromised sites are re-targeted. For 90 days, check weekly:

  • The Pages report for sudden jumps in indexed or excluded pages
  • Security Issues and Manual Actions reports
  • Server logs for unusual POST requests, new files and odd user agents
  • File changes in web root and uploads directories
  • New admin accounts
  • Outbound links in your pages that you did not add (use a crawler to compare)

Set alerts for anything that changes your robots.txt, .htaccess or server configuration, since attackers often modify those to hide spam from you.

If the whole site was a total loss

Sometimes the cheapest option is a rebuild. If you migrate to a clean installation, treat it as a controlled launch: new credentials, fresh software, no copied plugin directories. Return 410 for the old spam URL patterns on the new host. If you change domains, follow Google's site move guidance but do not redirect spam URLs to the new site.

Documentation for clients

If you manage sites for others, keep a one-page incident record: dates, indicators, actions, evidence. It supports review requests and any future investigations.

What not to do

  • Do not buy "removal" services that promise instant results; the process is review-based.
  • Do not block the site in robots.txt to hide the problem. It prevents Google from seeing the clean pages.
  • Do not delete the Search Console property mid-incident, since you lose the reports you need.
  • Do not leave a staging copy of the infected site online.

A realistic recovery calendar

PeriodFocus
Day 0 to 2Contain, rotate credentials, find the entry point
Day 2 to 7Clean, patch, verify with live tests as Googlebot
Day 7Submit the review request with specifics
Weeks 2 to 4Monitor review outcome, spam URLs clearing, logs
Month 2 to 3Weekly relapse checks; confirm index is clean

This calendar is a planning aid, not a promise of how long Google's review will take.

Evidence worth attaching

  1. A short description of the vulnerability and the fix.
  2. A list of the categories of content removed.
  3. A note on new controls, such as automatic updates and file monitoring.

Common reasons a review is declined

  1. Spam URLs still return 200 content to Googlebot but not to you, because the cloaking rule survived.
  2. A second backdoor reinfected the site between cleaning and review.
  3. The request lacked specifics, so the reviewer could not match your claim to what they saw.
  4. Only one hostname was fixed while another property still shows the issue.

Each of these is cheap to check before submitting.

Frequently asked questions

How do I know the hack is really gone?

Compare the live site, as served to Googlebot via URL Inspection, with a clean backup, and check logs for new unauthorised activity.

Should I use Security Issues or Manual Actions?

Whichever report shows the problem. Check both.

Can I request removal of spam URLs I cannot see?

You can use prefix removals for paths you know, but fix cloaking first so you can see the real URLs.

Will traffic recover automatically?

Often gradually once the issues clear and pages are reprocessed. There is no guaranteed timeline.

Official sources

Keep reading