简体   繁体   中英

nginx + wordpress + permalink - working except /feed/

I've a pretty much working web server, running on Debian 6.0.3, nginx + php-fpm, with wordpress as my blog backend. I've done the setup using bash script from lempstack

Permalink is working for my pages and posts except feed. I get 404 from mydomain.com/feed/ but it works if I've already login, which is not what I wanted.

I'm trying to debug the redirect, wordpress is the one throwing 404. I've tried variation of nginx site config but still the same outcome. Has anyone face the same problem before?

Finally found the issue, has nothing to do with nginx or php. Apparently if there's no post at all, accessing rss feed with return 404. It works when I login, as I have a few private posts.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM