Robots.txt Generator

Written byupdated

One path per line.

Google does not support this line and Yandex has ignored it since 22 February 2018; Bing, for one, still reads it.

Result

  • The robots.txt file

    User-agent: * Disallow: /admin/ Disallow: /account/ Disallow: /cart/ Disallow: /search Allow: / Disallow: /tmp/ Disallow: /private/ Sitemap: https://example.com/sitemap.xml

  • Baseblock utility sections
  • Lines9
  • Sitemap lineSitemap: https://example.com/sitemap.xml
  • What matters

    Check the file in a webmaster console after publishing: one stray Disallow closes an entire section.

Related tools

Redirect Rule Generator

Builds a redirect rule for nginx, Apache or Next.js with the response code you choose.

HTTP Status Code Lookup

Explains a server response code, its family, its effect on indexing and its default caching behaviour.

Meta Tag Length Checker

Measures meta tags in characters and in pixels and warns whether search results will truncate them.

Useful links