Functions of website maps
A website map is the most basic for a website. What does it do? It has two main functions:
1. It promotes website recording.
Although there are Website maps that cannot be used to add crawlers to your website, website maps will certainly be helpful to your indexing, it allows the web page to be displayed to search engine spider at a glance.
2. It is helpful for optimizing the structure and hierarchy of the website.
If a website has a deep structural hierarchy, it is very difficult for search engines to crawl. If a spider wants to crawl the deep structure of your website, the website map is necessary, how to create a website map is the topic we will discuss now.
Website map representation
1. HTML website map
There are two types of website maps: HTML website maps. sitemp --- s must be in lower case in English, lists all major page links on the website. Note that the website map must be clear, whether it is a small station or a large station. For a small site, you can list all the pages on the entire page. For a large site, you can list the most important links, but the website structure must be clear. If you have no idea how to create a website map, you can create a website map that looks good to others. In the future, SEO Xiaoding in Chongqing will detail how to create a website map, as shown in the figure below, which is Baidu's website map.
Baidu website map
2. XML-form website map
Another form of website map is the XML form of website map. In English, Sitemp --- s must be capitalized. Website maps in this format are generally automatically generated on the internet. You only need to enter the website you want to generate. A website map in xml format is composed of XML tags. A website map actually lists the URLs of pages to be indexed, as shown in the following figure.
Website map in XML format
The urlset tag is required. The url tag is required for the version used by the declaration file. The loc tag is used to list the complete URL of your page, and lastmod is an optional tag, indicates the last update time of the page. changefreq is also an optional tag, indicating the file update frequency, and priority indicates the version number.
Website maps in xml form notify the search engine of the pages to be indexed, but the search engine may not be able to include them. This search engine also needs to consider whether the pages meet the indexing standards.
Summary: Although a website map cannot allow a search engine to include your website, it definitely promotes the indexing of your website. Therefore, it is the most basic foundation for our website to have a website map.