Sitemaps and robots.txt, one idea at a time
A sitemap lists the pages you want search engines to find. A robots.txt file asks crawlers to keep out of some places. These notes explain what each file does, what it can't do, and how to read and write them.
Made for small business owners, clubs and beginners setting up their own website.
All the notes
What an XML Sitemap Is and What It Is ForWhat a sitemap file is, what it tells search engines, and how to decide whether your small website needs one.
What a robots.txt File Is and Where It LivesWhat a robots.txt file does, where it goes on your website, and the limits every site owner should know before relying on it.
Sitemap or robots.txt: What Each One DoesA sitemap lists pages you want found. A robots.txt file asks crawlers to stay out of some places. Here's how the two differ.
How to Read a Sitemap File, Line by LineWhat each tag in an XML sitemap means, which ones are required, and which optional ones search engines actually use.
robots.txt Rules Explained: User-agent, Disallow and AllowHow to read and write the lines in a robots.txt file, with plain examples of User-agent, Disallow, Allow and comments.
How to Give Your Sitemap to Search EnginesTwo ways to tell search engines where your sitemap is: a Sitemap line in robots.txt, or the Sitemaps report in Search Console.
Why robots.txt Does Not Hide a Page From SearchWhy a page blocked in robots.txt can still appear in search results, and what to use when you really want it kept out.