1. Preventing Admin Directory Indexing
SEO SpecialistBackground
An SEO specialist is preparing to launch a new website and wants to ensure search engines do not crawl the admin panel while keeping the help section accessible.
Problem
A draft robots.txt has a syntax error where the colon is missing in the Disallow rule, which might cause crawlers to ignore the directive.
How to use
Paste the draft robots.txt content, set the site origin to 'https://example.com', and add '/admin' and '/admin/help' to the test URLs list.
robotsText: "User-agent: *\nDisallow /admin\nAllow: /admin/help"
siteOrigin: "https://example.com"
testUrls: "/admin\n/admin/help"Outcome
The tool flags the syntax error on the Disallow rule, allowing the specialist to correct it to 'Disallow: /admin' before deployment.