[导读]:(1) User-agent: Baiduspider Allow: /article Allow: /oshtml Allow: /product Allow: /spu Allow: /dianpu Allow: /wenzhang Allow: /oversea Disallow: / (2) User-agent: Baiduspider Disallow: / Allow: /article Allow: /oshtml Allo...
(1) User-agent: Baiduspider
Allow: /article
Allow: /oshtml
Allow: /product
Allow: /spu
Allow: /dianpu
Allow: /wenzhang
Allow: /oversea
Disallow: /
(2) User-agent: Baiduspider
Disallow: /
Allow: /article
Allow: /oshtml
Allow: /product
Allow: /spu
Allow: /dianpu
Allow: /wenzhang
Allow: /oversea
(1)和(2)的robots这样写的意义一样吗? Disallow和allow的顺序颠倒了屏蔽的效果是不是一样的?
按上面那个吧。
###这个的确有影响!Robots.txt写法有个顺序的原则!
本文来自投稿,不代表微盟圈立场,如若转载,请注明出处:https://www.vm7.com/a/ask/41383.html
