Loading tutorials
robots.txt, how it fetches the file, and how the response changes crawler behavior. Rule syntax comes in the next chapter.3 min readUser-agent, Disallow, and Allow lines, and that you know a URL has a path and a query string. Here you will learn the two pattern characters that robots.txt supports and how to predict what they match.2 min readUser-agent, Disallow and Allow lines, and that you know the * and $ pattern characters. Here you will learn how a crawler picks one group of rules and then one rule inside that group.2 min readUser-agent and Disallow lines. It also assumes you know that a crawler fetches pages and a search engine indexes them. The goal is to choose the right tool when you want a page kept out of search results.2 min readDisallow rules work. It also assumes you know basic HTTP status codes. The point here is narrow: robots.txt asks crawlers to stay away from URLs, but it does not stop anyone from requesting them.2 min read<url> entry with a <loc> looks like, and understand that a sitemap lists URLs you want crawlers to discover. Here we look at the optional fields inside each <url> entry. One of them helps when you use it correctly. Two of them2 min read<urlset> looks like, and have seen a Sitemap: line in robots.txt. Here you will learn the hard limits on a sitemap file and how a sitemap index lets you go past them.3 min readSitemap: line in robots.txt, a submission in a search engine's webmaster tool, and an automated ping or API where one is supported. It assumes you can read robots.txt directives and have a sitemap3 min readurlset sitemap with loc and lastmod entries, and that you know what XML namespaces look like. Extensions add extra data to a normal <url> entry. They do not replace the standard format.2 min readurlset, url, loc, lastmod), the 50,000-URL and 50 MB limits, and basic Python. It shows how to build sitemaps from the data your site already holds, instead of editing XML by hand.2 min read