seo之sitemap:网站sitemap的规范制作

1 篇文章 0 订阅
1 篇文章 0 订阅

网站地图分为三种文件格式:xml格式、html格式以及txt格式。

 Google、Yahoo! 和 Microsoft 在内的众多厂商的支持。网址:https://www.sitemaps.org/zh_CN/faq.html。

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"     
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"     
 xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9            
 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
 <url> 
     <loc>http://www.xiaowangyun.com/</loc>  
     <changefreq>daily</changefreq>
 </url>
</urlset>

 

网站地图制作提交步骤:1、生成网站地图:

网页版:http://www.xml-sitemaps.com/

2、下载生成的地图文件sitemap.xml并上传至网站根目录

3、到站长平台提交网站地图。

生成网站地图:http://www.xml-sitemaps.com/

 

各搜索引擎推荐网站地图格式:

Google:建议使用xml格式的网站地图

地图提交地址:https://www.google.com/webmasters/tools/dashboard?hl=zh-CN

Yahoo: 建议使用Txt格式的网站地图

Yahoo地图提交地址 :http://sitemap.cn.yahoo.com/?require_login=1

Baidu:建议使用robots.txt提交html格式的网站地图

http://www.baidu.com/search/url_submit.html

在robots.txt爬虫协议中定义(Allow: /sitemap.hxml)robots.txt文档是表式允许蜘蛛网访问网站地图。爬虫协议写法参见:网站优化之robots.txt爬虫协议的写法。

 

搬运自:http://www.xiaowangyun.com/wyblog/detail/?id=107

 

自动生成sitemap:http://www.xml-sitemaps.com/,ps:自动生成有点慢

一个自动生成的sitemap示例展示:

url改一下信息就可以用

但是不建议用xml,作为一个sitemap太麻烦了,直接txt比较搞笑简单,一行一个url入口

https://www.xml-sitemaps.com/
https://www.xml-sitemaps.com/standalone-google-sitemap-generator.html
https://www.xml-sitemaps.com/about-sitemaps.html
https://www.xml-sitemaps.com/news.html
https://www.xml-sitemaps.com/seo-tools.html
https://www.xml-sitemaps.com/testimonials.html
https://www.xml-sitemaps.com/html-sitemap.html
https://www.xml-sitemaps.com/images-sitemap.html
https://www.xml-sitemaps.com/video-sitemap.html
https://www.xml-sitemaps.com/news-sitemap.html
https://www.xml-sitemaps.com/rss-feed.html
https://www.xml-sitemaps.com/broken-links.html
https://www.xml-sitemaps.com/news-20191001.html
https://www.xml-sitemaps.com/news-20180517.html
https://www.xml-sitemaps.com/news-20180118.html
https://www.xml-sitemaps.com/validate-xml-sitemap.html
https://www.xml-sitemaps.com/se-bot-simulator.html
https://www.xml-sitemaps.com/http-headers-viewer.html
https://www.xml-sitemaps.com/privacy-policy.html
https://www.xml-sitemaps.com/contact.html
https://www.xml-sitemaps.com/aff/
https://www.xml-sitemaps.com/sitemap.xml
https://www.xml-sitemaps.com/sitemap.html
https://www.xml-sitemaps.com/sitemap_images.xml
https://www.xml-sitemaps.com/sitemap_video.xml
https://www.xml-sitemaps.com/sitemap_news.xml
https://www.xml-sitemaps.com/text-sitemap.html
https://www.xml-sitemaps.com/mobile-sitemap.html
https://www.xml-sitemaps.com/generator-trial.html
https://www.xml-sitemaps.com/documentation-xml-sitemap-generator.html
https://www.xml-sitemaps.com/howto-install.html
https://www.xml-sitemaps.com/version-history.html
https://www.xml-sitemaps.com/license.html
https://www.xml-sitemaps.com/refund-policy.html
https://www.xml-sitemaps.com/generator-addons.html

把这个提交上去就可以了

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值