Merge pull request #131 from Mihitoko/mention-x-robots-tag-for-bing
Some checks failed
/ run-tests (push) Has been cancelled
/ lint-json (push) Has been cancelled

Mention X-Robots-Tag header as alternative for bing
This commit is contained in:
Glyn Normington 2025-05-20 07:52:32 +01:00 committed by GitHub
commit fe1267e290
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,15 +10,19 @@ Fortunately, Bing supports a relatively simple opt-out method, requiring an addi
## How to opt-out of AI training
You must add a metatag in the `<head>` of your webpage. This also needs to be added to every page on your website.
You must add a metatag in the `<head>` of your webpage or set the [X-Robots-Tag](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Robots-Tag) HTTP header in your response. This also needs to be added to every page or response on your website.
The line you need to add is:
If using the metatag, the line you need to add is:
```plaintext
<meta name="robots" content="noarchive">
```
Or include the HTTP response header:
```plaintext
X-Robots-Tag: noarchive
```
By adding this line, you are signifying to Bing: "Do not use the content for training Microsoft's generative AI foundation models."
By adding this line or header, you are signifying to Bing: "Do not use the content for training Microsoft's generative AI foundation models."
## Will my site be negatively affected