{"id":50,"date":"2026-11-06T14:25:01","date_gmt":"2026-11-06T06:25:01","guid":{"rendered":"http:\/\/pro369.com\/blog\/?p=50"},"modified":"2026-11-06T07:48:06","modified_gmt":"2026-11-06T07:48:06","slug":"%ef%bc%88wordpress%e9%9d%9c%e6%85%8b%e9%80%a3%e7%b5%90%e8%a8%ad%e5%ae%9a%e6%8a%80%e5%b7%a7%ef%bc%89wordpress%e6%b0%b8%e4%b9%85%e5%9b%ba%e5%ae%9a%e9%80%a3%e7%b5%90%e6%80%8e%e9%ba%bc%e8%a8%ad%e5%ae%9ae","status":"publish","type":"post","link":"https:\/\/por.tw\/blog\/2026\/11\/06\/%ef%bc%88wordpress%e9%9d%9c%e6%85%8b%e9%80%a3%e7%b5%90%e8%a8%ad%e5%ae%9a%e6%8a%80%e5%b7%a7%ef%bc%89wordpress%e6%b0%b8%e4%b9%85%e5%9b%ba%e5%ae%9a%e9%80%a3%e7%b5%90%e6%80%8e%e9%ba%bc%e8%a8%ad%e5%ae%9ae\/","title":{"rendered":"\uff08WordPress\u975c\u614b\u9023\u7d50\u8a2d\u5b9a\u6280\u5de7\uff09wordpress\u6c38\u4e45\u56fa\u5b9a\u9023\u7d50\u600e\u9ebc\u8a2d\u5b9a\uff1f"},"content":{"rendered":"<p><span style=\"font-size: 16px; color: #008000;\"><strong>\u00a0\u00a0 \uff08WordPress\u975c\u614b\u9023\u7d50\u8a2d\u5b9a\u6280\u5de7\uff09wordpress\u6c38\u4e45\u56fa\u5b9a\u9023\u7d50\u600e\u9ebc\u8a2d\u5b9a\uff1f<\/strong><\/span><\/p>\n<p><span style=\"font-size: 16px;\"><strong>wordpress\u56fa\u5b9a\u9023\u7d50\u8a2d\u5b9a\u5176\u5be6\u5c31\u662f\u4fee\u6539WordPress\u76ee\u9304\u3001\u9801\u9762\u6216\u662f\u5e16\u5b50\u7684\u8d85\u9023\u7d50\u4e5f\u5373URL\u7684\u5f62\u5f0f<br \/>\n\u9019\u88e1\u7684\u56fa\u5b9a\u65e2\u53ef\u4ee5\u7406\u89e3\u70ba\u52d5\u8a5e\u4e5f\u53ef\u4ee5\u7406\u89e3\u70ba\u5f62\u5bb9\u8a5e\u3002<br \/>\n\u53ea\u6709\u901a\u904e\u56fa\u5b9a\u9023\u7d50\uff0c\u4f60\u624d\u80fd\u627e\u5230\u9019\u500b\u76ee\u9304\u3002\u7531\u6b64\u53ef\u898b\uff0c\u56fa\u5b9a\u9023\u7d50\u5728\u90e8\u843d\u683c\u4e2d\u7684\u91cd\u8981\u6027\u3002<\/strong><\/span><\/p>\n<p><span style=\"font-size: 16px;\"><strong>\u5c0d\u65bcwordpress\u4f7f\u7528\u8005\u800c\u8a00\uff0c\u638c\u63e1\u4e00\u4e0b\u4e00\u4e9b\u56fa\u5b9a\u9023\u7dda\u7684\u8a2d\u5b9a\u53c3\u6578\u548c\u6280\u5de7\uff0c\u5247\u80fd\u5920\u8b93\u5225\u4eba\u66f4\u597d\u7684\u627e\u5230\u4f60\u7684\u90e8\u843d\u683c\u3002<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/por.tw\/blog\/wp-content\/uploads\/2026\/11\/blog720X405-0001-A-300x169.jpg\" alt=\"\" width=\"300\" height=\"169\" class=\"alignnone size-medium wp-image-9484\" srcset=\"https:\/\/por.tw\/blog\/wp-content\/uploads\/2026\/11\/blog720X405-0001-A-300x169.jpg 300w, https:\/\/por.tw\/blog\/wp-content\/uploads\/2026\/11\/blog720X405-0001-A.jpg 720w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><br \/>\n<\/strong><\/span><\/p>\n<p><span style=\"font-size: 16px; background-color: #ff0000; color: #ffff00;\"><strong>wordpress\u6c38\u4e45\u56fa\u5b9a\u9023\u7d50\u8a2d\u5b9a\u53c3\u6578\uff1a<\/strong><\/span><\/p>\n<p><span style=\"font-size: 16px;\"><strong><span style=\"color: #800000;\">WordPress\u5b98\u65b9\u6587\u4ef6\u6e05\u55ae\u5982\u4e0b\uff1a<\/span><\/strong><\/span><\/p>\n<p><span style=\"font-size: 16px;\"><strong>1. %year%<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u57fa\u65bc\u6587\u7ae0\u767c\u4f48\u5e74\u4efd\uff0c\u6bd4\u59822007\uff1b<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>2. %monthnum%<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u57fa\u65bc\u6587\u7ae0\u767c\u4f48\u6708\u4efd\uff0c\u6bd4\u598205\uff1b<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>3. %day%<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u57fa\u65bc\u6587\u7ae0\u767c\u4f48\u7576\u65e5\uff0c\u6bd4\u598228\uff1b<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>4. %hour%<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u57fa\u65bc\u6587\u7ae0\u767c\u4f48\u5c0f\u6642\u6578\uff0c\u6bd4\u598215\uff1b<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>5. %minute%<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u57fa\u65bc\u6587\u7ae0\u767c\u4f48\u5206\u9418\u6578\uff0c\u6bd4\u598243\uff1b<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>6. %second%<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u57fa\u65bc\u6587\u7ae0\u767c\u4f48\u79d2\u6578\uff0c\u6bd4\u598233\uff1b<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>7. %postname%<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u57fa\u65bc\u6587\u7ae0\u7684postname\uff0c\u5176\u503c\u70ba\u64b0\u5beb\u6642\u7279\u6b8a\u7684\u7e2e\u7565\u540d\uff0c\u4e0d\u6307\u5b9a\u7e2e\u7565\u540d\u6642\u662f\u6587\u7ae0\u6a19\u984c\uff1b<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>8. %post_id%<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u57fa\u65bc\u6587\u7ae0post_id\uff0c\u6bd4\u5982423\uff1b<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>9. %category%<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u57fa\u65bc\u6587\u7ae0\u5206\u985e\uff0c\u5b50\u5206\u985e\u6703\u8655\u7406\u6210\u300c\u5206\u985e\/\u5b50\u5206\u985e\u300d\u9019\u7a2e\u5f62\u5f0f\uff1b<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>10. %author%<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u57fa\u65bc\u6587\u7ae0\u4f5c\u8005\u540d\u3002<\/strong><\/span><\/p>\n<p><span style=\"font-size: 16px;\"><strong>\u5c07\u4e0a\u8ff0\u53c3\u6578\u9032\u884c\u7d44\u5408\uff0c\u5373\u53ef\u5f97\u5230wordpress\u7684\u56fa\u5b9a\u9023\u7d50\u5f62\u5f0f\u3002\u7db2\u4e0a\u5e38\u898b\u7684\u5e7e\u7a2e\u8a2d\u5b9a\u65b9\u6cd5\uff1a<\/strong><\/span><\/p>\n<p><span style=\"font-size: 16px;\"><strong>\/%year%\/%monthnum%\/%day%\/%postname%\/<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\/%year%\/%monthnum%\/%postname%\/<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\/%year%\/%monthnum%\/%day%\/%postname%.html<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\/%year%\/%monthnum%\/%postname%.html<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\/%category%\/%postname%.html<\/strong><\/span><\/p>\n<p><span style=\"font-size: 16px;\"><strong>\/%postname%.html(Example:http:\/\/dota.shandian.biz\/lgd-vs-nv-cn-u9-league-final-video.html)<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\/%post_id%.html(\u9583\u96fb\u90e8\u843d\u683c\u7db2\u9801\u6a23\u5f0f\u5c31\u662f\u5982\u6b64)<\/strong><\/span><\/p>\n<p><span style=\"font-size: 16px;\"><strong>WordPress\u6c38\u4e45\u9023\u7d50\u8a2d\u5b9a\u6280\u5de7\uff1a<\/strong><\/span><\/p>\n<p><span style=\"font-size: 16px;\"><strong><span style=\"color: #008000;\">\u4e00\u3001\u4e0d\u8981\u8b93\u65e5\u671f\u51fa\u73fe\u5728wordpress\u56fa\u5b9a\u9023\u7d50\u88e1\u9762<\/span><\/strong><\/span><\/p>\n<p><span style=\"font-size: 16px;\"><strong>\u9019\u57fa\u65bc\u5169\u500b\u65b9\u9762\u7684\u8003\u616e\u3002\u4e00\u662f\u5982\u679c\u6578\u5b57\u51fa\u73fe\u5728\u56fa\u5b9a\u9023\u7d50\u88e1\u9762\uff0c\u7b49\u65bc\u63d0\u9192\u641c\u5c0b\u5f15\u64ce\uff0c\u9019\u662f\u5f88\u820a\u7684\u5167\u5bb9\u4e86\uff0c\u6c92\u5fc5\u8981\u518d\u722c\u4e00\u904d\u4e86\u3002\u53e6\u5916\u4e00\u500b\u539f\u56e0\u662f\uff0c\u5047\u5982\u4f60\u8981\u4fee\u6539\u6587\u7ae0\u7684\u65e5\u671f\u91cd\u65b0\u767c\u4f48\u7684\u8a71\uff0c\u9023\u7d50\u4f4d\u5740\u5c31\u8b8a\u4e86\uff0c\u4e5f\u5c31\u662f\u610f\u5473\u8457\u4f60\u7684\u53cd\u5411\u9023\u7d50\uff0cPR \u7b49\u7b49\u90fd\u6c92\u6709\u4e86\u3002<\/strong><\/span><\/p>\n<p><span style=\"font-size: 16px;\"><strong><span style=\"color: #800080;\">\u4e8c\u3001\u4e0d\u8981\u8b93\u5206\u985e\u7684\u9023\u7d50\u51fa\u73fe\u5728\u56fa\u5b9a\u9023\u7d50\u88e1\u9762<\/span><\/strong><\/span><\/p>\n<p><span style=\"font-size: 16px;\"><strong>\u9019\u4e00\u9ede\u662f\u5f88\u591a\u4eba\u90fd\u6703\u5ffd\u7565\u7684\u5730\u65b9\u3002\u8b93\u5206\u985e\u51fa\u73fe\u5728\u56fa\u5b9a\u9023\u7d50\u88e1\u9762\u6709\u5169\u500b\u7f3a\u9677\uff1a\u4e00\u662f\u4e00\u7bc7\u6587\u7ae0\u5982\u679c\u9078\u53d6\u4e86\u591a\u500b\u5206\u985e\u7684\u8a71\uff0c\u5247\u6703\u51fa\u73fe\u591a\u500b\u9023\u7d50\u4f4d\u5740\uff0c\u9019\u5f88\u5bb9\u6613\u9020\u6210\u56e0\u70ba\u91cd\u8907\u5167\u5bb9\u800c\u88ab\u641c\u5c0b\u5f15\u64ce\u61f2\u7f70\uff1b\u4e8c\u662f\u6709\u53ef\u80fd\u6703\u9020\u6210\u95dc\u9375\u8a5e\u5806\u780c\u800c\u88ab\u641c\u5c0b\u5f15\u64ce\u61f2\u7f70\u3002<\/strong><\/span><\/p>\n<p><span style=\"font-size: 16px;\"><strong><span style=\"color: #008080;\">\u4e09\u3001\u9023\u7d50\u4e0d\u8981\u904e\u6df1<\/span><\/strong><\/span><\/p>\n<p><span style=\"font-size: 16px;\"><strong>\u9019\u4e00\u9ede\u7d93\u5e38\u770b\u5230\u3002\u5f88\u591awordpress \u4f7f\u7528\u8005\u7684\u56fa\u5b9a\u9023\u7d50\u662f\u5e74\/\u6708\/\u65e5\/\u5206\u985e\u540d\/\u6587\u7ae0\u540d\u3002\u9019\u7a2e\u904e\u65bc\u6df1\u7684\u56fa\u5b9a\u9023\u7d50\u5c0d\u641c\u5c0b\u5f15\u64ce\u662f\u975e\u5e38\u4e0d\u53cb\u597d\u7684\u3002<\/strong><\/span><\/p>\n<p><span style=\"font-size: 16px;\"><strong><span style=\"color: #800000;\">\u56db\u3001\u4e0d\u8981\u8b93\u4e2d\u6587\u5b57\u5143\u51fa\u73fe\u5728\u56fa\u5b9a\u9023\u7d50\u88e1\u9762<br \/>\n<\/span><br \/>\n\u96d6\u7136\u73fe\u5728\u7684\u641c\u5c0b\u5f15\u64ce\u5df2\u7d93\u80fd\u8b58\u5225URL\u4f4d\u5740\u88e1\u9762\u7684\u4e2d\u6587\u5b57\u5143\uff0c\u4f46\u7121\u8ad6\u662f\u5f9e\u7f8e\u89c0\u4e0a\uff0c\u9084\u662f\u5f9ewordpress\u6539\u5584\u7684\u89d2\u5ea6\u4f86\u770b\uff0c\u90fd\u662f\u975e\u5e38\u5dee\u7684\u3002<\/strong><\/span><\/p>\n<p><span style=\"font-size: 16px;\"><strong>Win\u4f3a\u670d\u5668\u4e0b\u8a2d\u5b9aWordPress\u56fa\u5b9a\u9023\u7d50\u507d\u975c\u614b<\/strong><\/span><\/p>\n<p><span style=\"font-size: 16px;\"><strong>\u53ea\u8981\u4e3b\u96fb\u8166\u652f\u63f4\u81ea\u8a02404\u9801\u9762\uff0c\u7121\u9700\u5b89\u88dd\u5916\u639b\u7a0b\u5f0f\uff0c\u5c31\u80fd\u8b93Win\u4e3b\u96fb\u8166\u50cfLinux\u90a3\u6a23\uff0c\u65b9\u4fbf\u4f7f\u7528WordPress\u7684\u56fa\u5b9a\u9023\u7d50\u70ba\u975c\u614b\u5316\u4f4d\u5740\u683c\u5f0f\u3002<\/strong><\/span><\/p>\n<p><span style=\"font-size: 16px;\"><strong>&lt;?php<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>$qs = $_SERVER[&#8216;QUERY_STRING&#8217;];<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>$_SERVER[&#8216;REQUEST_URI&#8217;] = substr($qs, strpos($qs, &#8216;:80&#8217;)+3);<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>$_SERVER[&#8216;PATH_INFO&#8217;] = $_SERVER[&#8216;REQUEST_URI&#8217;];<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>include(&#8216;index.php&#8217;);<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>?&gt;<\/strong><\/span><\/p>\n<p><span style=\"font-size: 16px;\"><strong><span style=\"color: #ff00ff;\">\u8a2d\u5b9a\u56fa\u5b9a\u9023\u7d50\uff08Permalink\uff09\u507d\u975c\u614b\u6b65\u9a5f\uff1a<\/span><\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>1. \u5c07\u4ee5\u4e0a\u4ee3\u78bc\u5132\u5b58\u70ba 404.php\uff0c\u4e26\u4e0a\u50b3\u81f3\u4e3b\u96fb\u8166\u6839\u76ee\u9304\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>2. \u8a2d\u5b9a 404 \u81ea\u8a02\u932f\u8aa4\u9801\u70ba 404.php\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>3. \u9032\u5165 WordPress \u63a7\u5236\u53f0\uff0c\u8a2d\u5b9a\uff08Options\uff09- WordPress\u56fa\u5b9a\u9023\u7d50\uff08Permalinks\uff09,\u9078\u53d6\u56fa\u5b9a\u9023\u7d50\u683c\u5f0f\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u5982\u679c\u4f60\u89ba\u5f97\u4e0a\u9762\u65b0\u589e404\u9801\u9762\u592a\u9ebb\u7169\u4e86!\u90a3\u6211\u7d66\u4f60\u63a8\u85a6\u4e00\u500b\u5916\u639b\u7a0b\u5f0f\u5427!\u90a3\u5c31\u662fPermalinks Migration Plugin<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong><br \/>\nPermalinks Migration Plugin\u7684\u4e3b\u8981\u539f\u7406\u662f\u5229\u7528\u300c301\u8f49\u5411\u300d\u4f86\u5be6\u73fe\u65e2\u4e0d\u4e1f\u5931\u539f\u6709\u7684\u9023\u7d50\uff0c\u540c\u6642\u53c8\u8b93\u8b80\u8005\u548c\u641c\u5c0b\u5f15\u64ce\u77e5\u9053\uff0c\u4f60\u5df2\u7d93\u4fee\u6539\u4e86\u56fa\u5b9a\u9023\u7d50\u7684\u6548\u679c\uff0c\u8b93\u4ed6\u5011\u76e1\u5feb\u66f4\u65b0\u9023\u7d50\u3002<\/strong><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"post-excerpt\"><p>\u00a0\u00a0 \uff08WordPress\u975c\u614b\u9023\u7d50\u8a2d\u5b9a\u6280\u5de7\uff09wordpress\u6c38\u4e45\u56fa\u5b9a\u9023\u7d50\u600e\u9ebc\u8a2d\u5b9a\uff1f wordpress\u56fa\u5b9a\u9023<\/p>\n<\/div>","protected":false},"author":1,"featured_media":9484,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[34],"class_list":["post-50","post","type-post","status-publish","format-standard","has-post-thumbnail","category-wordpress-","tag-wordpress-"],"_links":{"self":[{"href":"https:\/\/por.tw\/blog\/wp-json\/wp\/v2\/posts\/50","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/por.tw\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/por.tw\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/por.tw\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/por.tw\/blog\/wp-json\/wp\/v2\/comments?post=50"}],"version-history":[{"count":1,"href":"https:\/\/por.tw\/blog\/wp-json\/wp\/v2\/posts\/50\/revisions"}],"predecessor-version":[{"id":9485,"href":"https:\/\/por.tw\/blog\/wp-json\/wp\/v2\/posts\/50\/revisions\/9485"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/por.tw\/blog\/wp-json\/wp\/v2\/media\/9484"}],"wp:attachment":[{"href":"https:\/\/por.tw\/blog\/wp-json\/wp\/v2\/media?parent=50"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/por.tw\/blog\/wp-json\/wp\/v2\/categories?post=50"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/por.tw\/blog\/wp-json\/wp\/v2\/tags?post=50"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}