【问题标题】:Wordpress subdirectory not working on nginx serverWordpress 子目录在 nginx 服务器上不起作用
【发布时间】:2018-03-14 11:43:48
【问题描述】:

我在 vankool.com/vietnamese 上安装了一个 wordpress 多站点,但它不能正常工作。 wp-admin 也显示错误。我认为这是因为我正在运行 nginx 服务器。我已经尝试过,但 .htaccess 文件在这种情况下不起作用(并且读到它不会起作用)。 我也尝试了 wordpress nginx 配置,但这对我也不起作用。

我是 nginx 服务器的新手。你能帮我为wordpress多站点设置nginx吗?

提前致谢

【问题讨论】:

    标签: php wordpress .htaccess nginx


    【解决方案1】:

    查看 Nginx 配置会有所帮助,但请检查您的 try_files 指令。

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

    【讨论】:

      猜你喜欢
      • 2016-01-28
      • 1970-01-01
      • 2011-02-04
      • 2014-05-28
      • 1970-01-01
      • 2017-10-27
      • 1970-01-01
      • 1970-01-01
      • 2017-08-22
      相关资源
      最近更新 更多