A clearer path from search visibility to business growth. Check your website, free ↗

Technical & content SEO

robots.txt without accidental blocks

robots.txt gives cooperating crawlers rules about which URL paths they may request. Treat it as crawl management, not access security. A publicly blocked URL may still be known to a search engine, and confidential information needs authentication rather than a line in a publicly readable text file.

Practical guide · English & Danish

Start with the decision, not the metric.

robots.txt gives cooperating crawlers rules about which URL paths they may request. Treat it as crawl management, not access security. A publicly blocked URL may still be known to a search engine, and confidential information needs authentication rather than a line in a publicly readable text file.

A single broad rule can unintentionally block a whole product directory or the resources needed to render pages. Configuration mistakes often come from copying staging settings into production. Keep a clear reason for each rule and review the actual public file after deployment, especially after changing a CMS or CDN.

Turn the idea into a repeatable workflow.

  1. Open the robots.txt file at the exact origin you want to manage. Check the hostname, scheme, response status, and contents. A file on one subdomain does not automatically configure another subdomain's crawler policy.
  2. List the crawler groups and the URL patterns each rule affects. Test representative allowed and blocked URLs, including a product page, an asset, a filtered category, and any path that resembles a wildcard boundary.
  3. Choose the right control for the job. Use authentication for private areas and an accessible noindex directive for public pages you do not want indexed. Do not block access while expecting a crawler to read that page's noindex instruction.
  4. Store the intended rules with the deployment configuration. Add the sitemap location where appropriate, verify production after release, and inspect logs or Search Console when an important path stops receiving crawler requests unexpectedly.

Make the next step specific.

Choose one commercially important page or a small, related group of URLs. Record its current state, the user need, the proposed change and the person responsible. Separate evidence from assumptions so you can tell whether the work solved the original problem.

Use the Gavek planning workspace to turn these checks into assigned priorities. The free website snapshot can help inspect initial HTML signals; it does not replace a site-wide crawl, a live ranking data source or an index coverage review in Search Console.

Create your SEO action plan ↗

Avoid the work that creates more work.

  • Leaving a staging-wide disallow rule on the production host.
  • Using robots.txt as a password or privacy protection mechanism.
  • Blocking scripts or styles that are necessary to understand the page.

Measure useful progress.

Priority paths unintentionally disallowed.
Production robots.txt response and deployment consistency.
Crawler access failures associated with newly changed rules.

Keep the comparison period, location, device and data source consistent. Search results and AI answers vary; a single observation is a diagnostic clue, not proof of long-term growth or causation. Connect visibility changes to relevant enquiries, qualified leads or sales wherever reliable first-party data is available.

Questions worth asking.

Does Disallow remove a page from search?

Not reliably. It prevents compliant crawling of matching paths, but it does not itself request deindexing. If removal from results is the goal, select an appropriate indexing or access control and verify the outcome.

Should small sites restrict crawling heavily?

Usually begin with simple, understandable rules. Complex blocks create maintenance risk. Introduce restrictions for a documented need, then verify they do not hide valuable pages or resources.

Go to the source.

These independent guides are grounded in primary documentation. Platform behavior and search systems can change; consult the linked documentation when implementing a change.

Editorial guidance from Gavek. No ranking guarantees, customer-result claims or endorsement by the referenced platforms.

Your next move starts here

Make search a more useful part of your growth.

Start with your website. Leave with a clearer picture of what to improve, what to measure and where to focus next.

Loading the library…