wordpress nginx rewrite

在/wp-admin/options-permalink.php设置使用自定义结构以后,配置nginx的rewrite如下: location / { if (-f $request_filename/index.html){ rewrite (.*) $1/index.html break; } if (-f $request_filename/index.php){ rewrite (.*) $1/index.php; } if (!-f $request_filename){ [...]

你可能感兴趣的:(html,nginx,PHP,wordpress,F#)