A WordPress site starts receiving requests with the user-agent name CCBot. The owner wants to stop Common Crawl from fetching new pages without accidentally blocking Googlebot or assuming that the user-agent string proves who made each request.
We’ll decide whether to allow, restrict or block Common Crawl, edit the relevant robots.txt group and verify the actual public response. The guide also explains why robots directives cannot erase past captures or protect private material.
What CCBot does
Common Crawl describes CCBot as the crawler used to build its openly accessible web crawl repository. Its current user agent begins with CCBot/2.0. The organization’s official FAQ says the crawler checks robots.txt, then sends an HTTP GET when access is allowed. It does not currently execute JavaScript or use cookies.
| Item | What it means | What it does not prove |
|---|---|---|
| CCBot request | A crawler requested a URL | That a specific AI system used or cited the page |
| Common Crawl archive | A public dataset may contain a captured page | That every downstream dataset contains it |
| AI assistant referral | A visitor arrived through a trackable link | That all mentions or citations are measured |
Server logs measure crawl requests, while analytics may measure identifiable visits. Neither records all AI mentions, citations, or downstream data use.
Prerequisites for a safe CCBot WordPress setup
- Administrator access to the SEO plugin, hosting panel, or code location that controls robots.txt.
- Permission to change crawler policy for the domain.
- Access to
https://yourdomain.com/robots.txtin a private browser window. - Server or CDN logs if you plan to authenticate CCBot requests.
- A backup of the current rules before making changes.
Read the complete live file first. WordPress, an SEO plugin, or the server may produce it. Edit the layer that serves the public response. The WordPress robots_txt filter affects WordPress-generated output, not a physical file served earlier.
Step 1: Choose an access policy
| Policy | Use it when | Rule |
|---|---|---|
| Allow | You accept eligible public pages being considered for Common Crawl | Permit intended public paths while preserving required restrictions in the applicable group |
| Block all | You do not want future CCBot page fetches | Disallow the root path |
| Limit paths | You want public articles crawlable but not low-value sections | Disallow only named paths |
Choose the access you actually want. Common Crawl data is open for research and analysis, so allowing CCBot may broaden archival availability; blocking it limits future compliant fetches.
For a site that only needs a slower crawl, Common Crawl’s FAQ documents Crawl-delay support. For example, a Crawl-delay value of 2 requests a two-second minimum delay. Add such a line to the existing applicable CCBot group rather than inventing a second conflicting policy. Other crawlers can interpret this differently; Googlebot does not support crawl-delay.
Step 2: Write One Deliberate CCBot Policy
The following snippets are alternatives for learning. They do not change this website’s robots.txt. Choose and merge one appropriate policy; do not paste every example into the same file.
Block CCBot sitewide
User-agent: CCBot
Disallow: /
This is the blocking pattern published on Common Crawl’s CCBot page. A crawler-specific group keeps this choice separate from Googlebot rules.
Permit public pages while retaining an admin restriction
User-agent: CCBot
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
Unrestricted public paths remain crawlable under this example. An explicit empty Disallow would permit the whole site for that group, including paths you might have restricted in a wildcard group. A specific crawler group does not inherit the wildcard group’s rules, so repeat every restriction that should still apply. The Robots Exclusion Protocol explains group matching; authentication protects private information regardless of a robots rule.
Exclude verified utility URL patterns
User-agent: CCBot
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
Disallow: /search/
Disallow: /?s=
Disallow: /tag/
Check your actual search URLs. WordPress can use both a pretty /search/ path and a query such as /?s=seo. A /search/ rule alone does not cover that query form. Likewise, /?s= does not match every possible parameter order, such as /?page_id=7&s=seo. Inspect real variants before calling search pages excluded. Use the robots.txt guide for broader syntax.
Step 3: Verify the public result
- Open the root robots.txt URL, not a WordPress editor preview.
- Search for every
User-agent: CCBotgroup and check for conflicting duplicates. - Confirm sitemap lines and unrelated crawler rules still appear.
- Purge the relevant page or CDN cache if the old response remains.
- Test from a logged-out browser and, when possible, with a command-line request.
curl -i https://example.com/robots.txt
Look for HTTP 200 and plain-text rules on the canonical host. A direct response is easiest to audit. Compare generated-file behavior with the WordPress AI search snippet controls guide; robots access and snippet controls solve different problems.
Test the Chosen Rules Against Real URLs
For the selected-path example above, use this expected-result matrix, then record your actual test. These are illustrative paths, not claims of checks already completed on your site.
| Path on the same host | Expected CCBot access |
|---|---|
| /lessons/seo/ | Allowed by these path rules |
| /tag/seo/ | Disallowed |
| /search/seo/ | Disallowed |
| /?s=seo | Disallowed |
| /wp-admin/ | Disallowed |
| /wp-admin/admin-ajax.php | Allowed by the longer matching exception |
Verify the correct protocol, hostname and any separately hosted subdomain. Save the before/after public response and check the unaffected Googlebot policy as a control. A readable rule is not proof that a page was later fetched.
Step 4: Authenticate CCBot in server logs
User-agent strings can be copied. Common Crawl warns about crawlers falsely identifying themselves as CCBot and publishes current IPv4 and IPv6 ranges in a machine-readable CCBot IP JSON file. Treat that file as the current source rather than hard-coding IP ranges from an old article.
- Record the source IP for the log request.
- Compare it with the current published CIDR ranges.
- For IPv4, run a reverse DNS lookup and check that the hostname is under
crawl.commoncrawl.org. - Resolve that hostname forward and confirm it returns the original IP.
- For IPv6, rely on the published range because Common Crawl says reverse DNS is not yet supported there.
This forward-confirmed reverse-DNS pattern is also useful when verifying other crawlers. The practical workflow in the OAI-SearchBot log verification guide shows how to avoid trusting a user agent by itself.
Use the original client address supplied by a trusted server or CDN configuration. A proxy’s own connection IP or a caller-controlled forwarded header can produce the wrong identity. Do not broadly allowlist an entire cloud provider because one request claims to be CCBot.
Worked example: a publisher allows articles but excludes utility pages
Imagine a tutorial site wants lessons available to Common Crawl but excludes search results and tag archives. The administrator confirms that an SEO plugin generates robots.txt, saves the current output, and excludes the verified search paths, query form and tag archive only for CCBot, while repeating the required admin restriction in that group. The live file still shows unchanged Googlebot rules.
When a later log entry claims to be CCBot, the team checks its IP against the live JSON file and completes the DNS verification. It records the authenticated crawl separately from analytics and does not treat it as an AI citation.
The owner then uses the Common Crawl capture-check workflow to inspect a chosen archive. A historical match remains separate from the live robots decision; no match is not proof that the rule blocked the crawler.
Troubleshooting checklist
| Problem | Likely cause | Next check |
|---|---|---|
| Rule is missing publicly | Wrong editor or physical file override | Identify which layer serves robots.txt |
| Old rule still appears | Plugin, host, or CDN cache | Purge only the relevant cache and retest |
| CCBot still checks robots.txt | Normal policy refresh | Common Crawl says it periodically rechecks the file |
| Unexpected pages are fetched | Path mismatch, duplicate group, or spoofed bot | Audit syntax and authenticate the source IP |
| Google crawling changes | Rule placed under the wrong user-agent group | Restore the backup and separate crawler groups |
If you manage several AI-related crawlers, document each independently. Crawler names that belong to one company can still have different purposes, as shown in the Meta crawler comparison and the Amazon crawler setup guide.
Limitations and measurement
robots.txt is a cooperative crawling instruction, not a security boundary. Google’s robots.txt documentation explains that rules cannot enforce crawler behavior and should not protect confidential content. Use authentication or server access controls for private material.
A new block governs future compliant requests; it does not reliably erase historical captures or copies already obtained by others. Common Crawl now calls its published opt-out record the Opt-Out Ledger. Its publisher-request process is separate from editing WordPress, and the ledger does not certify that every downstream copy has disappeared. Finally, do not use a CCBot log line as a GEO success metric. Track authenticated crawl activity, identifiable assistant referrals, search performance, and any reproducible citation checks as separate measurements.
Frequently Asked Questions
Does blocking CCBot block Googlebot?
No. A rule in a dedicated CCBot user-agent group applies to CCBot, not Googlebot. Check the complete live file to ensure the groups were not accidentally combined.
Is CCBot the same as an AI assistant?
No. CCBot is the crawler used by Common Crawl to build an open web archive. Its visit does not prove that an assistant mentioned, cited, or used a page.
Can robots.txt remove pages already stored by Common Crawl?
No. A robots.txt change controls future compliant crawling. It does not guarantee deletion from earlier archives or from datasets that another party already obtained.
Why does CCBot still request robots.txt after I block it?
Common Crawl says it periodically checks robots.txt for policy changes. A request for the policy file is therefore not proof that blocked article pages are still being fetched.
How can I tell whether a CCBot request is genuine?
Compare the source IP with Common Crawl’s current published ranges. For IPv4, also perform reverse and forward DNS checks and confirm that both results return to the original address.
Key takeaways
- CCBot is Common Crawl’s crawler, not an AI assistant, search ranking signal, or referral source.
- A CCBot rule can be changed without blocking Googlebot when it is placed in its own user-agent group.
- robots.txt manages cooperative crawler access; it is not access control for private material.
- A matching user-agent string alone does not prove a request came from Common Crawl.
- Blocking future crawling does not remove copies already present in an archive or downstream dataset.
Conclusion
A reliable CCBot WordPress setup starts with a deliberate access policy, a crawler-specific robots.txt group, and verification of the public response. If you inspect logs, authenticate the source rather than trusting its label. This workflow gives you practical control over future Common Crawl access without confusing crawler activity with Google indexing, AI citations, or measurable visitors.







