﻿{"id":479,"date":"2023-11-01T08:55:07","date_gmt":"2023-11-01T00:55:07","guid":{"rendered":"https:\/\/blog.yyspark.com\/?p=479"},"modified":"2023-11-01T08:55:28","modified_gmt":"2023-11-01T00:55:28","slug":"wordpress%e8%ae%bf%e9%97%ae-wp-json-%e8%bf%94%e5%9b%9e404","status":"publish","type":"post","link":"https:\/\/airlive.online\/index.php\/2023\/11\/01\/wordpress%e8%ae%bf%e9%97%ae-wp-json-%e8%bf%94%e5%9b%9e404\/","title":{"rendered":"WordPress\u8bbf\u95ee\/wp-json\/ \u8fd4\u56de404"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>#\u8fd9\u884c\u662f\u4e3a\u4e86\u9632\u6b62\u6253\u5f00\u540e\u53f0\u3001\u63d2\u4ef6\u9875\u7b49\u6253\u4e0d\u5f00\u7684\u3002\nif (-f $request_filename\/index.html){\nrewrite (.*) $1\/index.html break;\n}\nif (-f $request_filename\/index.php){\nrewrite (.*) $1\/index.php;\n}\nif (!-f $request_filename){\nrewrite (.*) \/index.php;\n}\nrewrite \/wp-admin$ $scheme:\/\/$host$uri\/ permanent;\n#\u8fd9\u884c\u662f\u4e3a\u4e86\u9632\u6b62\u6253\u5f00\u540e\u53f0\u3001\u63d2\u4ef6\u9875\u7b49\u6253\u4e0d\u5f00\u7684\u3002<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">WordPress\u8bbf\u95ee\/wp-json\/ \u8fd4\u56de404,\u65e0\u6cd5\u67e5\u770b\u8be6\u60c5\u9875\uff0c\u65e0\u6cd5\u53d1\u5e03POST,\u5728nginx\u914d\u7f6e\u91cc\u9762\u6dfb\u52a0\u4ee5\u4e0a\u4ee3\u7801<\/h2>\n","protected":false},"excerpt":{"rendered":"<p>WordPress\u8bbf\u95ee\/wp-json\/ \u8fd4\u56de404,\u65e0\u6cd5\u67e5\u770b\u8be6\u60c5\u9875\uff0c\u65e0\u6cd5\u53d1\u5e03POST,\u5728nginx\u914d\u7f6e\u91cc\u9762\u6dfb\u52a0\u4ee5\u4e0a\u4ee3\u7801<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-479","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/airlive.online\/index.php\/wp-json\/wp\/v2\/posts\/479","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/airlive.online\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/airlive.online\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/airlive.online\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/airlive.online\/index.php\/wp-json\/wp\/v2\/comments?post=479"}],"version-history":[{"count":2,"href":"https:\/\/airlive.online\/index.php\/wp-json\/wp\/v2\/posts\/479\/revisions"}],"predecessor-version":[{"id":481,"href":"https:\/\/airlive.online\/index.php\/wp-json\/wp\/v2\/posts\/479\/revisions\/481"}],"wp:attachment":[{"href":"https:\/\/airlive.online\/index.php\/wp-json\/wp\/v2\/media?parent=479"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/airlive.online\/index.php\/wp-json\/wp\/v2\/categories?post=479"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/airlive.online\/index.php\/wp-json\/wp\/v2\/tags?post=479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}