Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

游客看不到 keyword 与 description 的解释与解决方案

  [复制链接]
yeabooo 发表于 2011-5-27 10:29:10 | 显示全部楼层
支持下
回复

使用道具 举报

木_棉 发表于 2011-5-28 13:56:23 | 显示全部楼层
太感谢了。问题已解决
回复

使用道具 举报

vsno1 发表于 2011-5-28 14:22:51 | 显示全部楼层
如果想要完全放开SEO设置给游客看,那么可以


   1.                 if($descriptiontext && (CURSCRIPT == 'forum' || IS_ROBOT || $_G['adminid'] == 1)) {
   2.                         $seodescription = strreplace_strip_split($searchs, $replaces, $descriptiontext);
   3.                 }
   4.                 if($keywordstext && (CURSCRIPT == 'forum' || IS_ROBOT || $_G['adminid'] == 1)) {
   5.                         $seokeywords = strreplace_strip_split($searchs, $replaces, $keywordstext);
   6.                 }

复制代码

修改为:

   1.                 if($descriptiontext) {
   2.                         $seodescription = strreplace_strip_split($searchs, $replaces, $descriptiontext);
   3.                 }
   4.                 if($keywordstext) {
   5.                         $seokeywords = strreplace_strip_split($searchs, $replaces, $keywordstext);
   6.                 }

复制代码
回复

使用道具 举报

fjfhhl 发表于 2011-5-30 23:26:45 | 显示全部楼层
完全开放,修改成功
回复

使用道具 举报

zgsj804 发表于 2011-5-31 14:54:30 | 显示全部楼层
苍天啊,大地啊,终于找到组织了
回复

使用道具 举报

trynews 发表于 2011-6-7 12:16:08 | 显示全部楼层
怎么会做这样的处理,是给大家添麻烦
回复

使用道具 举报

晴源 发表于 2011-6-12 20:08:23 | 显示全部楼层
求助:首次使用 tools 时,需要设置登录工具箱的密码。。访问 http://域名/UCenter目录/tools.php,
在密码输入框中输入设置好的密码,即可登录 tools 工具箱。

是不是这养的?http://www.qingyuanchina.com/wwwroot/uc_server/tools.php可是我访问不了,?急,我不会登录了,我用的是Discuz! X2,    请问是怎样访问工具箱?
回复

使用道具 举报

Wsheng 发表于 2011-6-14 18:05:21 | 显示全部楼层
最新版本的也有这个问题啊,游客看不到,这样影响收录吗
回复

使用道具 举报

braveandboy 发表于 2011-6-16 18:02:57 | 显示全部楼层
游客看不到不是挺好的么,代码安全么
回复

使用道具 举报

veshow 发表于 2011-6-17 11:47:11 | 显示全部楼层
5月31日的版本还是这样吗?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-6-18 07:43 , Processed in 0.120176 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表