How robots.txt rules are read
A robots.txt file is a list of groups. Each group starts with one or more User-agent lines naming the crawlers it applies to, followed by Allow and Disallow rules for URL paths. A crawler looks for the group that names it most specifically and follows only that group. If no group names it, it falls back to the User-agent: * group.
That detail matters: if you give GPTBot its own group, it ignores everything in the * group, so any paths you want protected must be repeated there. This generator handles that for you. Within a group, the longest matching path wins, so Allow: / plus Disallow: /admin/ opens the whole site except the admin area. Sitemap lines can go anywhere and apply to every crawler.






