robots.txt

The robots.txt tab sets which pages search engines and other crawlers can read. Splitleaf makes the robots.txt file of the site from these settings when you publish.

Site settings, robots.txt tab, with two user-agent rules, the sitemap URL and a preview of the file.
robots.txt sets which pages crawlers can read.

User-agent rules

A rule applies to one crawler, or to all crawlers.

  • User-agent is the name of the crawler. * means all crawlers. Example: GPTBot.
  • Allow lists the paths that the crawler can read.
  • Disallow lists the paths that the crawler must not read.

Type one path on each line. Example: /drafts/.

To add a rule, click Add user-agent rule. To remove a rule, click the trash icon on the rule.

Note: robots.txt is a request to crawlers. It does not hide a page. Do not use it for private pages.

Sitemap URL

Sitemap URL tells crawlers where the sitemap is. If you leave it empty, Splitleaf uses your site address and /sitemap.xml.

Preview

Preview shows the robots.txt file as Splitleaf will publish it.

Click Save after a change.