細(xì)節(jié)決定成敗,對(duì)于SEOer來說,能讓自己的網(wǎng)站出鏈減少的話,對(duì)網(wǎng)站的權(quán)重優(yōu)化有很大幫助。因?yàn)榫W(wǎng)站首頁的權(quán)重比較高,所以尤其是在論壇首頁,做這項(xiàng)工作更為必要了!
保留防水墻圖標(biāo),但消除網(wǎng)頁權(quán)重輸出的辦法:
可以在鏈接上加nofollow,也可以徹底去掉鏈接。建議使用前者,保留版權(quán)鏈接。
打開文件 source/plugin/security/security.class.php
function global_footerlink() {
return ' <a target="_blank" title="'.lang('plugin/security', 'title').'"><img src="static/image/common/security.png"></a>';
}
替換為:
function global_footerlink() {
return ' <a target="_blank"
title="'.lang('plugin/security', 'title').'" rel="nofollow"><img src="static/image/common/security.png"></a> ';
}
徹底刪除防水墻圖標(biāo)及外鏈
方法一:找到代碼:
<a href="http://discuz.qq.com/service/security" target="_blank" title="'.lang('plugin/security', 'title').'"><img src="static/image/common/security.png"></a>
刪除即可。
方法二:只需要在通用底部模板footer.htm中,找到代碼:
<!--{hook/global_footerlink}-->
刪除即可。
新聞熱點(diǎn)
疑難解答
圖片精選