robots.txt contains invalid lines
WarningQuick fix
Some lines in robots.txt are not valid directives.
Why it matters
Crawlers silently skip lines they do not understand, so a rule you rely on may not be applied at all.
How to fix it
- 1
Correct or remove the lines listed below.
- 2
Each rule needs the form "Directive: value" and must follow a User-agent line.
- How serious is it?
- Warning
- Issues worth fixing once the errors are handled.
- How much work is it?
- Quick fix
- Usually minutes of work.
Further reading: Google: Introduction to robots.txt
Does your site have this issue?
Check a page for free, or create an account to test your whole website.