找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

Discuz X3 X3去掉title里面的Powerd by Discuz!


按下面的路径
/template/default/common/header_common.htm


找到header_common.htm,用记事本打开,删掉全部,复制下面代码替换,保存,更新缓存即可。


  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3.         <head>
  4.         <meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
  5.         <!--{if $_G['config']['output']['iecompatible']}--><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE{$_G['config']['output']['iecompatible']}" /><!--{/if}-->
  6.         <title><!--{if !empty($navtitle)}-->$navtitle<!--{/if}--><!--{if empty($nobbname)}--> $_G['setting']['bbname']<!--{/if}--></title>
  7.         $_G['setting']['seohead']

  8.         <meta name="keywords" content="{if !empty($metakeywords)}{echo dhtmlspecialchars($metakeywords)}{/if}" />
  9.         <meta name="description" content="{if !empty($metadescription)}{echo dhtmlspecialchars($metadescription)} {/if}{if empty($nobbname)},$_G['setting']['bbname']{/if}" />
  10.         <meta name="generator" content="Discuz! $_G['setting']['version']" />
  11.         <meta name="author" content="Discuz! Team and Comsenz UI Team" />
  12.         <meta name="copyright" content="2001-2013 Comsenz Inc." />
  13.         <meta name="MSSmartTagsPreventParsing" content="True" />
  14.         <meta http-equiv="MSThemeCompatible" content="Yes" />
  15.         <base href="{$_G['siteurl']}" />
  16.         <!--{csstemplate}-->
  17.         <script type="text/javascript">var STYLEID = '{STYLEID}', STATICURL = '{STATICURL}', IMGDIR = '{IMGDIR}', VERHASH = '{VERHASH}', charset = '{CHARSET}', discuz_uid = '$_G[uid]', cookiepre = '{$_G[config][cookie][cookiepre]}', cookiedomain = '{$_G[config][cookie][cookiedomain]}', cookiepath = '{$_G[config][cookie][cookiepath]}', showusercard = '{$_G[setting][showusercard]}', attackevasive = '{$_G[config][security][attackevasive]}', disallowfloat = '{$_G[setting][disallowfloat]}', creditnotice = '<!--{if $_G['setting']['creditnotice']}-->$_G['setting']['creditnames']<!--{/if}-->', defaultstyle = '$_G[style][defaultextstyle]', REPORTURL = '$_G[currenturl_encode]', SITEURL = '$_G[siteurl]', JSPATH = '$_G[setting][jspath]', DYNAMICURL = '$_G[dynamicurl]';</script>
  18.         <script type="text/javascript" src="{$_G[setting][jspath]}common.js?{VERHASH}"></script>
  19.         <!--{if empty($_GET['diy'])}--><!--{eval $_GET['diy'] = '';}--><!--{/if}-->
  20.         <!--{if !isset($topic)}--><!--{eval $topic = array();}--><!--{/if}-->
复制代码



回复

使用道具 举报

大神点评1

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

快速回复 返回列表 客服中心