需要将以下代码添加到配置文件中
# WordPress伪静态支持 - 开始
location / {
try_files $uri $uri/ /index.php?$args;
}
rewrite /wp-admin$ $scheme://$host$uri/ permanent;
# WordPress伪静态支持 - 结束
需要将以下代码添加到配置文件中
# WordPress伪静态支持 - 开始
location / {
try_files $uri $uri/ /index.php?$args;
}
rewrite /wp-admin$ $scheme://$host$uri/ permanent;
# WordPress伪静态支持 - 结束