This request for help is more of a fact finding mission on how to go about getting help. Here is the situation:
The georgiabulletin.org website has content in English and Spanish. For some reason I can't explain the main menu keeps switching to having all the links include the /es/ for Spanish when they are actually supposed to be in English.
When I try to troubleshoot this by copying the site to a staging site the problem goes away and if I push the staging on live without making any changes it fixes the issue until it happens again a couple weeks later.
Any suggestions? Or where to start on this one?
Things I tried before copying the staging include...
1. Clearing all server caches
2. Resaving Permalinks
3. clearing some of the WPML troubleshooting options
I just fixed this again today with the same copy to staging, copy to live, resave permalinks trick that worked last time.
I don't believe Nginx uses .htaccess? The site is hosted by wpmudev hosting and does have a static caching service active. Clearing the cache did not restore the menu. I agree it is a caching problem since the staging version has no caching and the problem goes away. When I push from staging the live the problem is corrected within 30 minutes. I would just prefer to figure out why this is happening.
I am sorry for the confusion, you're correct that Nginx does not use .htaccess files, it handles configuration and rewrite rules within its main configuration files (nginx.conf) or within server block files.
---
Since you're using WPMU DEV hosting, it's possible there are multiple layers of caching at play beyond just Nginx's static file caching. These can include:
- Application-level caching within WordPress itself (via plugins or built-in mechanisms).
- Server-side caching managed by Nginx or additional caching systems like Varnish or Redis, depending on your hosting setup.
- CDN caching if you're using a Content Delivery Network to serve static assets.
---
I would suggest:
- update any plugin which might need update
- check if any server log files and WP debug.log for any errors or warnings that might relate to what's going wrong when the menu fails to display.
- given the 30 minutes timing related to the issue correction, I would suggest also checking with the WPMU DEV hosting support team if they may have insights or tools to help diagnose caching issues specific to their hosting environment.
Let me know if you have further questions,
Marsel
The topic ‘[Closed] Trying to figure out how to troubleshoot a problem that keeps happening…’ is closed to new replies.