由于论坛中存在大量的机器人帐号和垃圾信息,清北服务网站的数据库体积已经接近1TB,直接导致了前些日子升级Discuz! X 1.5失败。于是下定决定彻底清理论坛上的垃圾帐号和无用帖子。
由于SupeSite后台设计不良,加上后续Comsenz已无开发计划,同时考虑到被腾讯收购后,产品可能更加偏离开源社区的风格,因此决定放弃用SupeSite搭建的news.quickbest.com.cn测试站,不再购买SupeSite商业授权,并且bbs.quickbest.com.cn采用的Discuz! 7.2将不再升级到Discuz! X1。
之后清北服务网站将只运营已经够买了商业授权的Discuz! 7.2和ECSHOP,其它功能需求将自行开发程序来满足。
卸载SupeSite(或称为关闭SupeSite站点)而不影响网站搜索引擎排名的唯一方法是使用301跳转。具体操作方法如下:
在news.quickbest.com.cn根目录,编辑.htaccess文件,内容为:
==========文件开始==========
RewriteEngine on
# Use PHP5 Single php.ini as default
AddHandler application/x-httpd-php5s .php
RewriteBase /
#把news.quickbest.com.cn强制重定向到bbs.quickbest.com.cn
RewriteBase /
RewriteCond %{HTTP_HOST} ^news.quickbest.com.cn$
RewriteRule ^(.*)$ http://bbs.quickbest.com.cn/$1 [R=301,L]
==========文件结束==========
在bbs.quickbest.com.cn根目录,编辑.htaccess文件,内容为:
==========文件开始==========
RewriteEngine on
# Use PHP5 Single php.ini as default
AddHandler application/x-httpd-php5s .php
RewriteBase /
#把bbs.quickbest.com.cn/html/22/t-62622.html强制重定向到
#bbs.quickbest.com.cn/thread-62622-1-1.html
RewriteRule ^html/[0-9]+/t-([0-9]+)\.html$ thread-$1-1-1.html [R=301,NC]
==========文件结束==========
这样,当你访问:
http://news.quickbest.com.cn/html/22/t-62622.html
时就会自动跳转到:
http://bbs.quickbest.com.cn/thread-62622-1-1.html
而不会出现找不到页面的错误。
在设置了301跳转后,就可以在“UCenter 用户管理中心 -> 应用管理 -> 应用列表”中删除“清北IT在线 http://news.quickbest.com.cn”。
然后删除news.quickbest.com.cn下的所有文件和目录(之前在根目录下建立的.htaccess文件除外)。
最后删除数据库中所有以supe_开头的数据表。对应的SQL语句如下:
==========SQL语句开始==========
DROP TABLE `supe_adminsession`, `supe_ads`, `supe_announcements`, `supe_attachments`, `supe_attachmenttypes`, `supe_blocks`, `supe_cache`, `supe_cache_0`, `supe_cache_1`, `supe_cache_2`, `supe_cache_3`, `supe_cache_4`, `supe_cache_5`, `supe_cache_6`, `supe_cache_7`, `supe_cache_8`, `supe_cache_9`, `supe_cache_b`, `supe_cache_c`, `supe_cache_d`, `supe_categories`, `supe_channels`, `supe_click`, `supe_clickgroup`, `supe_clickuser`, `supe_creditlog`, `supe_creditrule`, `supe_crons`, `supe_customfields`, `supe_forums`, `supe_friendlinks`, `supe_members`, `supe_modelcolumns`, `supe_modelfolders`, `supe_modelinterval`, `supe_models`, `supe_pages`, `supe_polls`, `supe_postitems`, `supe_postlog`, `supe_postmessages`, `supe_postset`, `supe_prefields`, `supe_reports`, `supe_robotitems`, `supe_robotlog`, `supe_robotmessages`, `supe_robots`, `supe_rss`, `supe_settings`, `supe_sitemaplogs`, `supe_spacecomments`, `supe_spaceitems`, `supe_spacenews`, `supe_spacepages`, `supe_spacetags`, `supe_styles`, `supe_tagcache`, `supe_tagcache_2`, `supe_tagcache_3`, `supe_tagcache_7`, `supe_tagcache_9`, `supe_tags`, `supe_usergroups`, `supe_userlog`, `supe_words`;
==========SQL语句结束==========
以上是我对清北服务网站所做的调整。之后清北将转向“致力于提供基于开源技术的商业解决方案”的公司。原有的业务只保留“清北技术论坛”和“清北网上放心店”,而“清北技术论坛”将采用邀请注册、VIP服务的方式来运营。
欢迎大家不久后访问焕然一新的
清北服务技术论坛(http://bbs.quickbest.com.cn)
和
清北网上放心店(http://shop.quickbest.com.cn)。
清北QuickBest,追求完美用户体验 |