本篇文章给大家谈谈discuz如何去除私聊,以及对应的知识点,希望对各位有所帮助,不要忘了收藏本站喔。
本文目录一览:
- 1、discuz论坛怎么去除powered by discuz去掉方法
- 2、discuz怎么去掉forum.php
- 3、如何去除discuz论坛后面的powered by discuz
- 4、怎么去除Discuz版权信息
1、discuz论坛怎么去除powered by discuz去掉方法
title!--{if !empty($navtitle)}--$navtitle - !--{/if}--!--{if empty($nobbname)}-- $_G['setting']['bbname'] - !--{/if}-- Powered by Discuz!/title
删除:Powered by Discuz!即可
是如下这个文件\template\default\common \header_common.htm的第6行
还是二楼说的,尽量保留,或者以后网站发展起来,在购买授权!
2、discuz怎么去掉forum.php
首先声明:这是一篇去除discuz论坛中forum.php尾巴最全的方法,之前也看到过类似的文章,但按照步骤操作后,大家会发现还有很多地方没有去掉forum.php尾巴。这样不利于网站seo。今天,为大家整理了最完美的去除forum.php尾巴的方法。
在操作之前,我们先来看一下discuz论坛含有forum.php尾巴的地方:
(1)主导航中的论坛按钮
主导航论坛按钮
(2)论坛首页的面包屑导航位置
(3)分区版块的面包屑导航位置
(4)主题列表页的面包屑导航位置
(5)主题内容页的面包屑导航位置
面包屑导航
(6)发新主题页面包屑导航位置
(7)主题列表页的2个返回按钮
主题内容页两个返回按钮
(8)archiver/的首页
acchiver首页
(9)输入域名默认跳转到带有www.域名.com/forum.php
既然知道了,discuz论坛都是那些地方含有forum.php,接下来就按照以下步骤来逐一去除
(1)在后台设置域名
域名设置
这步设置之后,主导航中的论坛按钮就去掉了forum.php尾巴
(2)在template\default\forum中找到discuz.htm,大约在第19行的位置,
把a href="forum.php"修改为:a href="['setting']['domain']['app']['forum']/"
这样,首页和分区版块的面包屑导航中的forum.php就去掉了。
(3)在/source/module/forum/中
forum_forumdisplay.php,第65、67、74、76行:把a href="forum.php"修改为:a href="./" (去除主题列表页面包屑导航位置的forum.php尾巴)
forum_viewthread.php,第107行:把a href="forum.php"修改为:a href="./" (去除主题内容页面包屑导航位置的forum.php尾巴)
forum_post.php,第111行:把a href="forum.php"修改为:a href="./"(去除主题发心主题面包屑导航位置的forum.php尾巴)
forum_misc.php,第394、398行:把a href="forum.php"修改为:a href="./" (这个应该是手机版的)
(4)/template/default/forum/ 中
forumdisplay.htm,第159行:把a href="forum.php"修改为:a href="['setting']['domain']['app']['forum']/" (去除主题列表页上方的那个返回按钮中的forum.php尾巴)
forumdisplay_list.htm, 第332行:把《a href=”forum.php”》修改为:a href=['setting']['domain']['app']['forum']/ (去除主题列表页下方分页导航前面的那个返回按钮中的forum.php尾巴)
(5)在/source/archiver/forum/中
discuz.php的第24行,把a href="../forum.php" target="_blank"修改为a href="../" target="_blank"
(6)设置301重定向
RewriteEngine on
RewriteCond %{http_host} ^(.+)\.5icool.org [NC]
RewriteRule ^(.*)$ [L,R=301]
RewriteRule ^(.*)\/forum.php$ [L,R=301]
通过以上六步操作,就可以完美的去掉disciz论坛中forum.php的尾巴了。这样做的目的是为了让网站URL标准化,有利于网站优化。
3、如何去除discuz论坛后面的powered by discuz
discuz论坛去除powered by discuz的方法:
1、在discuz的安装目录下找到template目录;
2、依次进入,页面路径为:根目录下template/default/common/,Powered by Discuz!这个信
4、怎么去除Discuz版权信息
1、去除Discuz标题中去掉“Powered
by
Discuz!”版权标识a、打开templatedefaultcommonheader_common.htm文件b、将其中的“Powered
By
Discuz!”字串改为“
”c、再打开source/language/lang_template.phpd、加上“‘sitetitle’=‘你的论坛名称!'
”2、去除Discuz底部的版本a、打开templatedefaultcommon,找到footer.htm文件b、修改相关有版权信息3、去除Discuz搜索底部版权信息a、打开templatedefaultsearch,找到footer.htm文件b、修改相关有版权信息4、去除Discuz
Archiver页面的版权a、source/archiver/common/footer.phpb、修改相关有版权信息5、去除Discuz
Archiver标题的Powered
By
Discuz!a、source/archiver/common/header.phpb、修改相关有版权信息*****越是剩女,祛痘美白就是要有秘籍,才拼得过90后!----
关于discuz如何去除私聊和的介绍到此就结束了,不知道你从中找到你需要的信息了吗 ?如果你还想了解更多这方面的信息,记得收藏关注本站。