Sitemap (nonfiction): Difference between revisions
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
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. | |||
https:// | == 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 == | |||
<gallery> | |||
</gallery> | |||
== Fiction cross-reference == | |||
* [[Gnomon algorithm]] | |||
* [[Gnomon Chronicles]] | |||
== Nonfiction cross-reference == | |||
* [[Gnomon Chronicles (nonfiction)]] | |||
== External links == | |||
* [https://en.wikipedia.org/wiki/Site_map Site map] @ Wikipedia | |||
* [https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap Build a sitemap] @ Google | |||
=== Social media === | |||
[[Category:Nonfiction (nonfiction)]] | |||
[[Category:Sitemap (nonfiction)]] | |||
[[Category:Web design (nonfiction)]] |
Latest revision as of 07:38, 3 May 2023
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
- Site map @ Wikipedia
- Build a sitemap @ Google