[SEO]对PHPwind的继续优化

google.com/webmaster的工具中,显示phpwind论坛中有过多的重复的titile,非常不利于SEO

原因主要有:

只看作者功能

http://bbs.weiphone.com/read-htm-tid-457483-uid-178573.html
http://bbs.weiphone.com/read-htm-tid-457483-uid-291109.html


多皮肤功能

http://bbs.weiphone.com/read-htm-tid-534897-uid-164519-skinco-weiphone.html
http://bbs.weiphone.com/read-htm-tid-534897-uid-349538-skinco-weiphone.html


fpage的问题,前文已经讲过了
分页,但标题是相同的

 一个帖子有多页的话,但标题是相同的





前文中使用robots.txt的方式来禁止google收录类似于uid,skinco这样的网址,但这样有少许不科学,因为并不是所有的搜索引擎都支持"*"的适配符,而且也容易让一些正常url禁止了google的收录.

参考google中文网站管理员的博客建议:

http://www.googlechinawebmaster.com/2009/02/url.html

给相应的页面增加指定喜欢的url格式.
<link rel="canonical"   url />

所以phpwind可以修改:header.htm

把title那一行修改为:
<!--
EOT;
if($page==1){print <<<EOT
-->
<title>$subject$forumtitle$db_bbstitle-WeiPhone威锋网</title>
<!--
EOT;
}else{print <<<EOT
-->
<title>$subject 第 $page 页$forumtitle$db_bbstitle-WeiPhone威锋网</title>
<!--
EOT;
}print <<<EOT
-->
在rss那一行上面增加:
<!--
EOT;
if($tid){print <<<EOT
-->
<!--
EOT;
if($page==1){print <<<EOT
-->
<link rel="canonical" href="http://bbs.weiphone.com/read-htm-tid-$tid.html" />
<!--
EOT;
}else{print <<<EOT
-->
<link rel="canonical" href="http://bbs.weiphone.com/read-htm-tid-$tid-page-$page.html" />
<!--
EOT;
}print <<<EOT
-->

<!--
EOT;
}print <<<EOT
-->
修改:simple_header.htm

增加:
<!--
EOT;
if($tid){print <<<EOT
-->
<link rel="canonical" href="http://bbs.weiphone.com/read-htm-tid-$tid.html" />
<!--
EOT;
}print <<<EOT
-->
为什么要重视对于phpwind的优化了:

自从论坛从discuz换成phpwind以后,从百度过来的流量减少一半,当然这和论坛换网址,以及其它方面有关系,但phpwind在一些细节方面的确还需要优化.下图就是百度过来的流量情况.  
 

View this post on my blog: http://www.iammecn.com/2009/12/14/the_seo_will_continue_to_optimize_for_phpwind/

评论

elanahackel说…
Therefore, totally different animations are used rather than the spinning reels have the ability to} display every recreation outcome. Historically, many casinos, each online and offline, have been unwilling to publish individual recreation RTP figures, making it unimaginable for the participant to know whether they are playing in} a "free" or a "tight" recreation. All trendy machines are zkwlsh.com designed utilizing pseudorandom quantity mills ("PRNGs"), that are continually generating a sequence of simulated random numbers, at a fee of tons of or maybe 1000's per second. As soon as the "Play" button is pressed, the latest random quantity is used discover out} the outcome.

此博客中的热门博文

在南京见到的农民工午饭情景

uptime-kuma部署和批量添加

ffmpeg 下实现 h265 hevc编码的 hls 服务的过程一些收藏和介绍