请教dede程序robots.txt写法
回复 rockiezh 的帖子User-agent: * Disallow: /404.htmlDisallow: /plus/Disallow: /include/Disallow: /templets/Disallow: /dede/Disallow: /images/Disallow: /data/Disallow: /uploads/User-agent: * Disallow: /plus/ad_js.phpDisallow: /plus/advancedsearch.phpDisallow: /plus/car.phpDisallow: /plus/carbuyaction.phpDisallow: /plus/shops_buyaction.phpDisallow: /plus/erraddsave.phpDisallow: /plus/posttocar.phpDisallow: /plus/disdls.phpDisallow: /plus/feedback_js.phpDisallow: /plus/mytag_js.phpDisallow: /plus/rss.phpDisallow: /plus/search.phpDisallow: /plus/recommend.phpDisallow: /plus/stow.phpDisallow: /plus/count.phpDisallow: /include/Disallow: /templets/Disallow: /dede/以上2个用哪个好些?用默认的就可以Disallow: /dede/ 这个后台地址肯定要改的,所以没必要写Disallow: /uploads/ 这个图片就不能抓取了,最好开放,有时也可以从图片带来IP
dedecms默认的robots.txt防收录程序对百度收录有影响吗?
这个没影响,没有屏蔽百度蜘蛛,只是屏蔽了不该让百度抓取的,我的也是这样写的
原创文章,作者:墨搜网络,如若转载,请注明出处:https://www.moyuseo.com/feyu/664.html