請各位幫看一下,為什么百度收錄只顯示網址路徑,不顯帖子標題,如下圖!是不是我哪里設置錯誤了還是其他原因? 請幫忙解答,可報酬答謝! ... 查看全文
citywar 發表于 2019-6-30 13:03 <!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}--> |
道行天下 發表于 2019-6-29 22:57 這個是手機模板的。。不要touch目錄 |
本帖最后由 道行天下 于 2019-6-29 23:00 編輯 citywar發表于2019-6-29 14:50 看不懂,請你看看好嗎?/htdocs/template/zdbwang/touch/common/header.htm,沒有header_common.htm <!DOCTYPE html> <html xmlns =“http://www.w3.org/1999/xhtml”> <head> <meta http-equiv =“Content-Type”content =“text / html; charset = gbk” > <meta http-equiv =“Cache-control”content =“{if $ _G ['setting'] ['mobile'] [mobilecachetime]> 0} {$ _ G ['setting'] ['mobile'] [mobilecachetime ]} {else} no-cache {/ if}“/> <meta name =”viewport“content =”width = device-width,initial-scale = 1.0,user-scalable = no,minimum-scale = 1.0,maximum -scale = 1.0“> <meta name =”format-detection“content =”telephone = no“/> <meta name =”keywords“content =”{if!empty($ metakeywords)} {echo dhtmlspecialchars($ metakeywords) } {/ if}“/> <meta name =“description”content =“{if!empty($ metadescription)} {echo dhtmlspecialchars($ metadescription)} {/ if},$ _ G ['setting'] ['bbname']”/> <title> <! - {if!empty($ navtitle)} - > $ navtitle - <! - {/ if} - > <! - {if empty($ nobbname)} - > $ _G ['setting'] ['bbname'] - <! - {/ if} - > {lang waptitle} - Powered by Discuz!</ title> <script src =“./ template / zdbwang / touch / images / JS / jQuery的1.8.3.min.js {VERHASH}“> </ SCRIPT> <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]'; </ script> <script src =“{STATICURL} js / mobile / common.js?{VERHASH}”charset =“ {CHARSET}“> </ SCRIPT> <link rel =“stylesheet”href =“./ template / zdbwang / touch / images / media50px.css”type =“text / css”> <link rel =“stylesheet”href =“./ template / zdbwang / touch / images / style.css“type =”text / css“> </ head> <body class =”bg“> <div id =”page“> |
感覺是模板的問題 去檢查模板文件下面 COMMON / header_common.htm |
檢查你的頁面有沒有T,D,K 標簽啊,如果有的話就是百度抓取有異常。 |
手機版|小黑屋|Discuz! 官方交流社區
( 皖ICP備16010102號 |皖公網安備34010302002376號 )|網站地圖|
GMT+8, 2025-9-19 09:09 , Processed in 0.082432 second(s), 29 queries .
Powered by Discuz! W1.0 Licensed
Copyright © 2001-2025 Discuz! Team.