Ki-Ki

Web foundations for SMEs

Knowledge hub

Why your robots.txt matters more than you think

Even small websites benefit from a simple, correct robots.txt file. It helps search engines understand your structure and stops accidental indexing of clutter.

What robots.txt actually does

A robots.txt file tells search engines which parts of your site they should or should not crawl. It is not a security feature. It is not a privacy tool. It is simply a map that helps automated crawlers behave politely.

When robots.txt is missing or incorrect, search engines guess. They do not always guess well.

Why small organisations forget about it

Many small sites are built quickly and then updated over the years by different people. The original builder might have added a basic robots.txt or none at all. Hosting panels and CMS plugins sometimes auto generate one without explaining what it does.

Common mistakes that cause problems

1. No robots.txt at all

This leaves search engines to decide how to crawl your site. Some pages may be missed entirely. Others may be crawled too often.

2. Accidentally blocking the whole site

A single line can hide your entire website from search engines:

User-agent: *
Disallow: /

This is sometimes left over from a staging version of the site and forgotten during launch.

3. Exposing internal folders

Some sites list admin, backup, or config folders inside robots.txt hoping to “hide” them. This does not hide them. It advertises them. Search engines honour the rule, attackers do not.

4. Missing sitemap entry

Adding a sitemap line makes crawling more reliable:

Sitemap: https://example.com/sitemap.xml

A simple robots.txt that works for most small sites

User-agent: *
Allow: /

# Keep clutter out of the index
Disallow: /wp-admin/
Disallow: /cgi-bin/
Disallow: /temp/
Disallow: /private/

Sitemap: https://example.com/sitemap.xml

This is not a security measure. It simply keeps noise out of search results and helps search engines understand your structure.

In plain English

  • robots.txt is a guide for search engines, not a lock on your site.
  • A missing or incorrect file can make important pages harder to find.
  • A clean, simple version is enough for most small organisations.

You can read more plain English articles in the Ki-Ki knowledge hub.

Talk to Kieron