Jump to content


Photo
- - - - -

404 pages not working

404 nginx

  • Please log in to reply
3 replies to this topic

#1 infogroupsmb

infogroupsmb

    Advanced Member

  • Members

  • 37 posts
  • Country: Country Flag

Posted 18 July 2013 - 04:53 PM

Hello,
 
We are migrating from a Rackspace Apache server to an Nginx server in AWS.  We have already switched over our dev and our test environments and were hoping to switch over the production environment tonight but there is an issue occurring in prod that isn't in dev or test.
 
All 404 pages that used to get the custom PL 404 page aren't working.  So for instance www.infousa.com/x gives a 404 in fiddler, but the custom PL 404 page doesn't show up.  
 
Since this site is not "live" yet to check out what I'm talking about you have to add the following to your hosts file:
 
 54.236.173.119 www.infousa.com  infousa.com
 
Then you can check a working page like www.infousa.com/sales-leads compared to www.infousa.com/x   Can anyone suggest what files or PL settings I might investigate to try and get the 404 page working again?
 
Thanks,


#2 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 18 July 2013 - 06:51 PM

It isnt a PageLines setting or indeed a WordPress setting.

 

You just need to configure nginx properly. 

Please Login or Register to see this Hidden Content

;)



#3 infogroupsmb

infogroupsmb

    Advanced Member

  • Members

  • 37 posts
  • Country: Country Flag

Posted 18 July 2013 - 06:54 PM

Well...our infrastructure team did a roll back of the files and then the 404 started working again.  So it seems to be something with the files.



#4 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 19 July 2013 - 06:01 PM

Or your permalinks were not updated, and couldn't place files in proper context.  Did you infrastructure team try updating permalinks?







Also tagged with one or more of these keywords: 404, nginx