Rightshold™ Sign up
Rightshold is live — the trust layer for AI agents.Launched November 23, 2026.Evidence Delivery$99 / 30 days · Offers are open — review the exact terms and the payment options shown on the service page before accepting.No token, everany ‘Rightshold token’ is not ours

Answers · AI crawlers

The Wall Street Journal now disallows every bot by default and keeps an allowlist of crawlers in robots.txt. I want to do the same on my site: block everything, then let in search engines, link previews and the AI crawlers I have a reason to allow. How do I write that file so it actually works, and what does it not protect me from?

Last updated

TL;DR: Put a User-agent: * group with Disallow: / at the top, then one group listing every crawler you want to let in, each on its own User-agent line, followed by the Allow and Disallow rules they share. Under RFC 9309 and Google's documentation, a crawler follows only the most specific group that names it and ignores the * group, so any bot not named gets Disallow: /. The Wall Street Journal's file, read November 27, 2026, works this way: 62 named crawlers share one rule set, including Googlebot, Bingbot, Applebot, GPTBot, OAI-SearchBot and ChatGPT-User, while ClaudeBot, PerplexityBot and Google-Extended aren't named and fall under the block. Two cautions. Blank lines between the User-agent lines are allowed by RFC 9309, but Python's urllib.robotparser before 3.13.14 and 3.14.5 treats a blank line as the end of a group, so tools built on older Python read the Journal's file as blocking every crawler, Googlebot included. Keep the list in one unbroken block. And robots.txt is a request, not a lock: a scraper that ignores it or claims to be Googlebot still gets the page unless your server or CDN verifies who is asking.

What should I check, step by step?

1. Start with User-agent: * and Disallow: /. Every crawler without a group of its own falls into this one.

  1. Write one group for the crawlers you allow: a run of User-agent lines, one token per line, then the shared Allow and Disallow rules. Keep the run unbroken, with no blank lines inside it.
  2. Name search crawlers by their exact tokens (Googlebot, Bingbot, Applebot, DuckDuckBot) and decide on AI tokens one by one: training (GPTBot, ClaudeBot, Google-Extended, Applebot-Extended), search (OAI-SearchBot, Claude-SearchBot, PerplexityBot) and user fetches (ChatGPT-User, Claude-User, Perplexity-User).
  3. Remember link previews and partners: facebookexternalhit, Twitterbot, LinkedInBot, Slackbot, ad verification and SEO tools you use stop working once the * group blocks them.
  4. Inside the allowed group, keep Disallow lines for login, account, search and email-signup paths, as the Journal does.
  5. Test the file with more than one parser, including the one your own tools use, and check a token you didn't name comes back blocked and one you did comes back allowed.
  6. Back it with enforcement: verify Googlebot and Bingbot by reverse DNS or published IP lists, check Web Bot Auth signatures where crawlers send them, and block or challenge unverified traffic at the CDN.

How is the Wall Street Journal's default-deny robots.txt allowlist built?

Dow Jones told Nieman Lab, in a story published November 24, 2026, that since May it disallows all bots by default on its consumer news sites, including the Wall Street Journal, Barron's and MarketWatch, and keeps a whitelist of selected crawlers instead of blacklisting bots one at a time. Its chief development officer said the change signals that third parties must negotiate and partner directly for content access. Nieman Lab reports the Journal's list holds more than 60 bots, including three operated by OpenAI, which has a licensing deal with News Corp, Dow Jones's parent company.

Why can blank lines between User-agent lines break a robots.txt allowlist in some parsers?

The Journal's file has blank lines inside its allowed group: runs of User-agent lines separated by empty lines, then the shared rules. RFC 9309, the robots.txt standard, allows this. Its grammar lets a group start with a User-agent line, then take more User-agent lines or empty lines, then rules or empty lines, so all 62 names share the one rule set. Google's documentation says you group rules for several crawlers by repeating User-agent lines, and that each crawler follows only the group with the most specific user agent that matches it.

What doesn't a default-deny robots.txt stop?

Robots.txt is guidance a crawler chooses to follow. Nieman Lab notes it's neither a hard technical block nor a binding contract, and Slate's VP of technology told it that several bots kept crawling after Slate disallowed them. A scraper that ignores the file, or sends Googlebot's user agent from its own servers, gets the page unless something checks.

How do I ask Rightshold about this (free, no key)?

Add the MCP server https://www.rightshold.com/mcp to Claude, Cursor, ChatGPT, Grok or VS Code, then ask: “Our robots.txt now blocks everything with User-agent: * and allows a list of named crawlers. Which AI crawlers, search crawlers and user fetchers does it actually let in, and which fall through to the * group?”

One-click setup

{
  "tool": "read_ai_policy",
  "arguments": {
    "domain": "example.com"
  }
}

Rightshold reads a site's public crawl and AI-use signals. It isn't affiliated with Dow Jones, Google or the Python Software Foundation and can't make any crawler honor robots.txt. The Journal, Barron's and MarketWatch files are as served on November 27, 2026, and parser results are from tests run that day on Python 3.13.5 and Protego; files and parsers change. Not legal advice.

What are the sources?

Related

Not legal advice. JSON · Markdown · All answers

Get a free API key in one call

No card and no email needed. 100 free credits; the license and policy checks stay free without a key.

curl -s -X POST https://www.rightshold.com/v1/accounts/signup -H "Content-Type: application/json" -d '{"accept_terms":true}'
export RIGHTSHOLD_API_KEY=rs_...   # the api_key from the reply (shown once)
curl -s https://www.rightshold.com/v1/licenses/check -H "Authorization: Bearer $RIGHTSHOLD_API_KEY" \
  -H "Content-Type: application/json" -d '{"license":"MIT","intended_use":{"commercial_use":true}}'