开发者

nginx - 404 not found page for permalinks [closed]

Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 9 years ago.

开发者_JAVA技巧 Improve this question

Me and my friend have had a website (http://www.ferfereh.ir - sorry not english) for a year. We've been using a Linux Apache host with wordpress installed. Now suddenly all of our posts (which had a permalink structure = /%category%/%postname%.html) have broke and says:

404 Not found

nginx

Maybe our host provider has installed NginX. I don't know what Nginx exactly is but I read somewhere that it has some conflicts with the .htaccess configurations which makes our permalinks, is that right.

What should I do?

Many Thanks


try_files $uri $uri/ /index.php?q=$uri&$args; solves the problem nicely. Do not forget to restart nginx!

more info

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