Convert · On this device

robots and sitemap

Build robots.txt and sitemap.xml from the host and paths you type.

  1. Ficheiro ou colar
  2. Pré-visualização
  3. Descarregar
1User-agent: *
2Disallow: /admin/
3Disallow: /drafts/
4Allow: /
6Sitemap: https://example.com/sitemap.xml

robots.txt guide

Build robots and sitemap. Files update on the left. This page does not submit them.

Disallow rulesPaths crawlers should skip.

  • Disallow: /admin/ — 不让爬 /admin/
  • Disallow: /drafts/ — 不让爬 /drafts/

Put the files at your own origin root. This site does not fetch those URLs.

Sitemap 3 条 · 主机 https://example.com

Ad 728×90 · mobile 320×50
How it works, what you get, limits

O que faz

Build robots.txt and sitemap.xml from the host and paths you type.

Como usar

Enter host and one path per line, download both files, put them at your site root yourself.

O que obtém

Two text files. This does not submit them to search engines or check that URLs load.

Opções e comparação

Host and paths.

Generator only.

Limites

No Search Console submit, no crawl of your URLs.

FAQ

Will you submit to Google?

No. Put the files at your own site root.

Disallow: / ?

That blocks crawling the whole site. Check the preview first.