-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In Private/Incognito tabs, www.earmilk.com loads non-existent cached fiiles and doesn't forward to non-www #9
Comments
Turning off W3 Total Cache seems to fix it. But why? |
Not sure but I've never had complete success with caching stuffs. Its probably the way the caching communicates with the the server and related to file permissions perhaps? Sent from my iPhone
|
Yeah, I think that's exactly it. It seems W3TC has some issue with I'll have this solved soon. Seriously, with pleasure and optimism, Andre Bulatov, full stack web developerw: http://andrebulatov.com On Sun, Jan 24, 2016 at 12:44 AM, Montrey Whittaker <
|
I think the problem is that though you've made sure to include There is also a file named So, I think it's that in /etc/nginx/sites-availabe/earmilk.com.conf this:
Needs to point to the
I've made the necessary changes but I think an Seriously, with pleasure and optimism, Andre Bulatov, full stack web developerw: http://andrebulatov.com On Sun, Jan 24, 2016 at 6:44 PM, Andre Bulatov andre.bulatov@gmail.com
|
Nginx reloaded! Montrey Whittaker www.earmilk.com http://www.earmilk.com/ www.facebook.com/earmilk http://www.facebook.com/earmilk On Sun, Jan 24, 2016 at 9:31 PM, Andre notifications@github.com wrote:
|
Why is Markdown so goofy in these GitHub comments? Sometimes it works, sometimes it doesn't... |
I just verified in Chrome, Safari and Chrome, all in private mode, and "www.earmilk.com" properly redirects to "earmilk.com" with the latest PHP and CSS files, the first time, and every time. Please verify and confirm on your end and close issue if all is well. |
The redirect works but if you click any links you get 404 |
Error log shows: |
I've removed previous W3TC settings from the VHost. Please try another reload. |
Done. Should we turn on W3TC again or? Montrey Whittaker www.earmilk.com http://www.earmilk.com/ www.facebook.com/earmilk http://www.facebook.com/earmilk On Sun, Jan 24, 2016 at 10:17 PM, Andre notifications@github.com wrote:
|
Ok, so first things first, those errors in the log are from yesterday it seems, around 4am on the 24th. I don't think they're related. Also, I know what they are referring to and I've just fixed that issue -- it was basically nothing. The one thing I did notice about those errors in the log, and this may be inconsequential, but the error log refers to the site as "server: www.earmilk.com"... |
I am not yet sure what the 404s were caused by -- my theories are either (a) stray W3TC settings in VHost, or (b) my inclusion of the correct nginx.conf file (not sure why that would be though). Before your last "nginx reload," I not only removed the stray code from VHost but I also commented out the inclusion line for W3TC. W3TC is now on, but I don't think it is working. Also all redirection seems to be working fine. My guess though, is that W3TC is simply not working, hence redirection works and no 404s. I'm gonna need to try to un-comment that and for you to reload again. |
I think it may also have been that (c) in "W3TC -->> General Settings -->> Miscellaneous," the path was to '/etc/nginx/sites-available/earmilk.com.conf,' which is not write-able (but still had some stray W3TC settings). |
When we finish this, an additional
may be prudent. |
So it's only complaint at this point is that the file is missing.
Please confirm when you get a chance and reopen the issue if you see any of the same behaviors (eg, site-wide 404s except for homepage). What we really need to work on it seems, is careful configuration of W3TC. Ie, there is no bug in the main VHost anymore, and W3TC is turned on and working with minimal settings. |
This is an `include` to W3TCs edit-able nginx.conf file at WP-root. Now all settings can be dynamically configured from W3TC’s WP-backend admin panel. The issue was not with my new `include` reference to W3TC’s editable nginx.conf, at WordPress root, in the main VHost, but with W3TC settings themselves as they were in its old nginx.conf file. This fixes #9 but we still need to configure W3TC to work optimally.
In Private/Incognito tabs, www.earmilk.com loads non-existent cached fiiles and doesn't forward to non-www.
This behavior is observed in any browser's "Private" mode.
The text was updated successfully, but these errors were encountered: