yo

    固定链接设置 wordpress文章发布后,nginx报404解决方法

    2018/12 27 08:12

    修改nginx.conf文件,在location /节点下添加如下代码:

     

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

    --转载请注明: http://91o.cc/%e5%9b%ba%e5%ae%9a%e9%93%be%e6%8e%a5%e8%ae%be%e7%bd%ae-wordpress%e6%96%87%e7%ab%a0%e5%8f%91%e5%b8%83%e5%90%8e%ef%bc%8cnginx%e6%8a%a5404%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95/

    作者 admin - 分类 Uncategorized

    上一篇: Nginx 301重定向域名

    下一篇: linux新建ftp用户并限制访问路径

    CopyRight © 2021 yo. olo Theme 由 WordPress 强力驱动