What is a sitemap?
A sitemap is a file that lists the pages on your website, so search engines can find them all, including new pages nothing links to yet.
Last updated
In real life
Like the floor plan at a shopping centre entrance: it shows every shop, even the one tucked away round the corner.
Try it yourself
The demo has a new rye bread page that nothing links to, so the crawler misses it. Switch on a sitemap and send the crawler again: it reads sitemap.xml, which lists all four pages, and the rye page makes it into the index.
Your site: rosas-bakery.example
This lessonYou just published a new page, Rye bread. Nothing links to it yet.
The crawler's trip
Waiting. Press “Send the crawler”.
The search engine's index
- HomeNot visited yet
- RecipesNot visited yet
- Sourdough guideNot visited yet
- Rye bread (new)Not visited yet
A sitemap is a list of your pages for search engines. Switch it on and the crawler finds the rye page even with no links to it.
Sitemap vs navigation menu
A navigation menu is for visitors: a few key links at the top of each page. A sitemap is for search engines: a file listing every page, usually at /sitemap.xml.
Common questions
Do I have to make a sitemap myself?
Usually not. Most website builders and frameworks create one for you. This site has one at /sitemap.xml.
Does a sitemap guarantee my pages get indexed?
No. It helps search engines find your pages, but they still decide which ones to index.
Where you will use this
Quick check: Sitemap
Question 1 of 3