Domain mapping + Multisite + W3TC cache purging problem


Hi there! So I have a multisite install setup with:

ee site create --wpsubdom --w3tc

I’ve added the Domain Mapping plugin with all options set to Off except ‘User domain mapping page’ and uncommented the appropriate line in the nginx config. In W3TC I have:

Page Cache: Disk Enhanced
Database Cache: Memcached
Object Cache: Memcached

and Minify, Browser Cache, CDN and Reverse Proxy off.

I can add and edit posts on all sites fine, but to see them when not logged in (i.e. through the page cache) I have to manually purge it with Performance > Empty All Caches.

The W3TC Page Cache settings are left as default: Purge policy: Page Cache > Front Page + Post Page + Blog Feed ticked. Hence I’m a bit confused as to why the relevant pages aren’t getting purged from the cache.

Any help much appreciated!


…a further thing I noticed, which I guess is related to this, is with Page Cache debugging turned on in W3TC I get the message:

W3 Total Cache error: It appears Page Cache URL rewriting is not working. Please verify that all configuration files are included in the configuration file (and that you have reloaded / restarted nginx).
Unfortunately disk enhanced page caching will not function without custom rewrite rules. Please ask your server administrator for assistance. Also refer to the install page for the rules for your server.

Technical info
nginx configuration file contains rules to rewrite url http://eetest.loc/w3tc_rewrite_test into http://eetest.loc/?w3tc_rewrite_test which, if handled by plugin, return "OK" message.
The plugin made a request to http://eetest.loc/w3tc_rewrite_test but received: 
200 OK
instead of "OK" response. 

This is on a local VM I just set up to test this, running a fresh install of EasyEngine 2.2.1 on Ubuntu 14.04.1. Identical behaviour on my live server :frowning:


Hi @vonkanehoffen

It’s been a long time, and we haven’t heard from you. It looks like your issue is resolved.

Please try the latest Easyengine. If the issue persists, feel free to create a new support topic if you have any queries further. :slight_smile:

I am closing this support topic for now.