详情页

禁止搜索引擎收录的方法

时间:2023年11月24日

编辑:佚名

新建robots.txt文件,放到网站根目录下面。
robots.txt文件的内容:
User-agent: * 
Disallow: / 
User-agent:*表示和所有搜索引擎协议适用;   Disallow:/表示禁止抓取收录全站。

 
相关文章
猜你需要