Check 31.18 · AI crawler access and data policy

Check search engine-specific directives

Review the directives specific to each search engine (bingbot, noarchive, nocache, Google-Extended, noai): who actually applies them and where to set them.

Priority
Critical
Difficulty
Intermediate
Estimated time
1 to 2 h
Free, no account: your progress is saved in this browser.

Ask an AI to check this point on your site

Opens the assistant with a ready-made question: this check, its goal and your site URL.

For Gemini, Copilot or another assistant, copy the question. The link opens the chosen service directly: nothing goes through this site.

In short

Not every robots directive is understood by every search engine, and some do not mean the same thing from one engine to another. noarchive no longer does anything at Google but excludes content from Copilot answers at Bing; Google-Extended only concerns Gemini; noai is documented by no major search engine. This check consists of taking stock of the targeted directives present on the site, verifying that each one has the intended effect on the targeted engine, and removing those that are useless or that do harm without your knowing.

Why it matters

A robots directive can be addressed to all crawlers or to just one.

  • In the HTML: <meta name="robots" …> addresses all of them, <meta name="googlebot" …> or <meta name="bingbot" …> just one.
  • In HTTP headers: X-Robots-Tag: noindex addresses all of them; Google also documents the prefixed form X-Robots-Tag: googlebot: nofollow.
  • In robots.txt: some tokens do not designate a crawler but a use, such as Google-Extended.

The table summarizes what each search engine documents as of the date this guide was last updated. “Not documented” means the vendor makes no commitment: the directive may be ignored.

Directive Google Bing OpenAI, Anthropic, Perplexity
noindex Yes Yes Not documented: their documented control is robots.txt
nosnippet, max-snippet, data-nosnippet Yes, including AI Overviews and AI Mode Yes, including Copilot Not documented
noarchive No longer used: the link to the cached version no longer exists Yes: content excluded from Copilot answers and from model training Not documented
nocache Not documented Yes: Copilot can only use the URL, the title and the snippet Not documented
notranslate, indexifembedded, unavailable_after, noimageindex Yes Check in Bing's help Not documented
Google-Extended (robots.txt) Controls use for training Gemini and grounding its answers, with no effect on Google Search Not applicable Not applicable
noai, noimageai Not documented Not documented Not documented

Three practical consequences:

  1. An old noarchive has changed meaning. Set years ago to hide the “Cached” link, it now removes your pages from Copilot answers. Many news sites and online stores carry one without knowing it.
  2. Google-Extended removes nothing from AI Overviews. AI Overviews and AI Mode are part of Google Search: they depend on Googlebot and on snippet controls, not on this token.
  3. OpenAI, Anthropic and Perplexity's AI crawlers are controlled through robots.txt, crawler by crawler. A <meta name="GPTBot"> tag matches no documentation.

When several directives apply to the same crawler (generic tag, named tag, header), Google combines the restrictions: the strictest one wins.

What it improves

  • Presence in Copilot Removing an unintended noarchive or nocache makes the content usable in Bing's answers. No guarantee of a citation.
  • Policy consistency Each intention (refusing training, limiting reuse, staying visible in search) is carried by the directive the targeted engine actually applies.
  • Indexing You remove contradictory named tags, a source of partial deindexing that is hard to diagnose.
  • Maintenance Fewer ineffective directives to maintain.
  • Rankings No direct effect.

How to check

1. Meta tags, generic and named:

curl -s https://example.com/page | grep -i -o -E '<meta[^>]+(robots|googlebot|googlebot-news|bingbot|tdm-reservation)[^>]*>'

2. HTTP headers, including on a PDF and an image:

curl -s -o /dev/null -D - https://example.com/page | grep -i -E "x-robots-tag|tdm-reservation"

3. Usage tokens in robots.txt:

curl -s https://example.com/robots.txt | grep -i -A 3 -E "google-extended|content-signal"

4. Search in the code and configuration:

