Sakativa
    SEO & AI searchEvery business owner2 min read

    What is robots.txt?

    The short answer

    A file that tells search engine crawlers which parts of a site not to crawl.

    What it means

    robots.txt sits at the root of your domain and gives crawl instructions. It controls crawling, not indexing: a blocked page can still appear in search if other sites link to it. To keep a page out of results, use noindex instead.

    robots.txt at your domain root tells crawlers which paths not to crawl. It can't keep a page out of search if it's linked elsewhere; use noindex for that. It can also point to your sitemap.

    Mistakes here, like disallowing everything, can remove a site from search.

    robots.txt is a plain text file at the root of a domain, such as example.com/robots.txt. It lists which crawlers may fetch which paths and usually points to the sitemap. Well-behaved crawlers follow it, but it is not a security tool: anyone can still open a disallowed URL, and pages blocked here can still appear in results if other sites link to them.

    The common mistake is blocking too much, for example a leftover "Disallow: /" from a development site, or blocking the scripts and styles a page needs to render. Use noindex, not robots.txt, to keep a page out of results, and test changes with the robots.txt report in Search Console.

    Example

    Blocking /cart/ and internal search pages keeps crawlers focused on service pages.

    What it means for your business

    Home services

    Site builders sometimes block the whole site on staging; check after every launch.

    How to check yours

    1. 1Visit yourdomain.com/robots.txt.
    2. 2Check nothing important is disallowed.
    3. 3Check the sitemap line.

    Healthy vs. trouble

    Signs it's healthy

    • Only private or useless paths blocked.
    • Sitemap listed.
    • Reviewed after launches.

    Signs of trouble

    • Disallow: / left from staging.
    • CSS or JS blocked.
    • Important sections blocked.

    The common mistake

    Accidentally leaving "Disallow: /" from a staging site, which blocks the whole website.

    What to do

    1. 1Open yourdomain.com/robots.txt.
    2. 2Make sure nothing important is disallowed.
    3. 3Add your sitemap URL.

    Questions to ask your marketing company

    “

    What does our robots.txt block?

    “

    Was it checked after the last launch?

    “

    Is our sitemap listed?

    We answer these in every Sakativa report, in accounts you own.

    Common questions

    What does robots.txt mean in marketing?
    A file that tells search engine crawlers which parts of a site not to crawl. robots.txt sits at the root of your domain and gives crawl instructions. It controls crawling, not indexing: a blocked page can still appear in search if other sites link to it. To keep a page out of results, use noindex instead.
    What's the most common mistake with robots.txt?
    Accidentally leaving "Disallow: /" from a staging site, which blocks the whole website.
    What should a business owner do about robots.txt?
    Open yourdomain.com/robots.txt. Make sure nothing important is disallowed. Add your sitemap URL.
    How do I check robots.txt in my own account?
    Visit yourdomain.com/robots.txt. Check nothing important is disallowed. Check the sitemap line.

    Related terms

    More in SEO & AI search