Documentation menu

Unwanted queries

Describes GLLmolfar 0.9.114current release 0.9.121 · checked 3 Dec 2026

Search Console shows every query a site appears for, including ones no business wants: casinos, adult content, pharma, fake documents. They usually mean spam on the site. GLLmolfar picks them out, shows where they land, checks whether the wording is still on the pages, and keeps them out of the numbers you judge the site by.

Where
GSC › Performance (a banner) and GSC › Search watch (a card, and a block in each incident)
Needs
Signed in, Search Console connected; for the card, the watch started for the property
Built from
Search Console's page × query rows for 28 days, and 90 days by day
Changes
With each Search Console read; the live check when you run it

What counts as unwanted

A query is unwanted when it matches one of eight kinds. Matching uses fixed word lists in English, Ukrainian, Spanish, French and Polish (and common Hinglish phrases), whole words only, in any letter case. The lists lean towards catching: Found by word lists (adult, gambling, pharma, drugs, piracy, scams, fake documents); a rare false match is possible, check before acting.

KindWhat it covers
sexual content with childrenAn adult word together with a word about children. Always the most serious: its incident turns red.
adultPornography terms, adult site names, escort and hookup phrases.
gamblingCasino, poker, betting, bookmakers, slots.
pharmaPrescription drugs sold without a prescription: the classic signs of a hacked site.
drugsIllegal drugs.
scamPayday loans, fake IDs, bought followers, carding, phishing kits, account hacking.
piracyKeygens, warez, nulled software, cracks, torrents, serial and activation keys.
fake documentsA word such as fake, forged or counterfeit together with a document word: ID, diploma, pay stub, template, form, PDF. Fake data or a fake API name is not counted.

Words that are innocent alone count only inside a phrase, so a car model or a cracked phone screen does not match. A query gets the first kind it matches, in the order of the table. The lists cannot be edited, and a single query cannot be marked as fine; when a match is wrong, leave it.

In GSC › Performance

A banner between the period and the cards, shown only when there is at least one unwanted query: Unwanted queries: {n} ({kinds}) — remove what brings them. It explains, with the impressions of 28 days, that such queries are most often spam on the site (hacked or injected pages, spam comments, indexed internal search), that Google's spam policies can demote those pages or the whole site, and what to do. Where they land: gives up to four examples, each a query and the page it lands on.

  • Show only them switches the table to Queries and keeps only the unwanted rows; Show all queries puts the rest back.
  • In the Queries table each unwanted row carries its kind as a chip: A query a site should not rank for: usually spam on the site. Remove the content that attracts it.

In GSC › Search watch: the card

A card in the watch's side column, Unwanted queries: {n}, shown when the last 28 days hold any. It opens with The site gets impressions for queries it should not rank for ({n} in 28 days). This is usually spam on the site, not an opportunity.

  • Direction: a chip and one verdict, from the last 28 days against the 28 before: growing (Clean up now, before these queries settle on the pages.), fading (This part of the change is not traffic to win back.) or holding (They inflate the numbers; do not count them as a result.).
  • A 90-day chart: bars for impressions a day, a line for the 7-day mean, the two 28-day periods marked. When not every query could be read day by day: {n} of {total} unwanted queries read by day (those with the most impressions).
  • By query / By page: the list either way. By query gives the kind, the query, its impressions, up to two pages and the live-check chip; queries still on a page come first, removed ones go last, dimmed. By page gives the page, its kinds, up to three queries, their number and impressions. Eight rows, then Show all {n}.
  • The steps under the list: Open the pages under each query: spam comments, hacked or injected text, internal search result pages Google indexed. Remove the spam; for search pages add noindex or block them in robots.txt; then request recrawl. Do not write content for these queries and do not count them as wins.

The live check

Search Console reports what Google saw, which can be weeks old. Check the pages opens the pages the unwanted queries land on (up to 200, one every 0.8 seconds) and looks for each query's words, twice per page: as served and after JavaScript. It reads the address, title, meta description, meta keywords, Open Graph and Twitter tags, headings, image alt text and page text. A page that answers 404 or 410 counts as removed.

