robots.txt syntax
User-agent: *starts a group of rules for all crawlers;User-agent: GPTBottargets one.Disallow: /admin/blocks a folder and everything in it; an emptyDisallow:allows everything.Allow: /admin/helpmakes an exception inside a blocked folder.Sitemap: https://…/sitemap.xmltells crawlers where your sitemap is.
Want to see a real one? Here's this site's robots.txt.