grep -rniE "noarchive|nocache|noai|noimageai|name=\"(googlebot|bingbot)\"" /var/www/example --include="*.php" --include="*.html" --include="*.twig" --include="*.liquid"

Compliant result: each directive found appears in your written policy, with the targeted search engine and the expected effect. Any directive that nobody can justify should be examined.

5. In the tools: the URL Inspection tool in Google Search Console and its counterpart in Bing Webmaster Tools show what each search engine has read. A crawler such as Screaming Frog SEO Spider lists the directives per URL.

How to implement

Step 1 — Match each intention with the right directive

Intention Mechanism Search engine concerned
Stay in Bing but out of Copilot answers and Microsoft training <meta name="bingbot" content="noarchive"> Bing
Allow Copilot to cite with the title, URL and snippet only <meta name="bingbot" content="nocache"> Bing
Refuse use for training Gemini, without affecting Google Search User-agent: Google-Extended and Disallow: / in robots.txt Google
Limit reuse in AI Overviews and AI Mode nosnippet, max-snippet, data-nosnippet Google
Refuse training by OpenAI or Anthropic Disallow for GPTBot or ClaudeBot in robots.txt OpenAI, Anthropic
Stay visible in ChatGPT, Perplexity and Claude search Allow OAI-SearchBot, PerplexityBot, Claude-SearchBot in robots.txt Those engines

Bing controls are covered in detail in check Bing-specific controls (opens in a new tab), snippets in check nosnippet, max-snippet and data-nosnippet (opens in a new tab), and robots.txt in configure robots.txt to match these goals (opens in a new tab).

Example of a <head> that leaves Google free and restricts Bing:

<meta name="robots" content="max-snippet:-1, max-image-preview:large">
<meta name="bingbot" content="nocache">

Example robots.txt for the Google token:

User-agent: Google-Extended
Disallow: /

