NginxヘルプWordpressカスタムパーマリンクリライトの問題。NginxヘルプWordpressカスタムパーマリンクリライト
テストサイト:http://unknown/blog/ ポストリンク:?http://unknown/blog/archives/2604.html(404エラー)
私のパーマリンクの設定は '/archives/%post_id%.html'
index.phpを$ argsをです。 argsは '.html'認識ではありません。
location /blog/ {
try_files $uri $uri/ /blog/index.php?$args;
}
$ argsを は、可能な '/アーカイブ/%post_idのの%' であることは不可能である '/archives/%post_id%.html'
私のすべての投稿のリンクは、私は助けを必要とする '.htmlを' です!