首页 > 问答 > dedeCMS、织梦CMS的robots.txt文件设置,哪种比较更合适,比较好?

dedeCMS、织梦CMS的robots.txt文件设置,哪种比较更合适,比较好?

[导读]:第一种:织梦CMS的 robots.txt文件 User-agent: * Disallow: /data/ Disallow: /dede[?]/ Disallow: /images/ Disallow: /include/ Disallow: /plus/ Disallow: /special/ Disallow: /templets/ Disallow: /uploads/ 第二种:...

第一种:织梦CMS的 robots.txt文件

User-agent: *

Disallow: /data/

Disallow: /dede[?]/

Disallow: /images/

Disallow: /include/

Disallow: /plus/

Disallow: /special/

Disallow: /templets/

Disallow: /uploads/

第二种:织梦CMS的 robots.txt文件

User-agent: *

Disallow: /dede

Disallow: /plus/ad_js.php

Disallow: /plus/advancedsearch.php

Disallow: /plus/car.php

Disallow: /plus/carbuyaction.php

Disallow: /plus/shops_buyaction.php

Disallow: /plus/erraddsave.php

Disallow: /plus/posttocar.php

Disallow: /plus/disdls.php

Disallow: /plus/feedback_js.php

Disallow: /plus/mytag_js.php

Disallow: /plus/rss.php

Disallow: /plus/search.php

Disallow: /plus/recommend.php

Disallow: /plus/stow.php

Disallow: /plus/count.php

Disallow: /include

Disallow: /templets

以上两种robots.txt文件哪种更适合织梦CMS系统优化?

Robots 选 第一种。Disallow: /目录/  就代表了 Disallow: /目录/ 文件或目录 这样做多余了

###

哪种都可以,非要选择一种的话个人倾向于第一种

本文来自投稿,不代表微盟圈立场,如若转载,请注明出处:https://www.vm7.com/a/ask/108912.html