Exclude directory from cache not working
-
Hi,
I have WordPress installed in the web root.
I have a subdirectory called /analytics, which has been turned into a subdomain analytics.mydomain.com.
This analytics.mydomain.com is not functioning correctly.
In W3 TC, I went to Page Cache > Advanced > Cache exception list:
and added “analytics” & “/home/username/public_html/analytics” (without quotes).However, analytics.mydomain.com still does not work.
On this thread,
Frederick Townes writes:You can add ExpiresActive off directive to .htaccess directive you need to be excluded from global policies W3TC sets.
What would this look like in .htaccess, using the subdirectory/subdomain “analytics” as an example?
Thanks and regards,
Steve
- The topic ‘Exclude directory from cache not working’ is closed to new replies.