Not checkedThe watch has not yet checked whether these words are still on the pages.

Press Check the pages.

RunningChecking the pages live · {n} of {total} pages

Each page is read twice: as served and after JavaScript.

DoneChecked {at}: {removed} of {n} queries already removed from the pages, {still} still there ({pages} pages read).

Check again repeats it after you have cleaned up.

Still on the pageStill on the page: {where} ({n} of {of})

The words are in the places named, on that many of the query's pages.

After JavaScriptOnly after JavaScript: …

The served HTML is clean; a script adds the words.

RemovedRemoved from the pages · {date}

Nothing left to do on the site; Google's numbers follow as it recrawls.

FailedCould not check · {date}

The page did not answer; try again later.

Inside an incident

Each incident of the Search watch has a folded block, Unwanted queries on these pages: {n}, with the same direction chip, impressions {a} → {b} in 28 days, the verdict and the chart. It opens by itself only when they are growing. When the incident runs at month pace and they are at least 5% of its pages' impressions, it adds They are {p}% of these pages' impressions in the last 28 days.

  • The table: query, kind, impressions 28 days before → last 28, direction, clicks; after 12 rows, Showing {n} of {total}; all of them are in the CSV and the Jira ticket.
  • What to do: three steps for the direction. Growing: find what ranks the pages for these queries, remove that wording or the spam (a page that exists only for such a query gets noindex or 410), ask Google to recrawl and look again in a week. Fading: do not win them back, read the drop without them, make sure the wording is gone. Holding: do not count them, check the pages, clean up when there is time.
  • One line per kind, for example for pharma A classic sign of a hacked site: look for pages or text you did not publish. and for fake documents A request for a fake document. Remove "fake", "prank", "joke" and similar wording from titles and text, do not make templates for it, and say the document is for lawful use.
Check under the incidentWhen
Mostly unwanted traffic · unwanted queries: {v} of the change; losing them is no lossUnwanted queries are half or more of the incident's change in queries.
Not unwanted traffic · unwanted queries: {v} of the changeLess than half; values under 0.1% print as under 0.1%.
Pages that ask for fakes lost mostThe pages that lost most have addresses that themselves match an unwanted kind.

Reading the numbers

DirectionRule (impressions, last 28 days against the 28 before)
newUnder 5 before, 20 or more now
growingAt least 1.3 times before, and 15 or more up
fadingAt most 0.7 times before, and 15 or more down
goneAt most a tenth of a before of 20 or more
holdingAnything else
fewUnder 10 in both periods
  • The counts take every page × query row of the last 28 days. The banner lists the top 50 by impressions, the card up to 1000.
  • The daily chart reads 90 days for the 120 queries with the most impressions; the rest are counted in the totals but not drawn by day.
  • The watch's exports open with the site's change and then separate the unwanted part: Most of the fall is unwanted queries leaving (half or more of the fall), Part of the fall is unwanted queries leaving (a fifth or more), or Unwanted queries are growing. When they matter, Without unwanted queries: clicks {c}, impressions {i}. This is how the site itself is doing.

Exports, brief and Jira

  • Export (Google Sheets, Google Docs, HTML report, PDF, CSV): an Unwanted queries figure; the takeaway Unwanted queries: {n}, {imp} impressions; check the site for spam.; sheets Unwanted queries (kind, query, impressions, clicks, position, pages, on the page now), Unwanted by incident and Unwanted queries by day. Any unwanted query not confirmed removed keeps the report's status at least Changes to look at.
  • Copy brief for AI: Unwanted queries (do not win these back):, the verdict, up to 12 queries with their kind and direction, and the steps.
  • Jira task: an Unwanted queries section, the files unwanted-queries.csv and unwanted-by-day.csv, and the label unwanted-queries. When they are growing the task is High priority and is done when The unwanted queries' impressions on these pages fall in the watch's daily chart.
  • AI agents get the same list through get_search_watch (MCP tools).