打开inc/Dv_ClsMain.asp文件,找到’搜索引擎优化部分
If Request("IsSearch_a") <> "" Then stats = stats & "-网站地图" Nowstats=Replacehtml(Nowstats) If IsSearch Then Response.Write Replace(Replace(Replace(mainhtml(1),"{$keyword}",Replace(Forum_info(8),"|",",")),"{$description}",Forum_info(10))&vbNewLine,"{$title}",stats & "["& Forum_Info(0) &"] -- Powered By Dvbbs.net," & Now()) Else Response.Write Replace(Replace(Replace(mainhtml(1),"{$keyword}",Replace(Forum_info(8),"|",",")),"{$description}",Forum_info(10))&vbNewLine,"{$title}",stats &"["& Forum_Info(0) &"]") End If ’搜索引擎优化结束
这段代码,将改为如下:
’搜索引擎优化部分 If Request("IsSearch_a") <> "" Then stats = stats & "-网站地图" Nowstats=Replacehtml(Nowstats) If IsSearch Then Response.Write Replace(Replace(Replace(mainhtml(1),"{$keyword}",Replace(Forum_info(8),"|",",")),"{$description}",Forum_info(10))&vbNewLine,"{$title}", "["& Forum_Info(0) &"] -- Powered By Dvbbs.net," & Now()) Else Response.Write Replace(Replace(Replace(mainhtml(1),"{$keyword}",Replace(Forum_info(8),"|",",")),"{$description}",Forum_info(10))&vbNewLine,"{$title}","["& Forum_Info(0) &"]") End If ’搜索引擎优化结束
------------------------------------------------------------------------------------
这个与搜索引擎关系很大的,建议不这样改。分页面模板(page_index) 编辑该模块:语言包 新 | 图片 新 | 界面风格 新 是语言包。。不是界面风格。改第一个。写成xxx网站。然后显示就是[xxx网站[xxx论坛]]就算你没有主站也这样写好了,反正是写给搜索引擎看的,在index模板的语言包里吧。你有主站的话就更理想了。你想写点其它也行啊。每天换一个百度的关键字......别说我教你作弊哦。
星期日, 二月 11, 2007
订阅:
博文评论 (Atom)
没有评论:
发表评论