在 Nginx 下使用 WordPress 的固定链接的设置

在站点配置文件与 WordPress 相关的 location 下增加下面 一行代码即可正常使用 WordPress 的固定链接功能:

try_files $uri $uri/ /index.php?$args;

鲁公网安备 37010202001399号 鲁ICP备18034499号-1