robots.txt Directive Order

Each group starts with User-agent. Rules apply until the next User-agent.

Common causes

How to fix

FAQ

Order of directives?
User-agent then Allow/Disallow.
Multiple User-agent?
Each starts a group.

Fix it now

Try in validator (prefill this example)

Related

All tools · Canonical