Discuz! Board

 找回密碼
 立即註冊
搜索
熱搜: 活動 交友 discuz
查看: 7|回復: 0

How to write an HTML sitemap

[複製鏈接]

1

主題

1

帖子

5

積分

新手上路

Rank: 1

積分
5
發表於 2024-3-5 13:38:30 | 顯示全部樓層 |閱讀模式
However, it is not enough to simply list URLs; there are rules for how to write them. (By the way, if it is a text file rather than an XML file, you can also do it with a simple list of URLs.) How to write First, let's look at an example of a basic description.  Specify the namespace as If this is not set correctly, an error will be displayed when submitting the sitemap to Google Search Console. Also, be careful not to forget to close the tag. The character code and namespace are standard descriptions, so there is no need to change them for each site. <url> This is a parent tag that brings together various tags including URLs. Write the information you want the crawler to read.


Enter the URL of the target page here. The specified URL should not be a relative path Oman Phone Number Data but an absolute path starting with http or https. Also, please specify the Japanese URL encoded in UTF-8. Optional tag The following tags are optional, so write them as you like. Optional tag Indicates the date the page was last updated. The example description includes the date, but you can also include the update time as shown below. However, since the update time can be omitted, there is basically no problem with just the year, month, and day. This is a description that tells how often the target page is updated. The values ​​that can be specified are as follows.




updated every time you access it hourly Updated every hour daily Updated every day weekly・Updated every week monthly・Updated every month yearly・Updated every year never... not updated This tag allows you to specify crawl priority. Priority is determined by entering a number from 0.0 to 1.0, but since it is a relative evaluation, if all important pages are set to 1.0, all URLs will have the same priority. Be sure to set different numbers for high-priority pages and low-priority pages. Search engines use these descriptions as reference when crawling. However, as it is treated as a reference value only, it is not a description used for the purpose of increasing crawl frequency. For example, even if a page is written as "never", the page content may change, so search engines will crawl it regularly. If you have a page that you do not want to be crawled, use robots.txt separately to control crawling.


回復

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則

Archiver|手機版|自動贊助|GameHost抗攻擊論壇

GMT+8, 2024-11-21 23:50 , Processed in 0.034917 second(s), 19 queries .

抗攻擊 by GameHost X3.4

© 2001-2017 Comsenz Inc.

快速回復 返回頂部 返回列表
一粒米 | 中興米 | 論壇美工 | 設計 抗ddos | 天堂私服 | ddos | ddos | 防ddos | 防禦ddos | 防ddos主機 | 天堂美工 | 設計 防ddos主機 | 抗ddos主機 | 抗ddos | 抗ddos主機 | 抗攻擊論壇 | 天堂自動贊助 | 免費論壇 | 天堂私服 | 天堂123 | 台南清潔 | 天堂 | 天堂私服 | 免費論壇申請 | 抗ddos | 虛擬主機 | 實體主機 | vps | 網域註冊 | 抗攻擊遊戲主機 | ddos |