What is a sitemap? XML versus HTML, explained for practices

Updated November 14, 2026 · 4 min read
Short answer

An XML sitemap is a file for search engines that lists the pages you want found, often with the date each one changed. An HTML sitemap is an ordinary page of links for people. Every practice site should have an XML sitemap; an HTML sitemap is optional and mainly useful when your menus cannot reach everything.

A list, not a map

The word sitemap suggests a diagram. In practice it is a list. Google defines it as a file where you provide information about the pages, videos and other files on your site, which search engines read to crawl the site more efficiently.

Think of the list you might hand a new front desk hire on day one: every room in the building, and when each was last renovated. They would find most rooms by walking the halls. The list makes sure they do not miss the one at the end of the corridor, or the one that opened last week.

The XML sitemap: written for search engines

The XML sitemap is the one that matters for search. It is a plain file, usually at an address such as yourpractice.com/sitemap.xml, that patients never see. Each entry holds a page address and, optionally, the date that page last changed in a meaningful way.

A few rules come from the sitemap protocol and Google's documentation:

  • Each address must be complete, starting with https, not a partial path
  • One file can hold up to 50,000 addresses or 50 MB uncompressed; larger sites split into several files tied together by a sitemap index
  • The file must be UTF-8 encoded
  • Only list the version of each page you want in search results, not duplicates

Two older tags, priority and change frequency, still appear in many sitemaps. Google and Bing both say they ignore them. Google also accepts RSS or Atom feeds and plain text files with one address per line, but XML is the most flexible format and the one most platforms produce.

See your Surge Score in about a minute

Does ChatGPT recommend your practice?

The Surge Score measures five things about your practice website: how often ChatGPT, Gemini and Perplexity recommend you, your PageSpeed, your structured data, your indexing and your reviews, each with its evidence and date. Free.

The HTML sitemap: written for people

An HTML sitemap is a regular page on your site, often linked in the footer, that lists your pages as clickable links grouped by section: services, conditions, providers, locations and patient resources.

It helps patients who cannot find something in your menus, and because it is made of ordinary links, it also gives crawlers another path to every page. Google says it primarily finds pages through links from pages it has already crawled, so a well organized links page can help pages that are otherwise buried.

But it is a patch, not a plan. If patients need an HTML sitemap to find your knee replacement page, the real fix is better navigation and internal links.

Which one does a practice need?

An XML sitemap: yes. WordPress, Wix and Squarespace all generate one automatically, so the work is making sure it is accurate and that Google and Bing know about it. Google says a small, well linked site of about 500 pages or fewer may not strictly need one, but there is no downside, and it makes Search Console's indexing reports far more useful.

An HTML sitemap: optional. It makes the most sense for practices with many service, condition and provider pages across several locations, or sites where some pages are not reachable from the menus. For a 25 page site with clear navigation, it adds little.

Why the XML sitemap matters more than Google's size guidance suggests is covered in why your sitemap matters.

What belongs on the list

Your XML sitemap should include every page you want a patient to land on from search:

  • Homepage and location pages
  • Each service, procedure and condition page
  • Provider bio pages
  • Insurance, new patient and pricing pages
  • Patient education articles you want found

Leave out pages that should not appear in search: thank you and form confirmation pages, patient portal and login pages, internal search results, test or staging pages, and any page marked noindex or redirected elsewhere. A sitemap that lists pages you have told Google not to index sends mixed signals.

Pages that exist but are linked from nowhere deserve special attention; see orphan pages.

What a sitemap cannot do

A sitemap is an invitation, not an order. Google says it helps discovery but does not guarantee that every listed page will be crawled or indexed, and describes submitting a sitemap as a hint.

It cannot make a thin page rank, fix duplicate content across locations or override a noindex tag. It cannot help a page Google is blocked from reaching by a login or a robots.txt rule. Its job is narrower and still important: making sure search engines know every page you care about exists, and when it changed. To see whether yours is doing that job, use how to find your sitemap and check that it works.

Checklist

  • Your site has an XML sitemap and you know its address
  • Every service, condition, provider and location page is listed
  • Thank you pages, portal logins and test pages are left out
  • Every address is complete and starts with https
  • No page in the sitemap is redirected or marked noindex
  • You have an HTML sitemap only if your menus cannot reach every page

Frequently asked

Is an HTML sitemap good for SEO?

It can help a little, by giving crawlers links to pages that are otherwise hard to reach. It does not replace an XML sitemap or good navigation. If you need one to make pages findable, fix the menus and internal links as well.

Do I need to build my sitemap by hand?

Usually not. WordPress, Wix and Squarespace all generate XML sitemaps automatically, and SEO plugins such as Yoast add their own. Custom built sites need a developer to generate one, ideally automatically every time the site changes.

Should PDFs like intake forms be in the sitemap?

Only if you want patients to land on them directly from search, which is rarely the goal for intake forms. It is usually better for a patient to arrive on your new patient page, which links to the forms with context and a booking button.

What do priority and changefreq do?

Nothing for Google or Bing. Both have said they ignore these tags. You can leave them in place if your platform adds them, but do not spend time adjusting them or pay anyone to.

Sources

  1. What is a sitemap, Google Search Central
  2. Build and submit a sitemap, Google Search Central
  3. Sitemaps XML format, sitemaps.org
  4. SEO Starter Guide: The Basics, Google Search Central
  5. Keeping Content Discoverable with Sitemaps in AI Powered Search, Bing Webmaster Blog
  6. New XML sitemaps functionality in WordPress 5.5, Make WordPress Core
  7. Submitting your sitemap and URLs directly to search engines, Wix Help Center
  8. View your site map, Squarespace Help Center
Prefer to talk it through?

Book a strategy call with the team.

Twenty minutes. We'll walk through the specific opportunities in your market and what a MedPracticeGrowth engagement would look like for your practice.

AI patient discovery audit

Is AI recommending you, or your competitor?

See who ChatGPT, Gemini and Perplexity recommend to patients in your area.

Free. Built by physicians.