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:

Tags: , , , ,

星期六, 4月 10th, 2010 Web

一条评论 to WordPress All in one seo插件生成NoIndex对百度爬虫影响的解决方法

  • 潍坊seo说道:

    别吓我,我的站一个月了 百度都没收录。。。

  • Leave a Reply

    1LMooBmUE153Wnd3zDryWvDyXxQudbFxDr