A website optimization link that webmasters cannot ignore when the new website is launched-website map. Sitemap allows the Administrator to notify the search engine of webpages available for crawling on their websites. The simplest form of Sitepmap is the XML file, list the websites in the website and other metadata about each website (the last update time, the frequency of changes, and the importance to other websites ), so that the search engine can capture websites more intelligently. The following uses Google search engine as an example. A website optimization link that webmasters cannot ignore when a new Goo station is launched-website map.
Sitemap allows the Administrator to notify the search engine of webpages available for crawling on their websites. The simplest form of Sitepmap is the XML file, list the websites in the website and other metadata about each website (the last update time, the frequency of changes, and the importance to other websites ), so that the search engine can capture websites more intelligently.
The following uses Google search engine as an example.
Google Sitemap Protocol
Google SiteMap protocolis a site map agreement promoted by google. This document is based on the robots.txt file protocol and has been upgraded. In the official Google guide, it is pointed out that websites with Google SiteMap files will be more conducive to crawling indexing of google Web crawlers, which will improve the efficiency and accuracy of indexing website content. The file Protocol applies a simple XML format and uses a total of six tags. The key tags include the link address, Update Time, update frequency, and index priority.
Let's take a look at Google Sitemap's XML format and what its six labels look like.
The following figure shows how to use the webmaster website generation tool to obtain sitemap. xml on the home page of my website.
-
-
Http://www.w3note.com
2012-09-14
Daily
0.6
Significance of xml label nodes:
Yu no. >>>
Minor signs <
The tag is used to specify the last update time of the link, which is very important. Google's robot will first compare the last update time of the last index record before indexing this link. If the time is the same, it will skip the next index. Therefore, if the content of your link changes based on the content of the last Google index, you should update the time so that Google will re-analyze the link content and extract keywords at the next index.
Year (YYYY (2005)
Year and month: YYYY-MM (2005-06)
YYYY-MM-DD)
YYYY-MM-DDThh: mmTZD (2005-06-04T10: 37 + 08: 00)
YYYY-MM-DDThh: mmTZD (2005-06-04T10: 37: 30 + 08: 00)
Here, it should be noted that TZD is specified as the local time zone mark, and China is +
Tags tell Google how often this link may be updated. For example, you must use always on the homepage ), yearly (year) can be used for links that were a long time ago or that are no longer updated ). Here we can describe these words: "always", "hourly", "daily", "weekly", "monthly", "yearly", "never ".
Is used to specify the Priority Ratio of this link to other links, this value is set between 0.0-1.0, the default priority of a Web page is 0.5.