关键词排名搜索引擎优化

树立企业形象,传播公司口碑,让网站天生具备营销能力

免费咨询

百度站长工具移动Sitemap协议的写法

日期:2020-11-22 09:00:00   浏览数:563
百度站长工具移动Sitemap协议的写法

百度站长工具中出示了四种链接提交方式,在其中一种是Sitemap,将网址提交给搜狗引擎百度收录。

Sitemap递交是根据Site制作器形成Sitemap文件,将Sitemap文件上传入网址根目录下,应用百度站长工具提交sitmap。

 

百度站长工具挪动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版本号sitmap?sitmap有什么作用

标签内容: 站长工具 协议 百度 写法 链接提交 根目录下
栩云营销微信公众号
关注微信公众号获取更多咨讯

我们在微信上期待24小时为您服务

栩栩如生科技是一家集高端、专业、务实的,技术研发与网络营销服务为一体综合营销服务商,擅长网站建设,网站整站优化,SEO优化,网站推广及新老网站关键词排名优化,为客户提供综合型数字化创新服务,帮助传统企业实现“互联网+”转型升级
相关推荐
微信公众号

微信公众号