Bird
0
0

Identify the error in this robots.txt snippet:

medium📝 Analysis Q14 of 15
SEO Fundamentals - Technical SEO Basics
Identify the error in this robots.txt snippet:
User-agent: *
Disallow /admin/
AUser-agent should be capitalized
BMissing colon after Disallow
CDisallow path should be empty to block
DUser-agent cannot be *
Step-by-Step Solution
Solution:
  1. Step 1: Check syntax for Disallow directive

    Each directive must have a colon after the keyword. Here, Disallow is missing a colon.
  2. Step 2: Verify other parts

    User-agent can be '*', capitalization is not strict, and Disallow path is correct to block /admin/.
  3. Final Answer:

    Missing colon after Disallow -> Option B
  4. Quick Check:

    Directives need colon after keyword = A [OK]
Quick Trick: Check for colon after directives like Disallow [OK]
Common Mistakes:
  • Omitting colon after Disallow
  • Thinking * is invalid user-agent
  • Believing capitalization matters

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More SEO Fundamentals Quizzes