Skip to content

How to Easily Find a Website’s Sections Using Its Sitemap

A sitemap is a page or file that lists the sections and URLs available on a website. Two formats…

Femme naviguant sur le plan d'un site web depuis son ordinateur portable dans un bureau à domicile
Reading: 5 min

A sitemap is a page or file that lists the sections and URLs available on a website. Two formats coexist: the HTML sitemap, designed for visitors, and the XML sitemap, intended for search engines. Knowing how to tell them apart and use them makes it easy to find any section, even on a large website where the menu shows only a fraction of the content.

HTML sitemap and XML sitemap: two formats, two purposes

An HTML sitemap is a standard web page that can be read in a browser. It presents the site’s main categories as clickable links, organized by topic or hierarchy. Visitors can use it as a table of contents to go straight to a section without using the main navigation.

An XML sitemap is a technical file. It contains a plain list of the site’s URLs, along with metadata such as the date of last modification and update frequency. Search engines like Google and Bing use it to discover and crawl pages. This file is not designed for people to read: it appears as structured code that is difficult to use without the right tools.

Google explains that an HTML sitemap can make navigation easier and help visitors discover links, but it does not replace an XML sitemap. Conversely, an XML sitemap does not help visitors find a section. The two formats complement each other rather than serving as substitutes. For an example of how to explore a site’s sections as a visitor, the Jeune et Actif sitemap illustrates how a table-of-contents page can provide access to the site’s different sections.

Man consulting a website sitemap on a large screen in a modern open-plan office

Accessing a sitemap from a web browser

Most websites place a link to their sitemap in the footer. A label such as “Sitemap,” “Site map” or “All sections” often appears at the bottom of the homepage, alongside the legal notices or privacy policy.

If there is no link, trying the URL directly is usually the quickest method. Three paths work on most websites:

  • Add /sitemap.xml after the domain name (for example, mysite.com/sitemap.xml) to access the XML file. If the site uses WordPress, Shopify or Squarespace, this address is almost always available by default.
  • Try /site-map or /sitemap for an HTML version, especially on sites that offer a dedicated navigation page.
  • Check the robots.txt file (mysite.com/robots.txt): this text file often contains a “Sitemap:” line followed by the exact sitemap URL. This is the most reliable option when the location is not standard.

These checks take just a few seconds and require no special tools. A regular browser is all you need.

Reading and using an XML sitemap when there is no HTML page

Some websites do not offer an HTML sitemap. In that case, the only available file is the XML sitemap. Opening it in a browser displays a tree of tags that may seem unreadable at first glance.

Identifying the structure in the XML code

Each URL on the site appears between <loc> tags. As you scan the lines, you can infer the sections from the URL segments. For example, a URL such as mysite.com/recipes/desserts/ indicates a “desserts” section within the “recipes” category. It is less convenient to read than an HTML page, but it provides a complete overview of the site’s structure.

Large websites often use a sitemap index: a main file that points to several sub-sitemaps (one for each category, language or content type). Each sub-file groups the URLs for a specific section. This makes searching easier: instead of scanning thousands of lines, you can simply open the sub-sitemap for the section you are looking for.

Using the find function on the page

The Ctrl+F shortcut (or Cmd+F on Mac) lets you search for a keyword directly in the XML file open in your browser. Typing “blog,” “products” or “contact” highlights every URL containing that term. This technique turns a technical file into a quick search tool, without installing anything.

Young woman consulting a website sitemap on a tablet while relaxing in her living room

When the sitemap is not enough to find a section

A sitemap, in any format, does not guarantee access to every page. Google notes that a sitemap helps search engines discover URLs, but some pages may not be included. Several factors can limit its usefulness.

Pages protected by a password or deliberately excluded from indexing do not appear in any sitemap. Dynamically generated content (filter results, internal search pages) is rarely listed. On an online store, the sitemap often lists the main categories without detailing every product page.

Google also recommends that online stores guide visitors to the main categories rather than present an endless list of products. A useful sitemap organizes content rather than listing everything exhaustively.

The WCAG “Multiple Ways” criterion recognizes a sitemap as one way to find a page, alongside the navigation bar and internal search engine. If the sitemap does not help, these two alternatives are available on most well-structured websites.

Finding a section on a website requires neither technical expertise nor specialized tools. The footer, robots.txt file and browser address bar cover the vast majority of situations. The most effective first step is to try /sitemap.xml: in just a few seconds, you can see a site’s structure, even when the navigation menu does not show it.

How to Easily Find a Website’s Sections Using Its Sitemap