All scenarios/ Site owner
Spam queries in Search Console: where they come from and how to clean up
One morning Search Console shows queries about casinos, adult content or pills, on a site that sells none of it. It can be harmless noise, user comments, your own site search pages being indexed, or a hacked page. Each needs a different fix, and the order matters: a hacked page comes before anything else.
- Who
- A site owner or SEO who found strange queries
- Site
- Any site with Search Console access
- What hurts
- Spam queries rising, and no idea which pages draw them
- What you need
- The pages behind them, the type of each source, a safe cleanup
Steps in GLLmolfar
The watch flags them
The Search watch keeps a separate list of unwanted queries — adult, gambling, pharma and scam — and says when they are new or rising, so they never show up as opportunities.
Search watch · unwanted queries — docs
In the screenshot: Search Console Group by kind and by page
The queries are grouped by kind and by the page Google shows for them, so a handful of pages usually explains most of the impressions.
Search Console · pages — docs
In the screenshot: Search Console Is the word on the page?
A URL audit of the pages with the most impressions looks for the word in the title, the text and the address. If it is there, the page is the source: user comments, a site search page, or a hacked page.
URL audit — docs
In the screenshot: URL audit Not on the page: check first
If the word is not on the page, only Google is matching the query to it. That is marked "check first" rather than turned into a task.
URL audit — docs
In the screenshot: URL audit Clean up in order
A hacked page first: a security check before any other work. Site search pages: noindex. Comment spam: moderation. Then watch whether the queries fall.
Fix list — docs
In the screenshot: Fix list Or hand it to your agent
The skill "Unwanted queries: where they come from, and the cleanup" does the grouping and the audits through MCP and writes the plan in the same order.
MCP · agent skills — docs
In the screenshot: Connecting an AI agent (MCP)
What you get
The pages behind the spam
Unwanted queries grouped by kind and by page.
The type of each source
Comments, site search, a hacked page, or Google's matching only.
A cleanup plan in order
Security first, then noindex and moderation, and what to watch afterwards.
Good to know
- The unwanted list comes from word lists, not a verdict on your site; a medical or legal site may see legitimate terms there.
- The app does not clean a hacked site; it tells you to start with a security check.
- The Search watch is in testing and needs Search Console access on your Google account.
Questions
- Can spam queries hurt my site?
- The queries alone do not; what they point at can. A hacked page or indexed search pages full of spam are worth fixing quickly.
- Why not just block the queries?
- You cannot block a query in Search Console. You fix the page that draws it, or keep that page out of the index.
- Does it change my site?
- No. It reads Search Console and the live pages and writes a plan; you or your developer make the changes.