神马一区二区影院_日本全棵写真视频在线观看_97碰碰视频_天海翼在线观看视频

百度站長工具移動Sitemap協議的寫法

百度站長工具中提供了四種鏈接提交途徑,其中一種是Sitemap,將網址提交給移動搜索收錄。

Sitemap提交是通過Site生成器生成Sitemap文件,將Sitemap文件上傳到網站根目錄下,使用百度站長工具上傳網站地圖。

?

百度站長工具移動Sitemap協議的寫法

移動Sitemap協議在標準Sitemap協議上增加了<mobile:mobile/>標簽,分別為:

1、<mobile:mobile/>?:移動網頁

傳統PC站的sitemap寫法之前的文章中有介紹過,這里就不再細說了。(創建文本形式的Sitemap)


2、<mobile:mobile type="mobile"/>?:移動網頁? ?

提交移動網頁的sitemap協議寫法:

<?xml version="1.0"encoding="UTF-8" ?>?
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:mobile="http://www.baidu.com/schemas/sitemap-mobile/1/">?
<url>?
<loc>http://m.abc.com/index.html</loc>?
<mobile:mobiletype="mobile"/>
<lastmod>2009-12-14</lastmod>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>?

</urlset>?


3、<mobile:mobile type="pc,mobile"/>:自適應網頁

提交自適應網頁的sitemap協議寫法:

<?xml version="1.0"encoding="UTF-8" ?>?
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:mobile="http://www.baidu.com/schemas/sitemap-mobile/1/">?
<url>?
<loc>http://www.abc.com/autoadapt.html</loc>?
<mobile:mobiletype="pc,mobile"/>
<lastmod>2009-12-14</lastmod>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>?

</urlset>?


4、<mobile:mobile type="htmladapt"/>:代碼適配

提交代碼適配網頁的sitemap協議寫法:

<?xml version="1.0"encoding="UTF-8" ?>?
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:mobile="http://www.baidu.com/schemas/sitemap-mobile/1/">?
<url>?
<loc>http://www.abc.com/htmladapt.html</loc>?
<mobile:mobiletype="htmladapt"/>
<lastmod>2009-12-14</lastmod>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>?

</urlset>??????????

?

Sitemap的作用:

1、提交Sitemap給搜索引擎做為一個引導作用,方便搜索引擎索引網站。

2、搜索引擎通過Sitemap更清晰了解網站內部鏈接層次和結構,提高網站內容收錄。?

3、通過Sitemap提供網站的其他信息,比如上次更新日期、Sitemap文件的更新頻率等,給百度蜘蛛作為參考。


閱讀本文的人還可以閱讀:

XML Sitemap 相關問題

什么是HTML版本網站地圖?網站地圖有什么作用

本文由夫唯團隊編輯,如發現錯誤,歡迎通過客服微信反饋。

夫唯于2024年12月停止百度SEO研究和培訓。道別信: 夫唯:再見了百度SEO!

2025年1月正式啟動Google SEO培訓課程,一千零一夜帶領大家一起出海。

感興趣的同學,請添加招生客服小沫微信:seowhy2021。 微信掃碼添加客服人員

我們的目標:讓大家獨立站出海不再“望洋興嘆”。

Processed in 0.623484 Second , 249 querys.