Sean L. YoungStudio tools
Step 4 · Check & launch

Sitemap Maker

A sitemap is a list of a site's pages for Google and Bing, so new pages get found sooner. The Sitemap Maker walks through the site by following its links, lists the pages worth showing, tells you which ones it left out and why, and points out broken links on the way.

What it's for

Search engines find pages by following links, which can take a while for a new site or a page that's only linked from one place. A sitemap.xml file hands them the full list at once. It also tells them when each page last changed, and which pages are other-language versions of each other.

Along the way, the Sitemap Maker gives you two useful reports: broken links (links to pages that don't exist), and pages left out, with the reason for each.

Quick start

  1. Type the site's real address under Your site's address, such as https://www.example.com.
  2. Click Find pages on this site. The tool follows every link from the home page and lists the pages it finds.
  3. Check the list. Untick anything that shouldn't be in search results, and look at the broken links report.
  4. Download the sitemap and upload it to the site's top folder.
  5. Tell Google and Bing: add the Sitemap: line to robots.txt and submit the sitemap in Google Search Console and Bing Webmaster Tools.

Finding the pages

Where it can look

For browser security reasons, the tool can only walk through the site it's running on. So Find pages on this site works:

  • once the Studio is uploaded to the client's website, for that website
  • on your own computer with XAMPP, for the site in your htdocs folder (localhost).

Working on localhost is fine: Your site's address is the real, public address, and every page in the sitemap starts with it, even though the pages were found on your computer.

For any other site, use Add addresses… to type or paste the pages yourself (full addresses or just the part after the domain, such as /about, one per line), or Open a sitemap.xml… to load an existing sitemap and update it.

Planning a new site?

The Content Planner's Site map tab has a "Copy addresses for the Sitemap Maker" button. Paste them into Add addresses to make the sitemap before the site is even built.

What it leaves out automatically

While walking the site, the tool respects the same signals search engines do. These pages are left out, and listed under Left out of the sitemap with the reason:

  • pages marked noindex (they ask not to be in search results)
  • pages blocked in the site's robots.txt
  • pages whose canonical address is a different page, since the sitemap should only list the main version
  • addresses that redirect somewhere else
  • files that aren't web pages, such as PDFs and images
  • addresses with a ? in them, such as search results or filtered lists, unless you tick Include addresses with ? in them
  • anything matching your own list under Leave out addresses that contain, such as /admin or /thank-you.

Links marked nofollow aren't followed. The tool checks a few pages at once, and shows its progress as it goes. Click Stop to stop early; the pages found so far are kept.

The pages list

Each page found has a tick box, its address (click it to open the page), its title, and its last changed date. The count at the top shows how many are included.

  • Untick a page to keep it out of the sitemap without removing it from the list. Use the tick box in the heading to tick or untick everything shown.
  • Click its × to remove it from the list completely.
  • Type in Filter pages to show only matching addresses, such as /blog/.
  • Pages with other-language versions show how many languages they have.

Dates

Dates come from the web server, or from the sitemap you opened. You can change any date in the list. Dates: today dates every included page today, which suits a brand-new site. No dates leaves dates out, which is fine: search engines treat them as a hint only, and an honest missing date is better than a wrong one.

Clear list starts again. The list is kept in this browser between visits until you clear it.

Language versions

If the site's pages link to their other-language versions with hreflang tags, the tool finds them. With Include language versions ticked, the sitemap lists each page's other-language versions too. That helps Google show Spanish speakers the Spanish page, French speakers the French one, and so on.

The Meta Tag Builder can make the hreflang tags for each page.

Broken links and left-out pages

Under the list are two reports:

  • Broken links: addresses that didn't load, with the reason (not found, a server error, or too slow) and which pages link to them. Fix the links on those pages, or put the missing page back.
  • Left out of the sitemap: every page that was skipped, and why. Check it for surprises: a page marked noindex by mistake is a common reason a page never shows up in Google.

Putting the sitemap live

The finished sitemap.xml shows on the right. Click Copy or Download, then:

  1. Upload it to the site's top folder, the same folder as the home page (public_html on most hosts, htdocs on XAMPP).
  2. Add the Sitemap line shown under the sitemap to the site's robots.txt file, such as Sitemap: https://www.example.com/sitemap.xml. If the site has no robots.txt, make one with just that line.
  3. Submit it. Click Copy sitemap address, then Open Google Search Console. It opens that site's Sitemaps page in a new tab: paste the address and click Submit. Do the same with Open Bing Webmaster Tools.
  4. Keep it fresh. Make a new one whenever pages are added or removed.
Before you submit

The site has to be added and verified in Google Search Console and Bing Webmaster Tools first (each walks you through it). If the site was added to Search Console as a whole domain rather than one address, the button may open an empty page: pick the site from the list at the top.

http or https?

If the site has a security certificate, make sure the address at the top starts with https://, so the sitemap matches the real addresses. The tool reminds you if it doesn't.

Questions

It found fewer pages than the site has.

It can only find pages that are linked from somewhere it can reach. Pages only reachable through a search box, a form or JavaScript menus can be missed. Add them with Add addresses, and consider linking to them from the site's menu or footer.

It says a sitemap index can't be opened.

Big sites sometimes have a sitemap index, which is a list of sitemaps. Open one of the sitemaps it lists instead.

Do I need a sitemap for a one-page site?

It's not essential, but it does no harm and takes a minute. It's most useful for sites with many pages, new sites, and pages that aren't well linked.

Does a sitemap get pages into Google?

It helps Google find them sooner, but Google still decides what to show. The left-out report and the HTML Checker help with the things that keep pages out.