WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm having some strange behavior with my W3 Total Cache solution working on my multi-user Wordpress 3 installation. The multi-user is setup to use sub directories, and I'm using all types of caching in W3. My suspicion is that my problem has something to do with the .htaccess file.

Periodically (but not consistently) navigating to certain parts of the site will end up redirecting to the wrong place. For example if I goto /corporate/ which is one of the subsite directories, it will redirect to /directives/corporate-training/ which is a single post of a different sub-site. This only happens occasionally, sometimes it is not a problem (which is why I think it is somehow related to page caching)

The behavior suggests that somewhere in the redirect rules, it occasionally forgets to check for other sub-sites, and instead tries to match /corporate/ to the closest post slug in a different site.

Looking for any guidance on where to look for the problem.

share|improve this question

closed as off-topic by gmazzap, ialocin, birgire, Pieter Goosen, Rarst Aug 25 '14 at 16:04

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

I wonder why this question was downvoted without any explanation. – Michal Mau Jan 11 '11 at 11:52

There several possible scenarios:

  1. For some reason W3 is not properly configured or configuration was improperly applied to .htaccess files.
  2. W3 is properly configured but has compatibility issues with some part of your setup.
  3. This has nothing to do with W3 at all and comes from some other part of your setup or server.

From this little details it is hard to make educated guess. Aside from generic unnstall/reinstall W3 I can only suggest to try contacting W3 developer with oyur configuration details and your hosting support to check server logs for any visible issues.

share|improve this answer

Can you enable the rewrite log and see what rules are getting matched? You'll need to do it in the .htaccess or the apache config directly. Keep in mind, this level of logging will slow down the site..

share|improve this answer