怎么在robots.txt 文件中添加代码告诉搜索引擎Sitemap的位置

Sitemap:< 这种格式对吗? 不对的话应该怎么写?

User-agent:*
Disallow:
Sitemap: 您的网站/sitemap.xml
意思应该不用我说了吧,,你的网站加上后缀/sitemap.xml 就可以了
温馨提示:内容为网友见解,仅供参考
第1个回答  2013-03-28
5楼的比较全面,蜘蛛爬行 网站,第一个就是robots 查看原帖>>
第2个回答  2018-07-10
User-agent: * 
Disallow: /404.html
Sitemap: http://www.rbluntan.cn/sitemap.txt

相似回答