The Line That Looked Right but Did Nothing
A robots.txt fix can fail even when the rule itself is written correctly. If your file contains a group aimed specifically at Googlebot, Google uses that matching group instead of inheriting restrictions from the broader User-agent: * group. The result can be spammy search pages, duplicate URLs, or other low-value paths continuing to appear in Google while everyone assumes the door is locked.
That matters to a business owner because bad URLs can weaken the quality of what customers see, consume troubleshooting hours, and hide a real technical problem behind a comforting green checkmark. Robots.txt is useful, but it is also extremely literal. It does not reward good intentions, which is inconvenient because those are usually what got uploaded.
What Changed in Google’s Latest Explanation
Search Engine Journal reported on a Shopify site whose internal search URLs were being created by spammers and indexed by Google despite a disallow rule. Google’s John Mueller found a more specific User-agent: Googlebot group elsewhere in the file. Because that group matched Googlebot directly, Google did not apply the separate restrictions under the wildcard group (https://www.searchenginejournal.com/google-says-why-it-may-ignore-robots-txt-and-negatively-impact-seo/583475/).
The practical lesson is broader than one Shopify incident. Many sites accumulate crawler rules over time: a plugin adds one block, a developer adds another, Cloudflare changes bot controls, and an old agency leaves a custom Googlebot section behind. Each line may look reasonable in isolation. The complete file can still tell Google something very different from what the owner thinks it says.

Google’s own robots.txt documentation says crawlers find the group with the most specific matching user agent, and groups that target the same user agent may be combined (https://developers.google.com/search/docs/crawling-indexing/robots/robots_txt). In plain English: the wildcard group is not a set of house rules automatically added to every named crawler. Once you create a specific Googlebot group, that group needs the restrictions you actually want Googlebot to follow.
Why This Becomes a Customer Problem, Not Just an SEO Problem
Imagine a potential customer searches for your company and sees a strange internal-search URL carrying spammy language, or Google spends time discovering thousands of thin parameter pages while an important service page remains slow to refresh. The customer does not care which directive caused it. They see a business whose search presence looks neglected, and you inherit the cleanup bill.
This is especially risky for ecommerce stores and large service sites with internal search, filters, faceted navigation, or URL parameters. Those features can generate near-unlimited combinations. A single overlooked crawler-specific group can leave the wrong paths open while the team keeps editing a wildcard rule Googlebot is not using.

There is a second trap: robots.txt controls crawling, not guaranteed removal from search results. Google may still list a blocked URL if it learns about that address from links or other signals, although it may have limited information about the page. If the goal is to keep a page out of search, Google generally needs to crawl the page and see a noindex directive; blocking the page in robots.txt can prevent that directive from being read (https://developers.google.com/search/docs/crawling-indexing/block-indexing).
That distinction sounds fussy until the wrong pages start appearing under your brand. Then it becomes the most expensive vocabulary lesson in the room.
The Five-Minute Rule Check
You do not need to become a crawler engineer to spot the common failure. Open the live robots.txt file at /robots.txt, not a copy sitting in a project folder, and work through these checks:
- Find every
User-agent:line, including blocks added by themes, apps, plugins, hosting tools, and previous developers. - Look for a group that names Googlebot or another crawler directly.
- Compare its allow and disallow rules with the wildcard group instead of assuming both apply together.
- Confirm that every restricted path uses the correct pattern, capitalization, slash placement, and URL structure.
- Test representative URLs with Google Search Console and inspect whether the live file is the version you intended to deploy.
Do the same exercise for AI and answer-engine crawlers when you maintain separate rules for them. Different crawlers publish different user-agent names and purposes, so copying a fashionable list from somebody’s LinkedIn carousel is not a governance plan. Decide which discovery, search, training, and agent traffic supports the business, then document the choice.
How To Fix the File Without Creating a Bigger Mess
If Googlebot should follow the same restrictions as other crawlers, either put the relevant directives inside the Googlebot group or structure the file so the intended user agents share the same rules. Keep the file boring, consolidated, and commented for humans. Boring infrastructure is wonderful infrastructure; nobody has ever celebrated a mysterious second Googlebot block at 11:47 p.m.
Before changing anything, save the current file and record why each custom rule exists. After deployment, fetch the public file, test affected URL patterns, and monitor Search Console for changes in indexed pages and crawl behavior. If spam-generated URLs are already indexed, fixing group precedence may stop additional crawling, but removal may require valid noindex handling, appropriate status codes, redirects used only where they make sense, and time for Google to recrawl.

Avoid these common reactions:
- Adding more disallow lines without checking groups: More rules in the wrong group produce more confidence, not more control.
- Blocking a page that carries
noindex: The crawler may never see the instruction intended to remove it. - Redirecting every bad URL to a category page: Irrelevant redirects can create confusing signals and a poor customer experience.
- Editing only the application template: A CDN, plugin, or deployment process may be serving a different live file.
- Treating all bots as interchangeable: Search crawlers, training crawlers, and answer-time agents can have different roles and controls.
What To Ask Your Marketing or Web Team Today
Ask one direct question: “Which exact rules does Googlebot match in our live robots.txt file?” The answer should identify the applicable group, show the tested URLs, and explain how unwanted pages are prevented from indexing. “We have a disallow rule somewhere” is not an answer. It is a scavenger hunt with hosting fees.
Then ask whether crawler access aligns with the outcome you actually want: important service and product pages discoverable, low-value URL patterns controlled, and removal instructions visible to the crawler that must process them. That is the difference between a technically present rule and a working visibility policy.
An AI Visibility Audit checks the live path from crawler access through indexing, retrieval, trust, and recommendation readiness. You get a prioritized explanation of what is blocking customer discovery and what to fix first, rather than another dashboard that politely confirms a file exists (/ai-visibility-audit).