sitemap

From IndieWeb


A sitemap is a structured list of pages on a website that helps people and software discover content. Sitemaps can be human-readable HTML pages designed for visitors, machine-readable XML files intended for search engines, or both.

Why

Navigability

It can be easier to find the content you're looking for on a sitemap, since they are typically text-heavy pages and do not require navigating through a site which may be loading lots of Javascript or image content.

Types of Sitemaps

Websites commonly provide both human-readable HTML sitemaps for visitors and XML sitemaps for search engines and other automated tools.

Relationship to Robots.txt

XML sitemaps are commonly referenced from a site's robots txt file so that search engines can discover them more easily.

IndieWeb Examples

Zachary Kai

https://zacharykai.net/sitemap.xml (XML)

Anthony Ciccarello

 Anthony Ciccarello has a human readable sitemap since 2024-10-25.

Zinzy Waleson Geene

Zinzy Waleson has a human-readable sitemap on https://zinzy.website/sitemap (HTML)

Thamara Kandabada

Thamara Kandabada has a sitemap on https://thamara.co.uk/sitemap-0.xml (XML)

Peter's Path

Peter's Path has a sitemap at https://peterspath.net/sitemap.xml (XML).

Joe Crawford

Trevor Morris

trovster has a /sitemap slash page at www.trovster.com/sitemap. He also includes a XML sitemaps for search engines. Both of these are maintained from a global navigation configuration, so they are kept in sync.

Add yourself!

Add yourself here… (see this for more details)

Past Examples

Bret Comnes

Bret Comnes, archived example (XML)

Organization Examples

Examples of corporate or other organization sites with sitemaps.

Subsites

Some sites have subsites, e.g. at subdomains, which have their own sitemaps.

Facebook

Past Examples

Brainstorming

sitemap microformat

See http://microformats.org/wiki/sitemap for the effort to develop a sitemap microformat to markup visible sitemap pages for semantic crawling and indexing, eliminating any need for a separate XML sitemap sidefile.

sitemap graphic

The [Internet Archive] has a sitemap graphic which shows the pages of a site by path segment.

Example: ciccarello.me sitemap

Diagram of a website showing cocentric circles broken up by path with the innermost circle being the domain. The path for a recipe is highlighted showing how each segment of the url, like the category and date, divide the circle.
Graphic of ciccarello.me

XML sitemap

There is also an XML sitemap file format:

However, this XML sitemap file is a sidefile that is subject to the same risks as feed files. Because it exists separately from the primary website content, it can become outdated, incomplete, or inconsistent if it is not generated automatically from the same source as the rest of the site. If it is maintained separately from the website, it may omit pages, include stale URLs, or otherwise become inconsistent with the site's actual content.

XML sitemap resources

Specifications, documentation and tools for creating and using XML sitemaps.

Why XML sitemap

XML sitemap indexing

Google Webmaster Tools suggests[4] creating an XML file in the sitemaps.org format and submitting it with the claim that their crawler can "more intelligently crawl your site"[5]. Despite that, they also say that using a sitemap "doesn't guarantee you that all the web pages listed in your sitemap can be crawled or indexed".

XML sitemap unnecessary

Main article: sidefile-antipattern

On 2014-12-18, Aaron Parecki discovered that his sitemap.xml file had been empty, with no idea of how long it had been empty. Despite that, his content continues to be indexed by Google.

For many websites, especially smaller sites with strong internal linking, XML sitemaps provide relatively little benefit. While they can help search engines discover content more efficiently, they are not a substitute for a well-structured website.

See Also