Step 2 — Handle emerging or non-standard signals

  • noai and noimageai: values that appeared on image hosting platforms to signal a refusal of training. None of the vendors mentioned here documents them. You can add them without risk, but do not base any policy on them.
  • TDM rights reservation (tdm-reservation, as an HTTP header or meta tag): a protocol from a W3C community group to express a reservation on text and data mining. Whether AI crawlers take it into account is not documented by their vendors; its value is mainly legal, to be discussed with your legal counsel.
  • Usage preference signals (the IETF's AIPREF work, the Content-Signal line proposed by Cloudflare for robots.txt): being standardized. Google and Anthropic mention these preferences in their documentation; check the status of support there before relying on them.

These signals are declarative. None replaces a Disallow addressed to the crawler concerned, and none protects private content: see protect private content with authentication (opens in a new tab).

Step 3 — Set or remove the directives

Named tags go in the template's <head>. For non-HTML files, only the header works. The following subsections give the location in each environment, using the example of a noarchive on the PDFs of a restricted directory.

Apache

Versions Apache 2.4 (mod_headers module).

In the virtual host or a .htaccess file (mod_headers module):

<FilesMatch "\.pdf$">
    Header set X-Robots-Tag "noarchive"
</FilesMatch>

To target Google alone, use the prefixed form, and Header add to send several headers:

<FilesMatch "\.pdf$">
    Header set X-Robots-Tag "googlebot: nosnippet"
    Header add X-Robots-Tag "noarchive"
</FilesMatch>

Find existing directives with grep -rni "x-robots-tag" /etc/apache2/ /var/www/example/.htaccess, then reload: sudo apachectl configtest && sudo systemctl reload apache2.

Nginx

Versions Nginx 1.18 and later, including 1.30 (stable) and 1.31 (mainline).

location ~* \.pdf$ {
    add_header X-Robots-Tag "googlebot: nosnippet" always;
    add_header X-Robots-Tag "noarchive" always;
}

Two add_header lines produce two separate headers, which Google accepts. Search: grep -rni "x-robots-tag" /etc/nginx/. Reload: sudo nginx -t && sudo systemctl reload nginx.

IIS

Versions IIS 10 (Windows Server 2016 to 2025); same syntax under IIS 8.5.

In web.config:

<configuration>
  <location path="documents">
    <system.webServer>
      <httpProtocol>
        <customHeaders>
          <add name="X-Robots-Tag" value="noarchive" />
        </customHeaders>
      </httpProtocol>
    </system.webServer>
  </location>
</configuration>

Caddy

Versions Caddy 2.x, up to 2.11.

example.com {
    @pdf path *.pdf
    header @pdf X-Robots-Tag "noarchive"

    root * /var/www/example
    file_server
}

Cloudflare

Versions Cloudflare dashboard, all plans, November 2026.

Two checks. First, response header transform rules, in Rules > Overview (created with Create rule > Response Header Transform Rule): check that no rule adds an X-Robots-Tag without your knowledge, or create one with the expression (http.request.uri.path.extension eq "pdf"). Then robots.txt: Cloudflare offers a managed robots.txt and content signals that add lines to the file served (AI crawler tokens, Content-Signal). Compare the file served with your origin's:

curl -s https://example.com/robots.txt | diff - /var/www/example/robots.txt

AWS

Versions Amazon CloudFront console (response headers policies), November 2026.

On CloudFront, headers are added in the CloudFront console through a response headers policy attached to the relevant behavior (*.pdf). On S3 alone, the header cannot be added. Behind an Application Load Balancer, set it in the web server.

Plesk

Versions Plesk Obsidian 18.0.

Websites & Domains > example.com > Apache & nginx Settings: paste the Nginx or Apache block into the domain's additional directives.

cPanel

Versions cPanel & WHM 110 and later (Jupiter theme), Apache 2.4 or LiteSpeed server.

Add the Apache block to public_html/.htaccess. On shared hosting without cPanel, the method is the same.

Vercel

Versions vercel.json file, all plans, November 2026.

{
  "headers": [
    {
      "source": "/(.*)\\.pdf",
      "headers": [
        { "key": "X-Robots-Tag", "value": "noarchive" }
      ]
    }
  ]
}

Netlify

Versions Netlify _headers file, all plans, November 2026.

_headers file:

/*.pdf
  X-Robots-Tag: noarchive

WordPress

Versions WordPress 6.4 to 7.1; Yoast SEO 28 and Rank Math 1.0.283, November 2026 versions.

  • Yoast SEO: the “No Archive” option in each piece of content's “Meta robots advanced” setting sets noarchive in the generic tag, and therefore for Bing too. Check the content where it is ticked.
  • Rank Math: “No Archive” checkbox in the Advanced tab, and defaults in Titles & Meta.
  • Named tag: plugins usually only handle the generic tag. For a bingbot tag, add it in the child theme:
add_action('wp_head', function (): void {
    if (is_singular('post')) {
        echo '<meta name="bingbot" content="nocache">' . "\n";
    }
});
  • robots.txt tokens: if the file is generated by WordPress or by the SEO plugin, edit it from the plugin's editor, not by dropping a competing file at the root.

Shopify

Versions Shopify, all plans, Online Store 2.0 themes, November 2026.

Tags are added in layout/theme.liquid. The robots.txt file is customized through the templates/robots.txt.liquid template. HTTP headers cannot be modified.

Drupal

Versions Drupal 10 and 11, Metatag module 2.x.

The Metatag module handles the generic tag and its advanced options. A named tag is added through the theme (html.html.twig) or a custom module.

Laravel

Versions Laravel 11 to 13 (Blade templates).

In the main Blade template:

<meta name="robots" content="@yield('robots', 'max-snippet:-1, max-image-preview:large')">
@hasSection('bingbot')
    <meta name="bingbot" content="@yield('bingbot')">
@endif

Next.js

Versions Next.js 15 and 16 (App Router); the metadata API has existed since Next.js 13.2.

The App Router's metadata object accepts a googleBot key for Google and an other key for any other tag:

export const metadata = {
  robots: {
    index: true,
    follow: true,
    googleBot: {
      index: true,
      follow: true,
      "max-snippet": -1,
    },
  },
  other: {
    bingbot: "nocache",
  },
};

Nuxt

Versions Nuxt 4; same code under Nuxt 3, which is no longer maintained since July 2026.

In the <script setup> of a page (app/pages/ in Nuxt 4) or of app/app.vue:

useHead({
  meta: [
    { name: "robots", content: "max-snippet:-1, max-image-preview:large" },
    { name: "bingbot", content: "nocache" },
  ],
});

Common mistakes

  • Keeping a legacy noarchive without knowing that it now excludes the content from Copilot answers.
  • Believing that Google-Extended blocks AI Overviews: it concerns neither Google Search nor its AI features.
  • Inventing tags such as <meta name="GPTBot" content="noindex">: no vendor documents them.
  • Relying on noai to refuse training: without a Disallow in robots.txt, the documented training crawlers have received no instruction they commit to following.
  • Contradicting the generic tag with the named tag: robots: index and googlebot: noindex result in noindex for Google.
  • Blocking the page in robots.txt and putting tags on it: the blocked crawler does not read them.
  • Letting the CDN or a plugin rewrite robots.txt without reviewing the file actually served.
  • Forgetting to date your checks: support for these directives changes; note the date and the source in your documented policy (opens in a new tab).

Frequently asked questions

Do AI systems honor the noai tag?

No, no major vendor documents the noai and noimageai values: not Google, not Bing, not OpenAI, Anthropic or Perplexity. You can add them without risk, but do not base any policy on them. To refuse training with the vendors that document it, use robots.txt, with a Disallow for GPTBot, ClaudeBot or the Google-Extended token.

Does Google-Extended remove my site from AI Overviews?

No, Google-Extended concerns neither Google Search nor its AI features. This robots.txt token controls the use of your content for training Gemini and grounding its answers. AI Overviews and AI Mode are part of Google Search: they depend on Googlebot and on snippet controls such as nosnippet, max-snippet and data-nosnippet.

Is the noarchive tag still useful?

At Google, noarchive is no longer used: the link to the cached version no longer exists. At Bing, however, it excludes the content from Copilot answers and from Microsoft's model training, while leaving the page in the results. An old noarchive, set to hide the “Cached” link, can therefore remove you from Copilot without your having decided it.

Can GPTBot be targeted with a meta tag?

No, a tag such as <meta name="GPTBot"> matches no documentation. OpenAI, Anthropic and Perplexity control their crawlers through robots.txt, crawler by crawler. The documented named tags are Google's, such as googlebot, and Bing's, such as bingbot. To refuse GPTBot, add a User-agent: GPTBot group followed by Disallow: / to your robots.txt.

Updated on

Topic checklist (PDF)

And now?

In the “AI crawler access and data policy” topic

  1. List the AI crawlers you target
  2. Define rules for search, training and user-triggered access
  3. Configure robots.txt to match these goals
  4. Allow OAI-SearchBot if you want ChatGPT visibility
  5. Allow PerplexityBot if you want Perplexity visibility
  6. Allow Claude-SearchBot if you want Claude visibility
  7. Check Googlebot and Bingbot
  8. Check the AI reports available in search engine tools
  9. Check Bing-specific controls
  10. Check CDN, Cloudflare and WAF
  11. Check automatic blocking and CAPTCHAs
  12. Test HTTP responses for each crawler
  13. Check geographic restrictions
  14. Check rate limits
  15. Verify crawler identity against official IP ranges if possible
  16. Analyze AI crawler logs
  17. Check nosnippet, max-snippet and data-nosnippet
  18. Check search engine-specific directives
  19. Make public pages accessible without logging in
  20. Protect private content with authentication
  21. Document the training policy and review it periodically