如何用robots禁止搜索引擎收录某个网址?

[复制链接]
查看11 | 回复4 | 2011-9-6 02:51:56 | 显示全部楼层 |阅读模式
我想让robots禁止搜索引擎收录某个网址,请问语法怎么写啊?
回复

使用道具 举报

千问 | 2011-9-6 02:51:56 | 显示全部楼层
如何写?User-agent:BaiduspiderDisallow:/User-agent:baiduspiderDisallow:/User-Agent:*Disallow:/bin/Disallow:/abc.aspx
回复

使用道具 举报

千问 | 2011-9-6 02:51:56 | 显示全部楼层
Disallow:后面直接写上要禁止搜索引擎收录某个网址










<h4class=\"ask\">追问


Disallow:<ahref=\"http://www.tyueo.com/news/xwjx/liulan.asp?news=1754\"target=\"_blank\">http://www.tyueo.com/news/xwjx/liulan.asp?news=1754</a>这样对不对?
回复

使用道具 举报

千问 | 2011-9-6 02:51:56 | 显示全部楼层
对,就是这个格式
回复

使用道具 举报

千问 | 2011-9-6 02:51:56 | 显示全部楼层
robots.txt用法实例及技巧
<ahref=\"http://www.zhengbiao.net/robots-txt-usage-examples-techniques/\"target=\"_blank\">http://www.zhengbiao.net/robots-txt-usage-examples-techniques/</a>
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行