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

什么是移動Sitemap協(xié)議,如何提交移動Sitemap協(xié)議

3026次閱讀

百度推出了移動Sitemap協(xié)議,用于將網(wǎng)址提交給移動搜索收錄。百度移動Sitemap協(xié)議是在標(biāo)準(zhǔn)Sitemap協(xié)議基礎(chǔ)上制定的,增加了<mobile:mobile/>標(biāo)簽,它有四種取值:

<mobile:mobile/> :移動網(wǎng)頁
<mobile:mobile type="mobile"/> :移動網(wǎng)頁      
<mobile:mobile type="pc,mobile"/>:自適應(yīng)網(wǎng)頁
<mobile:mobile type="htmladapt"/>:代碼適配

無該上述標(biāo)簽表示為PC網(wǎng)頁

下方樣例相當(dāng)于向百度移動搜索提交了一個移動網(wǎng)頁:http://m.example.com/index.html,向PC搜索提交了一個傳統(tǒng)網(wǎng)頁:http://www.example.com/index.html,同時向移動搜索和PC搜索提交了一個自適配網(wǎng)頁http://www.example.com/autoadapt.html:
<?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.example.com/index.html</loc> 
<mobile:mobile type="mobile"/>
<lastmod>2009-12-14</lastmod>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url> 
<url> 
<loc>http://www.example.com/index.html</loc>
<lastmod>2009-12-14</lastmod>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url> 
<url> 
<loc>http://www.example.com/autoadapt.html</loc> 
<mobile:mobile type="pc,mobile"/>
<lastmod>2009-12-14</lastmod>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url> 
<url> 
<loc>http://www.example.com/htmladapt.html</loc> 
<mobile:mobile type="htmladapt"/>
<lastmod>2009-12-14</lastmod>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url> 
</urlset>

按照移動Sitemap協(xié)議做好Sitemap后,在Sitemap工具點擊添加新數(shù)據(jù)提交,與提交普通Sitemap方式一致。


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

Sitemap-網(wǎng)站地圖

XML Sitemap 相關(guān)問題

向百度提交網(wǎng)站地圖Sitemap

本文由夫唯團隊編輯,如發(fā)現(xiàn)錯誤,歡迎通過客服微信反饋。

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

2025年1月正式啟動Google SEO培訓(xùn)課程,一千零一夜帶領(lǐng)大家一起出海。

感興趣的同學(xué),請?zhí)砑诱猩头∧⑿牛簊eowhy2021。 微信掃碼添加客服人員

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

Processed in 0.880715 Second , 379 querys.