How to block GPTBot (OpenAI)
Use robots.txt to disallow GPTBot, then validate.
robots.txt snippet
User-agent: GPTBot Disallow: /
Upload this at /robots.txt
. Then verify:
Open the Free robots.txt Generator & Validator →
Notes
- Changes can take time to be respected by all crawlers.
- For rogue bots, consider edge firewall rules in addition to robots.txt.