制作网站地图提升网站收录解析

19-10-16    1041次

制作网站地图提升网站收录


提升网站收录方法之一:sitemap
Sitemap 可方便网站管理员通知搜索引擎他们网站上有哪些可供抓取的网页。最简单的 Sitemap 形式,就是XML 文件,在其中列出网站中的网址以及关于每个网址的其他元数据(上次更新的时间、更改的频率以及相对于网站上其他网址的重要程度为何等),以便搜索引擎可以更加智能地抓取网站。

 

1-1P525225232310.jpg                          

sitemap生成格式:<?xml version="1.0" encoding="UTF-8"?>
<urlset>
<url>
<loc>网页地址</loc>
<lastmod>2015-01-01</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>
</url>
</urlset>


XML格式Sitemap说明
XML格式举例
<?xml version="1.0" encoding="utf-8"?>
<!-- XML文件需以utf-8编码-->
<urlset>
<!--必填-->
<url>
<!--必填,定义某一个链接的入口,每一条数据必须要用<url>和</url>来标示 -->
<loc>http://www.xxxxxx.html/000000.html</loc>
<!--必填,URL长度限制在256字节内-->
<lastmod>2012-12-01</lastmod>
<!--更新时间标签,非必填,用来表示最后更新时间-->
<changefreq>daily</changefreq>
<!--更新频率标签,非必填,用来告知引擎页面的更新频率 -->
<priority>0.8</priority>
<!--优先权标签,优先权值0.0-1.0,用来告知引擎该条url的优先级-->
</url>
<url>
<loc>http://www.xxxxxx.html/000001.html</loc>
<lastmod>2012-12-01</lastmod>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>
</urlset>


使用Sitemap索引文件(对多个Sitemap文件)说明
索引Sitemap举例
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex>
<sitemap>
<loc>http://www.example.com/1.xml</loc>
<lastmod>2012-12-01</lastmod>
</sitemap>
<sitemap>
<loc>http://www.example.com/2.xml</loc>
<lastmod>2012-12-01</lastmod>
</sitemap>
</sitemapindex>

 




以上【 制作网站地图提升网站收录解析 】的内容由达设互动(http://www.szdashe.com)为您提供,本文网址 : http://www.szdashe.com/wangzhanjianshezhishi/59.html ,转载请注明出处!更多有关深圳网站建设,微信小程序、电商平台建设、系统开发等互联网应用服务都可以联系我们。热线:130 7784 6582

扫描二维码微信聊天

在线咨询
联系电话

130 7784 6582