分类目录网-汇聚各行业优秀网站大全! VIP快审 免费注册 会员登录
首页 新闻资讯 SEO优化

移动站优化指南:移动网站如何快速向百度提交数据(3)

时间:2016-05-31 20:51 来源:未知 作者:ADMIN 人气:
【导读】:三、移动 Sitemap 百度推出了移动 Sitemap 协议,用于将网址提交给移动搜索收录。百度移动 Sitemap 协议是在标准 Sitemap 协议基础上制定的,增加了 mobile:mobile/ 标签,它有四种取值: mobile:mobile/ :移动网...

三、移动Sitemap

百度推出了移动Sitemap协议,用于将网址提交给移动搜索收录。百度移动Sitemap协议是在标准Sitemap协议基础上制定的,增加了<mobile:mobile/>标签,它有四种取值:
<mobile:mobile/> :移动网页
<mobile:mobile type="mobile"/> :移动网页     
<mobile:mobile type="pc,mobile"/>
:自适应网页
<mobile:mobile type="htmladapt"/>:代码适配

百度移动Sitemap协议的写法

这里关于传统PC站的sitemap写法就不说了。

1、向百度提交移动网页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>

2、向百度提交自适应网页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>

3、向百度提交代码适配网页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协议做好Sitemap后,在Sitemap工具点击添加新数据提交,与提交普通Sitemap方式一致。

Sitemap提交后,多久能被百度处理?

Sitemap数据提交后,一般在1小时内百度会开始处理。在以后的调度抓取中,如果您的sitemap支持etag,我们会更频繁抓取sitemap文件,从而及时发现内容更新;否则抓取的周期会比较长。

相关推荐

版权声明:

1、本文系会员投稿或转载自网络,版权归原作者所有,旨在传递信息,不代表看本站的观点和立场;

2、本站仅提供信息发布平台,不承担相关法律责任;

3、若侵犯您的版权或隐私,请联系本站管理员删除。

分类目录 WWW.FLML.CN 皖ICP备19001157号-5