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
  1. 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
    GLLmolfar screenshot: Search Console
    In the screenshot: Search Console
  2. 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
    GLLmolfar screenshot: Search Console
    In the screenshot: Search Console
  3. 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
    GLLmolfar screenshot: URL audit
    In the screenshot: URL audit
  4. 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
    GLLmolfar screenshot: URL audit
    In the screenshot: URL audit
  5. 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
    GLLmolfar screenshot: Fix list
    In the screenshot: Fix list
  6. 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
    GLLmolfar screenshot: Connecting an AI agent (MCP)
    In the screenshot: Connecting an AI agent (MCP)
01

The pages behind the spam

Unwanted queries grouped by kind and by page.

02

The type of each source

Comments, site search, a hacked page, or Google's matching only.

03

A cleanup plan in order

Security first, then noindex and moderation, and what to watch afterwards.

  • 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.
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.

Try it on your own site.

GLLmolfar is in preview and runs on Windows and on Macs with Apple silicon.

Get GLLmolfar