Ecshop robots.txt 高级应用

Posted by 东莞SEO on 2月 15th, 2010

Ecshop默认的robots.txt文件,只对搜索引擎屏蔽了后台管理目录、授权证书、数据库、程序模块、插件等目录;以及一些对SEO毫无作用的订阅、注册、验证码程序文件。但是Ecshop系统的许多功能文件对SEO是没有多大好处,相反会造成大量内容重复。这点我们在ECSHOP百度收录少或者不收录原因详细分享过。今天我们就从Ecshop robots.txt 开始,结合robots.txt语法 说说Ecshop robots.txt 高级应用

首先看看 Ecshop 默认的 robots.txt (以Ecshop V2.71最新版为示例

User-agent: *
Disallow: /admin/
Disallow: /cert/
Disallow: /data/
Disallow: /includes/
Disallow: /install/
Disallow: /languages/
Disallow: /plugins/
Disallow: /templates/
Disallow: /themes/
Disallow: /upgrade/
Disallow: /api/
Disallow: /js/
Disallow: /affiche.php
Disallow: /captcha.php
Disallow: /comment.php
Disallow: /cycle_image.php
Disallow: /goods_script.php
Disallow: /receive.php
Disallow: /region.php
Disallow: /respond.php
Disallow: /feed.php
Disallow: /gallery.php

#以下内容也可以加在Ecshop robots.txt文件中,迅捷东莞SEO已做了相关注释

#证书反查文件
certi.php
 
#商品比较程序
compare.php
 
#支付配送DEMO
myship.php
 
#搜索页面
search.php

    迅捷东莞SEO服务认为: Ecshop系统的优化只须把重点放在文章页,商品页,分类页,并做好站内外链接就可以了. 其它页面虽说也可以用来优化,但是与其插入一些不利于SEO和用户体验的内容,倒不如用robots.txt把不相关的程序文件统统屏蔽。以上是我们的一点看法,欢迎能与大家一起讨论。

除非注明,迅捷东莞SEO博客文章均为原创,转载请以链接形式标明本文地址.

本文地址:http://www.seoxj.com/ecshop-robots-txt-190/

有点相关的文章:

Comments are closed.