Categories


Tags


什么是移动Sitemap协议,如何提交移动Sitemap协议

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

<mobile:mobile/> :移动网页

<mobile:mobile type="mobile"/> :移动网页

<mobile:mobile type="pc,mobile"/>:自适应网页

<mobile:mobile type="htmladapt"/>:代码适配

无该上述标签表示为PC网页

下方样例相当于向百度移动搜索提交了一个移动网页:http://m.example.com/index.html,向PC搜索提交了一个传统网页:http://www.example.com/index.html,同时向移动搜索和PC搜索提交了一个自适配网页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协议做好Sitemap后,在Sitemap工具点击添加新数据提交,与提交普通Sitemap方式一致。

来源:百度搜索资源平台 百度搜索学堂


Public @ 2014-08-22 16:09:43

301重定向怎么进行URL标准化设置?

经常会碰到这样的情况,其他网站链接你的站点时,会用下面的链接:www.example.comexample.com/www.example.com/index.htmlexample.com/index.php而这样导致:你站点主域名的PR值分散到其他几个URL上。如果你用301重定向把其他三个URL转到www.example.comPR也就集中在主域名:www.example.com 了。301

Public @ 2017-10-08 16:11:15

301跳转常见问题汇总

上周有站长朋友在百度站长平台社区提出了一些关于301跳转的问题,我们特别邀请Baiduspider技术专家对此做了解答。在后续与Baiduspider技术专家沟通时,我们又获得了一些信息,今天通过采访的形式将内容传递给更多的站长朋友。问:我设置了301跳转,多久可以生效?答:目前百度无法承诺301跳转的生效时间,因为站长感受到的生效时间会受多因素影响,比如Baiduspider再次抓取这个页面发现

Public @ 2016-10-18 16:09:07

Google网站地图Sitemap与搜索引擎优化

Google网站地图(sitemap)是Google提供给网站管理员的一个工具,来提高网站被收录的网页数目。一般来说,搜索引擎蜘蛛会跟着链接爬行到你网站的所有网页。但很多时候,由于种种原因,并不是所有网页都能被收录进搜索引擎数据库。比如说,你的网站是数据库动态生成的,URL中带有参数,一些网页离主页太远,你的网站PR值太低,新的网页可能过很长时间才有机会被抓取等等。Google Sitemap就允

Public @ 2016-07-17 16:09:49

什么是ETag?ETag作用有哪些

ETag 是一种用于标识网络资源的字符串。ETag 是由服务器为每个资源生成的,并且在资源内容发生变化时会改变。 ETag 主要用于缓存控制和条件请求。以下是 ETag 的一些作用: 1. 缓存验证:当客户端请求资源时,可以在请求头中通过 If-None-Match 字段将上一次请求中得到的 ETag 值发送给服务器。服务器可以根据这个值来判断资源是否发生了变化。如果 ETag 值匹配,服务器

Public @ 2023-07-30 17:50:26

更多您感兴趣的搜索

0.512412s