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

网站URL显示品牌名字怎么弄

有多种方法可以在网站URL中显示品牌名称: 1. 在域名中包含品牌名称。例如,使用www.brandname.com或brandname.com作为域名。 2. 在URL路径中使用品牌名称。例如,www.yourwebsite.com/brandname/page.html。 3. 在查询字符串中使用品牌名称。例如,www.yourwebsite.com/page.html?brandnam

Public @ 2023-03-26 16:50:15

ETag助力站点提交Sitemap——ETag简介与作用

一、ETag简介ETag(EntityTags)是URL的tag,用来标示URL对象是否改变,这样可利用客户端(例如浏览器)的缓存。由服务器首先产生ETag,客户端通过将该记号传回服务器要求服务器验证其(客户端)缓存。服务器使用它来判断页面是否已经被修改,如果未修改返回304,而不必重新传输整个对象。二、现在站点Sitemap存在的问题1.发现更新不及时当站点或其Sitemap发生更新时,百度难以

Public @ 2021-07-08 16:09:45

百度搜索资源平台-sitemap全网开放及建议启用Etag的公告

亲爱的网站管理员:百度站长平台即将正式全网开放sitemap权限,所有通过百度站长平台验证的网站均可以在百度站长工具的链接提交里添加网站的sitemap,而从近期sitemap全网开放会进入内测阶段,站长平台会挑选没有sitemap提交权限的站点参加内测,内测的报名入口《申请sitemap全网开放内测名额》。另外,本次sitemap全网开放,将取消由站长来设置sitemap文件更新周期的功能,而是

Public @ 2013-01-24 16:09:46

更多您感兴趣的搜索

0.432881s