Henk Jansen
Henk Jansen

Reputation: 1142

What is sitemap.xml

Hello fellow programmers,

I am building a website and i read about sitemap.xml, but there is no place where i can find a definition or what it contains.

Can someone help me, what does it do? what is it for? what is in it?

Upvotes: 3

Views: 212

Answers (3)

James Johnson
James Johnson

Reputation: 46067

It's an XML file that contains all of the URLs in your application, along with some other information that is used to make your site easier to crawl for search engines.

Upvotes: 0

m.edmondson
m.edmondson

Reputation: 30922

It provides information for search engines about the structure of your site. Wikipedia article.

Upvotes: 0

zzzzBov
zzzzBov

Reputation: 179176

http://www.sitemaps.org/ is the official resource.

The protocol page is probably the most important part of the entire site. It describes how to properly format your sitemap.xml file so that search engines can properly crawl your website.

from sitemaps.org

Sitemaps are an easy way for webmasters to inform search engines about pages on their sites that are available for crawling. In its simplest form, a Sitemap is an XML file that lists URLs for a site along with additional metadata about each URL (when it was last updated, how often it usually changes, and how important it is, relative to other URLs in the site) so that search engines can more intelligently crawl the site.

Upvotes: 2

Related Questions