12
返回列表 发帖
楼主: 道行天下

请各位帮看一下,为什么百度收录只显示网址路径,不显.....

11

主题

177

回帖

228

积分

炉火纯青

贡献
0 点
金币
36 个
发表于 2019-6-30 13:03:45 | 显示全部楼层
道行天下 发表于 2019-6-29 22:57
看不懂,请你看看好吗?/htdocs/template/zdbwang/touch/common/header.htm,没有header_common.htm


这个是手机模板的。。不要touch目录
回复 支持 反对

使用道具 举报

1

主题

6

回帖

15

积分

初学乍练

贡献
0 点
金币
8 个
 楼主| 发表于 2019-6-30 20:28:11 | 显示全部楼层
citywar 发表于 2019-6-30 13:03
这个是手机模板的。。不要touch目录

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

        <meta name="keywords" content="{if !empty($metakeywords)}{echo dhtmlspecialchars($metakeywords)}{/if}" />
        <meta name="description" content="{if !empty($metadescription)}{echo dhtmlspecialchars($metadescription)} {/if}{if empty($nobbname)},$_G['setting']['bbname']{/if}" />
        <meta name="generator" content="Discuz! $_G['setting']['version']" />
        <meta name="author" content="Discuz! Team and Comsenz UI Team" />
        <meta name="copyright" content="2001-2013 Comsenz Inc." />
        <meta name="MSSmartTagsPreventParsing" content="True" />
        <meta http-equiv="MSThemeCompatible" content="Yes" />
        <base href="{$_G['siteurl']}" />
        <!--{csstemplate}-->
        <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>
        <script type="text/javascript" src="{$_G[setting][jspath]}common.js?{VERHASH}"></script>
        <!--{if empty($_GET['diy'])}--><!--{eval $_GET['diy'] = '';}--><!--{/if}-->
        <!--{if !isset($topic)}--><!--{eval $topic = array();}--><!--{/if}-->
回复 支持 反对

使用道具 举报

1

主题

6

回帖

15

积分

初学乍练

贡献
0 点
金币
8 个
 楼主| 发表于 2019-6-30 20:34:25 | 显示全部楼层
本帖最后由 道行天下 于 2019-6-30 20:36 编辑
citywar 发表于 2019-6-30 13:03
这个是手机模板的。。不要touch目录

在查看网页的源代码里,第一行是空行,有没有关系?

比如查看我的网页的源代码,如下图
TIM截图20190630202955.png

而其它网站没有空行,比如,我们现在这贴的源代码,如图

TIM截图20190630202910.png
回复 支持 反对

使用道具 举报

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

本版积分规则

  • 关注公众号
  • 有偿服务微信
  • 有偿服务QQ

手机版|小黑屋|Discuz! 官方交流社区 ( 皖ICP备16010102号 |皖公网安备34010302002376号 )|网站地图|star

GMT+8, 2024-5-19 08:17 , Processed in 0.038750 second(s), 7 queries , Redis On.

Powered by Discuz! W1.0 Licensed

Cpoyright © 2001-2024 Discuz! Team.

关灯 在本版发帖
有偿服务QQ
有偿服务微信
返回顶部
快速回复 返回顶部 返回列表