Earn $25 CASH per qualified ChartSnap Founder referral Β· Unlimited referrals Β· No purchase required β€” Join the Affiliate Program β†’

Glossary

Robots.txt

A file that instructs search engine crawlers which pages to crawl or avoid.

Definition

Robots.txt is a plain text file placed at the root of a website (domain.com/robots.txt) that provides instructions to web crawlers about which pages or sections they are allowed or disallowed from crawling. It uses Disallow and Allow directives. While robots.txt can prevent pages from being crawled, it does not prevent them from being indexed if those pages are linked from other sites.

Why It Matters

Robots.txt is a fundamental technical SEO tool for managing crawler access and optimizing crawl budget. Blocking low-value URL spaces from crawlers preserves crawl budget for important pages. However, robots.txt errors β€” accidentally blocking critical JavaScript, CSS, or content pages β€” are among the most serious and common technical SEO mistakes.

Examples

Block all crawlersUser-agent: * / Disallow: / β€” blocks all crawlers from the entire site
Block specific pathDisallow: /admin/ β€” prevents crawlers from accessing admin pages

Common Mistakes

Blocking the entire site on a production environment.
Blocking JavaScript or CSS files.
Confusing robots.txt blocking with noindex.
Not testing changes with Google Search Console.

Related Tools

Related Terms

We use cookies to keep the site free and understand which tools are most used. See our Privacy Policy.