Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Site map

Page semi-protected
From Wikipedia, the free encyclopedia
List of pages of a web site

Asite map orsitemap is a list ofpages of aweb site within adomain.

There are three primary kinds of sitemap:

  • Sitemaps used during the planning of a website by itsdesigners
  • Human-visible listings, typically hierarchical, of the pages on a site
  • Structured listings intended forweb crawlers such assearch engines

Types of sitemaps

A sitemap of what links from theEnglish Wikipedia's Main Page
Sitemap of Google in 2006

Sitemaps may be addressed to users or to software.

Many sites have user-visible sitemaps which present a systematic view, typically hierarchical, of the site. These are intended to help visitors find specific pages, and can also be used by crawlers. They also act as a navigation aid[1] by providing an overview of a site's content at a single glance.Alphabetically organized sitemaps, sometimes called site indexes, are a different approach.

For use by search engines and other crawlers, there is a structured format, theXML Sitemap, which lists the pages in a site, their relative importance, and how often they are updated.[2] This is pointed to from therobots.txt file and is typically calledsitemap.xml. The structured format is particularly important for websites which include pages that are not accessible throughlinks from other pages, but only through the site's search tools or by dynamic construction ofURLs inJavaScript.

XML sitemaps

Main article:Sitemaps

Google introduced theSitemap protocol, so web developers can publish lists of links from across their sites. The basic premise is that some sites have a large number of dynamic pages that are only available through the use of forms and user entries. The Sitemap files contain URLs to these pages so thatweb crawlers can find them.Bing, Google,Yahoo andAsk now jointly support the Sitemaps protocol.

Since the majorsearch engines use the same protocol,[3] having a Sitemap lets them have the updated page information. Sitemaps do not guarantee all links will be crawled, and being crawled does not guarantee indexing.[4] Google Webmaster Tools allow a website owner to upload a sitemap that Google will crawl, or they can accomplish the same thing with the robots.txt file.[5]

Sample

Below is an example of a validated XML sitemap for a simple three-page website. Sitemaps are a useful tool for making sites searchable, particularly those written in non-HTML languages.

<?xml version="1.0" encoding="UTF-8"?><urlsetxmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><url><loc>http://www.example.net/?id=who</loc><lastmod>2009-09-22</lastmod></url><url><loc>http://www.example.net/?id=what</loc><lastmod>2009-09-22</lastmod></url><url><loc>http://www.example.net/?id=how</loc><lastmod>2009-09-22</lastmod></url></urlset>

Notes:

  • As with all XML files, all tag values must be entity escaped.
  • Google ignores the<priority> and<changefreq> values.[6]
  • Google may use the<lastmod> value if it is consistently and verifiably accurate (for example, matching the actual last modification date of the page).[6]

See also

References

  1. ^Sitemap Usability Jakob Nielsen's Alertbox, August 12, 2008
  2. ^Nadik, Tessa (2023-02-09)."What Is A Sitemap? Do I Need One?".Search Engine Journal. Retrieved2023-09-16.
  3. ^"Google, Yahoo!, Microsoft Standardize Against Google Sitemap Protocol".Oreilly. Retrieved2012-07-24.
  4. ^Joint announcement from Google, Yahoo, and Bing supporting Sitemaps
  5. ^"Submitting Sitemaps". Google Inc. Retrieved2012-07-06.
  6. ^ab"Build and submit a sitemap".Google Search Central. Google. Retrieved31 October 2025.

External links

Portal:
Retrieved from "https://en.wikipedia.org/w/index.php?title=Site_map&oldid=1319777447"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp