admin管理员组文章数量:1122832
I can't solve this issue. I tried everything I found over the web. I first tried configuring my nginx.conf following the example on codex with no success.
I found that many users encounter this issue but the most popular fix is this:
location / {
try_files $uri $uri/ /index.php?$args;
}
I still get 404 for all pages. This only happens if I don't use the Plain setting in permalinks structure.
Any ideas on how can I fix this? Thank you!
I can't solve this issue. I tried everything I found over the web. I first tried configuring my nginx.conf following the example on codex with no success. https://codex.wordpress.org/Nginx
I found that many users encounter this issue but the most popular fix is this:
location / {
try_files $uri $uri/ /index.php?$args;
}
I still get 404 for all pages. This only happens if I don't use the Plain setting in permalinks structure.
Any ideas on how can I fix this? Thank you!
Share Improve this question asked May 20, 2016 at 11:41 alexandrucarjanalexandrucarjan 1715 bronze badges 1- 1 This is way too little information. Probably there is some conflict with a plugin. Disable them all, see if the problem is still there. Then switch them on one by one and see what happens. – cjbj Commented May 20, 2016 at 15:51
1 Answer
Reset to default 0After hours of debugging, I can't say exactly what the problem was, however disabling all the plugin solved the issue. It wasn't one particular plugin, I then re-enabled all of them and everything was fine. Thank you for your interest!
本文标签: phpHow to solve 404 permalink errors on nginx server
版权声明:本文标题:php - How to solve 404 permalink errors on nginx server 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736291415a1928719.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论