Custom Web Audits
Run Audit Demo Audit Audit Types Free Tools Pricing What We Analyze 🔒 Login
← All audit checks
Audit Guide · 4 min read
Robots.txt Analysis

Robots.txt Analysis: How You Accidentally Told Google to Ignore Your Site

You launch a new site or redesign, traffic tanks, and you can't figure out why. Turns out there's a tiny text file on your server literally telling Google "don't crawl my site." Or maybe you're blocking your most important pages without realizing it. Welcome to robots.txt—the file that can tank your SEO with one wrong line.

What Is Robots.txt?

Robots.txt is a simple text file that lives at yoursite.com/robots.txt and gives instructions to search engine crawlers. The key directives you need to know:

Think of it like a bouncer at a club. You can tell Google "don't go in the /admin/ folder" or "stay out of my staging site." The problem? Most people accidentally tell the bouncer to block everyone, including paying customers.

Why It Matters

For your visitors: Robots.txt doesn't directly affect what users see, but it determines what Google can find. If you block important pages, they won't show up in search results, so visitors never find you in the first place.

For search rankings: Google can't rank what it can't crawl. We've seen brand new sites launch with Disallow: / (blocks everything) leftover from staging, wondering why they're not getting traffic. We've also seen sites block their blog, product pages, or entire categories by accident—losing thousands in organic traffic overnight.

For your bottom line: Every page Google can't crawl is a page that can't bring in traffic or revenue. If you're blocking 30% of your site unnecessarily (super common with default robots.txt from page builders), you're leaving money on the table. Plus, wasting crawl budget on useless pages means Google spends less time on your important content.

Impact Summary:
User Experience: Indirect
SEO Impact: Critical
Traffic Effect: Critical
Difficulty to Fix: Easy

Who Should Handle This?

Business Owner: Verify site is crawlable after any major changes or migrations

Marketing Manager: Check robots.txt when launching new sections or campaigns

Developer/SEO: Configure robots.txt; test before launches; audit quarterly

For most small businesses, your developer or SEO agency should handle this. If you're DIY, many website builders (WordPress, Shopify, Wix) manage robots.txt automatically—but that doesn't mean they get it right.

What to Look For in Your Audit

Green Flags (You're Good)

Yellow Flags (Needs Attention)

Red Flags (Fix Immediately)

Benchmark Reference:
Good: Blocks admin/search, allows content, lists sitemap
Bad: Blocks content pages or returns 404
Critical: Disallow: / blocks everything

Best Practices

Start with a basic file: Most sites only need a simple robots.txt: allow everything, block admin areas, and reference your sitemap. Don't overcomplicate it unless you have specific reasons to block content.

Never block CSS/JavaScript: Google needs these files to render your pages properly. Blocking them can hurt your mobile rankings and Core Web Vitals scores.

Use Google Search Console's tester: Before making changes, test your robots.txt in Search Console's robots.txt Tester tool. It shows exactly what Google can and can't crawl, and highlights errors.

Block duplicate content: Use robots.txt to block search result pages, filter pages, printer versions, and session ID URLs that create duplicate content. This saves crawl budget for pages that actually matter.

Quick Win: Go to yoursite.com/robots.txt right now. If you see Disallow: / anywhere without specific Allow rules below it, you're blocking your entire site—remove that line immediately and submit your sitemap in Search Console.

Our Take

In our experience, robots.txt is responsible for more "mysterious" traffic drops than almost any other technical issue. The worst part? It's usually self-inflicted. A developer sets up a staging site with Disallow: / to keep it out of search results, then forgets to remove it when pushing to production. Six months later, the business wonders why they're getting zero organic traffic.

The most common mistake is being too aggressive with blocking. People block entire folders "just to be safe" without understanding what's in them. We've seen sites block /wp-content/ (kills WordPress functionality), /images/ (Google can't see your pictures), or entire blog categories because someone didn't want "thin content" indexed. When in doubt, allow it—you can always add to robots.txt later.

Here's the hard truth: Robots.txt is a gentleman's agreement. It tells bots what not to crawl, but it doesn't actually prevent access—anyone can still visit blocked URLs directly, and bad bots often ignore it entirely. If you have truly sensitive pages (admin panels, customer data), use password protection or server-level restrictions, not robots.txt. And never, ever put "secret" pages in robots.txt thinking it hides them—you're literally creating a treasure map for hackers.

See exactly what's hurting your website

Start free with our instant SEO tools — or run the all-in-one audit: SEO, speed, accessibility, content, AI visibility & conversion, in one report.

More audit guides

Page Load Speed & TTFBMulti-Channel AttributionInternational SEO & HreflangRich Results ValidationTraffic Intelligence