昨晚对博客做了优化,今天查看百度收录情况,竟然收录增加很多

昨晚再次对博客进行优化,但seo优化我也不懂。因为我想让百度收录我文章的数量增加,所以我就针对百度去做seo优化,很多人都说百度对wordpress的收录不是很好,不理想什么的,现在我发现,不被收录是你没有去很好的融入关心你的博吧!
SEO,我实在是不懂中的不懂,那我就大概查那几个地方需要改进,但网上没什么信息。开始自己去改了些头部的代码,但感觉不是特别好。尤其是描述引用等位置。后来我就发挥比对的方法,去查找一些收录可以的网站或者博客,看他们的头部怎么写的,然后自己揣摩推敲找到适合自己的头部文件内容。现在我的头部信息:可能有些乱

<?php 
if (is_home() ) { bloginfo('name'); } elseif ( is_category() ) { single_cat_title();   echo " - "; bloginfo('name'); } elseif (is_single() || is_page() ) { single_post_title(); echo " - "; bloginfo('name'); } elseif (is_search() ) { bloginfo('name'); echo "search results:"; echo  wp_specialchars($s); } else { wp_title('',true); } 
?>
 <?php 
if (is_single()){$description = $post->post_title . "," . $post->post_excerpt ;$tags = wp_get_post_tags($post->ID);foreach ($tags as $tag ){$ke 
ywords = $keywords . $tag->name ;$description1 = mb_substr(strip_tags($post->post_content),0,120);}} else {$description = get_bloginfo('name') . "," . get_bloginfo('description');} $keywords = $keywords . get_bloginfo('name') ;
?>

供大家参考,$description1 = mb_substr(strip_tags($post->post_content),0,120); 这里是取文章的长度,可以自行定义修改

以我的记忆大概做了个博客从开始到现在的对比表格:

  最初使用改主题 第一次修改 本次修改
百度收录情况 百度收录最好时是3条,而这三条还是有两个2级域名,所以只有一条 修改了关键字,百度收录能达到20左右 见图,image
      image

收录历史记录:虽然看以前有54的收录,但我自己在百度上查询的时候重来没见到够。

image

- THE END -
版权声明:
转载原创文章请注明,文章出处:http://kinggoo.com
原文地址:http://kinggoo.com/geren-baidushouluadd.htm
发表评论?

36 条评论。

  1. Couldn’t have said it better myself.

  2. Awesome post! I will keep an on eye on your blog.

  3. Couldn’t have said it better myself.

  4. This is by far my favorite blog! Keep up the good work!

  5. I love your writing style. I hope you decide to update this blog often!

  6. I love your writing style. I hope you decide to update this blog often!

  7. Awesome post! I will keep an on eye on your blog.

  8. Awesome post! I will keep an on eye on your blog.

  9. I am a loyal reader but i dont like to comment usually, but these days i just thought i would let you know my thanks. cheers!
    If i gave a dollar for the amount of fantastic articles you have written you’d be rich. Just thought i would let you know how grateful i am.
    I dont usual comment, but that was an excellent post. cheers!
    I have been around for a even though now, i take into account myself a loyal reader. Just thought i would let you know!
    I have been a loyal reader for sometime now, this will likely be my initial comment. I thought it was eventually time. Thanks

  10. Thank you for making the sincere attempt to speak about this on kinggoo.com . I feel very strong about it and would like to read more. If it’s OK, as you achieve extra extensive wisdom, may you mind including extra articles similar to this one with additional info? It will be extraordinarily useful and helpful for me and my friends.

  11. 是刚好更新了吧,我的收录也从300+增加到了470.

发表评论