Sitemap (nonfiction)

From Gnomon Chronicles
Jump to navigation Jump to search

A sitemap or site map is a list of pages of a web site within a domain.

There are three primary kinds of sitemap:

  • Sitemaps used during the planning of a website by its designers.
  • Human-visible listings, typically hierarchical, of the pages on a site.
  • Structured listings intended for web crawlers such as search engines.

robots.txt

Specifying the Sitemap location in your robots.txt file

You can specify the location of the Sitemap using a robots.txt file. To do this, simply add the following line including the full URL to the sitemap:

Sitemap: http://www.example.com/sitemap.xml

This directive is independent of the user-agent line, so it doesn't matter where you place it in your file. If you have a Sitemap index file, you can include the location of just that file. You don't need to list each individual Sitemap listed in the index file.

You can specify more than one Sitemap file per robots.txt file.

Sitemap: http://www.example.com/sitemap-host1.xml

Sitemap: http://www.example.com/sitemap-host2.xml

In the News

Fiction cross-reference

Nonfiction cross-reference

External links

Social media