I am trying to configure Nginx as reverse proxy server along with Apache2.I have build Nginx with page_speed module by following Google developer tutorial build_ngx_pagespeed_from_source.

Things seems to be working fine up to certain extend but at certain points it is giving me 404 error.

If I remove Nginx from the stack, everything is working fine,for me it seems, I am missing some configurations in Nginx

Home Page is opening perfectly fine and so are few other pages, for example

http://name/tr/destination/himachal-pradesh/dalhousie is working perfectly fine, but when I am clicking on any post, I am getting 404 error.

Custom URL pattern is configured in WordPress

http://name/tr/%year%/%monthnum%/%postname%.html

So when I am clicking a URL

http://name/tr/2011/11/dalhousie-lap-of-nature.html

I am getting 404 from Nginx.

My Nginx configuration is Nginx Configuration.
Everything is running on CentOs 6.5

Read more here: WordPress showing 404 error when configuring Apache with Nginx


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Related Wordpress search:

, , , , ,

Wordpress related questions and answers: