{"id":1657,"date":"2018-05-18T10:58:19","date_gmt":"2018-05-18T02:58:19","guid":{"rendered":"http:\/\/www.baishitou.cn\/?p=1657"},"modified":"2018-05-18T10:58:19","modified_gmt":"2018-05-18T02:58:19","slug":"%e7%bb%87%e6%a2%a6dedecms%e7%a8%8b%e5%ba%8fseo%e5%b8%b8%e7%94%a8%e7%9a%84%e5%88%97%e8%a1%a8%e6%a0%87%e7%ad%be%e8%b0%83%e7%94%a8%e4%bb%a3%e7%a0%81%e9%9b%86%e5%90%88","status":"publish","type":"post","link":"https:\/\/www.baishitou.cn\/1657.html","title":{"rendered":"\u7ec7\u68a6DEDECMS\u7a0b\u5e8fSEO\u5e38\u7528\u7684\u5217\u8868\u6807\u7b7e\u8c03\u7528\u4ee3\u7801\u96c6\u5408"},"content":{"rendered":"
\u5927\u5bb6\u5bf9dedecms\u8fd9\u4e2a\u7a0b\u5e8f\u76f8\u5f53\u7684\u719f\u6089\u4e86\uff0c\u5728\u56fd\u5185\u5f88\u591a\u8d44\u8baf\u7c7b\u7ad9\u70b9\u6216\u8005\u662f\u4f01\u4e1a\u7ad9\u70b9\u90fd\u662f\u4f7f\u7528\u8be5\u7a0b\u5e8f\u642d\u5efa\u7684\uff0c\u5f53\u7136\u5f88\u5927\u90e8\u5206\u539f\u56e0\u662f\u8fd9\u4e2a\u7a0b\u5e8f\u4f7f\u7528\u65b9\u4fbf\u800c\u4e14\u4e5f\u6bd4\u8f83\u5229\u4e8e\u4f18\u5316\u3002\u6211\u4ee5\u524d\u867d\u7136\u7528\u8fc7dedecms\uff0c\u4e0d\u8fc7\u5bf9\u4f18\u5316\u4e0a\u7684\u4ee3\u7801\u5f88\u5c11\u53bb\u4e86\u89e3\uff0c\u5728\u540e\u6765\u4f7f\u7528dedecms\u6765\u5b8c\u6574\u7684\u5efa\u7ad9\u4e4b\u540e\u56e0\u4e3aSEO\u4e0a\u7684\u8003\u8651\u9700\u8981\u7528\u5230\u4e00\u4e9b\u4ee3\u7801\uff0c\u867d\u7136\u7f51\u4e0a\u90fd\u6709\u73b0\u6210\u7684\u4ee3\u7801\uff0c\u4e0d\u8fc7\u6211\u8fd8\u662f\u628a\u51e0\u4e2a\u5e38\u7528\u5230\u7684\u4ee3\u7801\u6574\u7406\u5230\u4e00\u8d77\u65b9\u4fbf\u4ee5\u540e\u4f7f\u7528\u3002<\/p>\n
\u76f8\u5173\u6587\u7ae0\u5217\u8868\u8c03\u7528\u4ee3\u7801<\/p>\n <\/strong>\u76f8\u5173\u6587\u7ae0\u5217\u8868\u7684\u4f7f\u7528\u5728\u5f88\u591a\u7f51\u7ad9\u4e2d\u90fd\u6709\u7528\u5230\uff0c\u5927\u81f3\u95e8\u6237\u7f51\u7ad9\uff0c\u5c0f\u81f3\u4e2a\u4eba\u535a\u5ba2\u90fd\u80fd\u770b\u5230\u7528\u6807\u7b7e\u805a\u5408\u7684\u5217\u8868\u6a21\u5757\uff0c\u9664\u4e86\u5f15\u5bfc\u7528\u6237\u8fdb\u4e00\u6b65\u7684\u6d4f\u89c8\u4e4b\u5916\uff0c\u5728SEO\u4e0a\u4e5f\u7ecf\u5e38\u4f1a\u628a\u8fd9\u4e2a\u5217\u8868\u8003\u8651\u8fdb\u53bb\uff0c\u6709\u5229\u4e8e\u6587\u7ae0\u94fe\u63a5\u7684\u8fdb\u4e00\u6b65\u5c55\u73b0\uff0c\u5f15\u5bfc\u8718\u86db\u7684\u722c\u884c\u6293\u53d6\u4ece\u800c\u8fbe\u5230\u63d0\u9ad8\u6536\u5f55\u7684\u76ee\u7684\uff0c\u4e5f\u80fd\u63d0\u9ad8\u9875\u9762\u7684\u5185\u5bb9\u76f8\u5173\u6027\u3002<\/p>\n col\u4e3a1<\/strong>\uff0c\u4e00\u5217\u663e\u793a\uff0c\u4e3a2\u5219\u4e3a\u4e24\u5217\u663e\u793a<\/p>\n row\u4e3a\u884c\u6570<\/strong>\uff0c\u663e\u793a\u76f8\u5173\u6587\u7ae0\u6570\u91cf<\/p>\n titlelen<\/strong>\u4e3a\u5217\u8868\u4e2d\u6807\u9898\u6587\u5b57\u7684\u957f\u5ea6<\/p>\n \u9700\u8981\u6ce8\u610f\u7684\u662f\u6b64\u79cd\u5199\u6cd5\u4e3a\u8c03\u7528\u8be5\u680f\u76ee\u4e0b\u7684\u76f8\u5173\u6587\u7ae0\uff0c\u5982\u9700\u8c03\u7528\u5168\u7ad9\u76f8\u5173\u6587\u7ae0\u9700\u53e6\u5916\u4fee\u6539\u4ee3\u7801\uff1a<\/p>\n \u627e\u5230include\/taglib\/likearticle.lib.php\u9875\u9762\u5c06<\/p>\n \u66ff\u6362\u4e3a<\/p>\n \u5373\u53ef\u5b9e\u73b0\u8c03\u7528\u5168\u7ad9\u76f8\u5173\u6587\u7ae0\u3002<\/p>\n \u968f\u673a\u6587\u7ae0\u5217\u8868\u8c03\u7528\u4ee3\u7801<\/p>\n <\/strong>\u5728\u6ca1\u6709\u592a\u591a\u7684\u5185\u5bb9\u6765\u66f4\u65b0\u7684\u65f6\u5019\u968f\u673a\u6587\u7ae0\u5217\u8868\u5c31\u53ef\u80fd\u7528\u5f97\u4e0a\u4e86\uff0c\u5177\u4f53\u7684\u4f5c\u7528\u5c31\u4e0d\u518d\u53d9\u8ff0\u4e86\uff0c\u5c31\u662f\u4fdd\u6301\u4e00\u4e2a\u66f4\u65b0\u7684\u72b6\u6001\uff0c\u4e0d\u8fc7\u5c31dedecms\u8fd9\u4e2a\u7a0b\u5e8f\uff0c\u7531\u4e8e\u662fhtml\u751f\u6210\u7684\uff0c\u8981\u60f3\u66f4\u65b0\u5c31\u9700\u8981\u5728\u540e\u53f0\u624b\u52a8\u66f4\u65b0\u9996\u9875\u3001\u680f\u76ee\u9875\u548c\u5185\u9875\uff0c\u8fd9\u4e5f\u662f\u4e0d\u5927\u65b9\u4fbf\u7684\u4e00\u70b9\u3002<\/p>\n typeid\u4e3a\u680f\u76eeid\uff0c2\u5373\u8868\u793a\u8c03\u7528id\u4e3a2\u7684\u680f\u76ee\u4e0b\u968f\u673a\u6587\u7ae0\u5217\u8868\uff0c\u5982\u9700\u5168\u7ad9\u5219\u586b\u5199rand\uff0cordby\u5219\u4e3a\u5217\u8868\u6587\u7ae0\u663e\u793a\u7684\u6392\u5e8f\u65b9\u5f0f\uff0crand\u5219\u4e3a\u968f\u673a\u6392\u5e8f\uff0chot\u6216\u8005click\u4e3a\u70b9\u51fb\u6b21\u6570\u6392\u5e8f\uff0cid\u4e3a\u6309id\u987a\u5e8f\u6392\u5e8f\uff0cpubdate\u4e3a\u53d1\u5e03\u65f6\u95f4\u6392\u5e8f\u3002<\/p>\n \u6807\u7b7e\u7684\u8c03\u7528<\/p>\n <\/strong>\u6709\u7684\u65f6\u5019\u53ef\u80fd\u9700\u8981\u5728\u53f3\u4fa7\u8fb9\u680f\u6216\u8005\u589e\u52a0\u6807\u7b7e\u5217\u8868\u9875\uff0c\u6807\u7b7e\u53ef\u4ee5\u805a\u5408\u5185\u5bb9\uff0c\u65b9\u4fbf\u5185\u5bb9\u7684\u5f52\u7c7b\uff0c\u9ed8\u8ba4\u7684dedecms\u6807\u7b7e\u662f\u52a8\u6001\u7684\uff0c\u4e5f\u6709\u5f88\u591a\u7f51\u7ad9\u5229\u7528\u6807\u7b7e\u9759\u6001\u5316\u6765\u63d0\u5347\u7f51\u7ad9\u7684\u6536\u5f55\u3002<\/p>\n \u5176\u4e2drow\u8868\u793a\u6807\u7b7e\u6570\u91cf\uff0csort\u4e3anew\u5219\u8868\u793a\u8c03\u7528\u7684\u662f\u6700\u65b0\u6807\u7b7e\uff0c\u5982\u679c\u8981\u8c03\u7528\u70ed\u95e8\u6807\u7b7e\u53ef\u4ee5\u628a\u53c2\u6570\u6539\u4e3amonth\uff0c\u800c\u6539\u4e3arand\u5219\u662f\u8c03\u7528\u7684\u968f\u673a\u6807\u7b7e\u3002<\/p>\n \u5206\u7c7b\u680f\u76ee\u6807\u9898\u6dfb\u52a0\u5206\u9875\u7801<\/p>\n <\/strong>\u5728\u7f51\u7ad9\u5404\u5206\u7c7b\u680f\u76ee\u6dfb\u52a0\u4e00\u5b9a\u6570\u91cf\u5185\u5bb9\u4e4b\u540e\uff0c\u6587\u7ae0\u5217\u8868\u81ea\u7136\u800c\u7136\u4f1a\u5f62\u6210\u5206\u9875\uff0c\u5982\u679c\u680f\u76ee\u6807\u9898\u4e0d\u6dfb\u52a0\u5206\u9875\u7801\u7528\u6765\u6807\u8bb0\u5f53\u524d\u9875\u6570\uff0c\u90a3\u5c31\u5f88\u5bb9\u6613\u51fa\u73b0\u8f83\u591a\u76f8\u540c\u6807\u9898\u7684\u9875\u9762\uff0c\u8fd9\u4e2a\u65f6\u5019\u4e3a\u4e86SEO\u4e0a\u7684\u8003\u8651\u5c31\u4f1a\u9700\u8981\u7ed9\u5404\u680f\u76ee\u6807\u9898\u6dfb\u52a0\u9875\u7801\uff0c\u4e00\u65b9\u9762\u53ef\u4ee5\u5f88\u76f4\u63a5\u7684\u4ece\u7f51\u9875\u6807\u9898\u544a\u8bc9\u7528\u6237\u5f53\u524d\u9875\u6570\uff0c\u53e6\u4e00\u65b9\u9762\u907f\u514d\u4e86\u76f8\u540c\u6807\u9898\u7684\u7f51\u9875\u51fa\u73b0\uff0c\u4e0b\u9762\u662f\u7ed9\u5206\u7c7b\u9875\u6dfb\u52a0\u9875\u7801\u7684\u4ee3\u7801\uff1a<\/p>\n \u5176\u4e2d{dede:field.title\/}\u4e3a\u5f53\u524d\u5206\u7c7b\u540d\u79f0\uff0c\u4e2d\u95f4\u7684\u4e00\u957f\u4e32\u4ee3\u7801\u662f\u8c03\u7528\u5f53\u524d\u9875\u7801\u7684\uff0c\u4f7f\u7528\u8be5\u4ee3\u7801\u5c31\u80fd\u8ba9\u5206\u7c7b\u6807\u9898\u663e\u793a\u4e3a”\u5206\u7c7b\u540d\u79f0 - \u7b2c\u51e0\u9875 - \u7f51\u7ad9\u540d\u79f0“\u7684\u5f62\u5f0f\uff0c\u540c\u6837\u7684\u8be5\u4ee3\u7801\u9002\u7528\u4e8e\u6587\u7ae0\u5206\u9875\u6807\u9898\u3001\u6807\u7b7e\u5206\u9875\u6807\u9898\u4e2d\u9875\u7801\u7684\u6dfb\u52a0\u3002<\/p>\n \u76f8\u6bd4\u5176\u4ed6\u4e00\u4e9b\u5f00\u6e90\u5efa\u7ad9\u7a0b\u5e8f\u800c\u8a00\uff0cdedecms\u5e94\u8be5\u662f\u5f88\u5bb9\u6613\u4f7f\u7528\u548c\u4e0a\u624b\u7684\u4e86\uff0c\u6bd5\u7adf\u4f7f\u7528\u7684\u4eba\u591a\uff0c\u5373\u4fbf\u662f\u9700\u8981\u4fee\u6539\u4e00\u4e9b\u4ee3\u7801\u6216\u8005\u8bbe\u7f6e\u53c2\u6570\u4e4b\u7c7b\u7684\u95ee\u9898\u57fa\u672c\u4e0a\u90fd\u80fd\u5728\u7f51\u4e0a\u627e\u5230\u89e3\u51b3\u65b9\u6848\uff0c\u4ee5\u540e\u6709\u5173dedecms\u7684\u4e00\u4e9b\u4ee3\u7801\u6211\u4e5f\u4f1a\u8fdb\u884c\u641c\u96c6\u6574\u7406\u4e00\u5e76\u53d1\u5e03\u5230\u672c\u6587\uff0c\u5bf9dedecms\u5f88\u719f\u6089\u7684\u670b\u53cb\u5982\u679c\u8fd8\u6709\u6bd4\u8f83\u597d\u7684\u4ee3\u7801\u4e5f\u53ef\u4ee5\u5206\u4eab\u51fa\u6765\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" \u5927\u5bb6\u5bf9dedecms\u8fd9\u4e2a\u7a0b\u5e8f\u76f8\u5f53\u7684\u719f\u6089\u4e86\uff0c\u5728\u56fd\u5185\u5f88\u591a\u8d44\u8baf\u7c7b\u7ad9\u70b9\u6216\u8005\u662f\u4f01\u4e1a\u7ad9\u70b9\u90fd\u662f\u4f7f\u7528\u8be5\u7a0b\u5e8f\u642d\u5efa\u7684\uff0c\u5f53\u7136\u5f88\u5927\u90e8\u5206 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1657","post","type-post","status-publish","format-standard","hentry","category-web"],"_links":{"self":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/1657","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/comments?post=1657"}],"version-history":[{"count":0,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/1657\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/media?parent=1657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/categories?post=1657"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/tags?post=1657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}{dede:likearticle col='2' row='10' titlelen='55'} \r\n<li><a href=\"[field:arcurl\/]\">[field:title\/]<\/a><\/li> \r\n{\/dede:likearticle}\u00a0<\/code><\/pre>\n
$typeid = \" AND arc.typeid IN($typeid) AND arc.id<>$arcid \"; <\/code><\/pre>\n
$typeid = \" And arc.id<>$arcid \";\u00a0<\/code><\/pre>\n
{dede:arclist typeid='2' col='2' row='10' titlelen='55' orderby='rand'} \r\n<li><a href=\"[field:arcurl\/]\">[field:title\/]<\/a><\/li>\r\n{\/dede:arclist}\u00a0<\/code><\/pre>\n
{dede:tag row='60' sort='new'} \r\n<a href='[field:link\/]' class='tagc[field:highlight \/]'>[field:tag \/]<\/a> \r\n{\/dede:tag}\u00a0<\/code><\/pre>\n
{dede:field.title\/} - {dede:pagelist listitem=\"pageno\" listsize=\"0\" runphp='yes'}@me=trim(strip_tags(@me));if (is_numeric(@me)){if (@me!='1') @me='-\u7b2c('.@me.')\u9875';else @me=\"\";}else @me=\"\";{\/dede:pagelist} - {dede:global.cfg_webname\/}\u00a0<\/code><\/pre>\n