What is XML Sitemap
What is XML Sitemap
A site map is a structrue of a website’s content.
Sitemap helps search engines about the new page or pages or about the updates in the
content in the website’s page and is available for crawling by the search engine.It also helps the
users and search engines to navigate the site.
The sitemap consists of an XML file
that consists of your website URLs and along with other optional information for each page.
Sitemaps helps search engines to index new and difficult to find pages quickly .it is very useful for websites that are difficult for search engines to crawl and index effectively and quickly
The XML sitemap allows you to specify additional information about each URL :
When it was last updated
How often the URLs of the site changes
How important the page is in relation to other pages on the site
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url> <loc>http://www.example.com/</loc> <lastmod>2005-01-01</lastmod> <changefreq>monthly</changefreq> <priority>0.8</priority> </url> </urlset>
||required||Encapsulates the file and references the current protocol standard.|
||required||Parent tag for each URL entry. The remaining tags are children of this tag.|
||required||URL of the page. This URL must begin with the protocol (such as http) and end with a trailing slash, if your web server requires it. This value must be less than 2,048 characters.|
||optional||The date of last modification of the file. This date should be in W3C Datetimeformat. This format allows you to omit the time portion, if desired, and use YYYY-MM-DD.Note that this tag is separate from the If-Modified-Since (304) header the server can return, and search engines may use the information from both sources differently.|
||optional||How frequently the page is likely to change. This value provides general information to search engines and may not correlate exactly to how often they crawl the page. Valid values are: