WordPress All in one seo插件生成NoIndex对百度爬虫影响的解决方法
发现All in one seo 插件严重影响baidu收录,采取如下措施
1 在head模板加入如下正对googlebot的判断代码
<?php if ( !(is_home()) and !(is_single()) ) { ?> <meta name=”Googlebot” content=”noindex,follow” /> <?php }?>
2 关闭All in one seo插件所有的生成Noindexde选项
Use noindex for Categories: Use noindex for Archives: Use noindex for Tag Archives:
一条评论 to WordPress All in one seo插件生成NoIndex对百度爬虫影响的解决方法
Leave a Reply
标签云
.htaccess 301 2010 Android apache cache cacti CSS date ddos discuz django fastcgi freebsd git google http iftop linux macos mysql nginx njava php pr python sed seo snmp ssh ubuntu ubuntu10.04 wordpress xdebug 优化 密码 文件 时区 用户 登录 监控 缓存 网站 脚本 颜色
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.
别吓我,我的站一个月了 百度都没收录。。。