October 23, 2021

Sitemap (English: Sitemap) describes the structure of a website. It can be a document of any form, used as a design tool for web page design, or a web page that lists all the pages in the website, usually in a hierarchical form. This helps visitors and search engine crawlers find pages in the website. Some developers think that website indexing is a more suitable way to organize web pages, but website indexing is usually AZ index, which only provides access to specific content, and a site map provides a general top-down view of the entire site. .

Benefits of Site Map

Sitemaps are good for improving the user experience: they point the way for website visitors and help lost visitors find the page they want to see. For SEO, the benefits of sitemaps are even more: Provide search engine crawlers with links to browse the entire website; Provide some links for search engine crawlers to point to dynamic pages or pages that are difficult to reach by other methods; If a visitor tries to access a URL that does not exist in the domain where the website is located, the visitor will be redirected to a "file cannot be found" error page, and the site map can be used as the "quasi" content of the page. Sitemaps enhance search engine optimization by making all pages available. This is especially important for sites that use Adobe Flash or JavaScript menus without HTML links. Most search engines only track a limited number of links within a page, so when a website is very large, a site map becomes essential for search engines and visitors to access all the content on the website.

XML sitemap sitemaps

Sitemaps is a protocol for site administrators to publish the crawlable pages of the site to search engine crawlers. The content of the sitemap file must follow the definition of the XML format. Each URL can include the update cycle and time, and the priority of the URL in the entire site. This allows search engines to crawl the content of the website better and more effectively. Google introduced the Google Sitemap so that web developers can publish a list of links to the entire site. The basic assumption is that some sites have a large number of dynamic pages, and these pages can only be accessed through forms and user logins. Sitemap files can be used to guide web spiders how to find such pages. Google, MSN, Yahoo and Ask all support the site map protocol. Because MSN, Yahoo, Ask, and Google use the same protocol, having a site map keeps the page information of the four largest search engines up to date. The site map does not guarantee that all links can be crawled, and they may not be indexed if they are crawled. However, a site map is still the safest way for a search engine to obtain information about your entire site. Joint statement that Google, Yahoo, and MSN support sitemaps The XML sitemap replaces the old way of filling in the "submit to search engine" form on the search engine submission page. Now web developers do not need to submit a sitemap directly, but wait for search engines to find it.

Google sitemap size limit

In order to optimize the reading efficiency of sitemaps, major search engines limit the size of a single sitemap file. Take Google as an example: each sitemap file contains no more than 50,000 URLs, and the file size before compression cannot exceed 50 MB. In order to improve the reading efficiency, general search engines will suggest dividing the site map file into multiple smaller files. This not only speeds up the reading speed, but also allows the search engine to only read the latest site map file each time. The website reduces the waste of bandwidth.


External links

Description of XML format Description of XML format Common Official Website-Google, Yahoo, and MSN are websites jointly maintained by the XML sitemap format. Tips about Sitemaps Use the open source sitemap generator (XML, text or) to create a sitemap by clicking the mouse. JSiteMap is a Java open source site map generator. sitemap sitemap syntax guide

INSERT INTO `wiki_article`(`id`, `article_id`, `title`, `article`, `img_url`) VALUES ('NULL()','網站地圖','Sitemap','','')