Skip to content
Design Corner Knowledge Base ← Back to designcorner.co.ke
Knowledge Base

Marketing and SEO

Robots.txt

Also known as: Robots file, Crawler rules

1 min read Updated November 10, 2026

Definition A file that tells search engine crawlers which parts of your site they may or may not visit.

What it is

Robots.txt sits at yoursite.com/robots.txt and gives rules to bots. It does not hide pages securely; it only asks well-behaved crawlers to avoid them.

Why it matters for your business

A wrong rule can block your whole site from Google.

Real-world example

A staging rule Disallow: / was copied to a live site and blocked Google entirely until it was removed.

Design Corner tip

Never use robots.txt to hide sensitive information; protect it with passwords instead.