Sitemaps, robots.txt and indexing, in plain words
Indexing is getting into the library. Ranking is where the book sits on the shelf. Most confusion about search comes from mixing the two.
Indexing is getting into the library. Ranking is where the book sits on the shelf. Most confusion about search comes from mixing the two.
A sitemap is a file, sitemap.xml, that lists the addresses on your site you want indexed and when each last changed. robots.txt tells crawlers where they may not go. A canonical address tells them which version of a page is the real one. Indexing is being stored by the engine; ranking is the order it shows stored pages. Submit the sitemap once and give a new domain time.
sitemap.xml is a plain list of addresses, one per page, with an optional lastmod date beside each. Crawlers read it to find pages and to see which ones changed. It is not a promise of indexing and not a ranking signal. It is a map.
It should list only pages you want indexed, at their clean canonical address, and it should be accurate. A sitemap that lists redirects, removed pages or two versions of the same page teaches the crawler to distrust it.
robots.txt sits at the root of your domain and tells crawlers which paths to leave alone. It is a courtesy the major engines honor, not a lock. Use it for things that should never be crawled: an admin area, a search-results page, a duplicate print version.
It is not the way to keep a page out of the index. A page blocked in robots.txt can still be indexed from links alone, with no description. To keep a page out, let it be crawled and mark it noindex.
Most business sites need a short robots.txt that allows everything and points to the sitemap. That is all.
One page can be reached at several addresses: with and without www, with a trailing slash, with a tracking code. The canonical link in the page head says which one counts. Crawlers merge the rest into it.
Without it, an engine may treat the versions as separate pages, split whatever they earn between them, and pick a version you did not intend. With it, there is one page.
lastmod is the date the page's content last changed. Google says it uses the value when it is accurate and consistent, and it ignores it when every page claims to have changed today. Update it only when the content actually changed, and let the boring pages keep their old dates.
Indexed means the engine fetched the page, read it and stored it. That is the ticket in. Ranking is what happens when someone searches and the engine sorts what it has stored. A page can be indexed and never shown, because for every search the engine found pages it judged more genuinely useful.
So a page missing from results is one of two problems. Either it was never indexed, which Search Console's Pages report will tell you, or it is indexed and not competitive, which is a content question. The fixes are different, so read the status first.
Each of those has a plain fix, and only the first one is about the writing. Read the status before you rewrite anything.
Submit the sitemap in Search Console once. Google re-reads it on its own visits. A new address in the sitemap does not need a new submission. A new domain is crawled lightly at first; weeks before the reports fill is normal, and nobody can give you an honest number.
Website Builder Studio generates a sitemap for every site and gives each page a clean address and a canonical link. Each page passes a check that runs before anything publishes, validated against Google Search Essentials and modern web standards. The in-app assistant walks you through submitting the sitemap to Search Console step by step.
What it cannot do is make a crawler come sooner, and it will not pretend to. See how to add your site to Google Search for the actual screens.
No. Google re-reads the sitemap on its own visits. Submitting again does no harm, and it does not speed anything up.
For a small business site, usually nothing. Allow everything and point to the sitemap.
Indexed is stored, not shown. For the searches you tried, other pages were judged more useful. That is a content question, not a technical one.
There is no honest number. Days to weeks for the first pages is common, and the reports in Search Console fill slowly after that.
15-day free trial. Card required. Cancel before day 15 and you pay nothing.