nginx wordpress 伪静态规则配置

其实很容易 只需要在/etc/nginx/  , 也有可能是/usr/local/nginx/conf之类的文件夹底下的nginx.conf添加多一句就行了

location /
{
try_files $uri $uri/ /index.php?q=$uri&$args;
}

All posts

Other pages

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注