Unexpected redirects related to page cache?
-
Hi,
We are seeing a random redirect on a website similar to an fix described in version 0.13.0 changelog.
Fixed caching of query-string normalization redirects, no longer cached when cache key is normalized by accept querystring arguments, caused redirect loop
e.g. For the URL https://example.com, once in a 1-3 days, the website starts doing a redirect loop to the same URL.
e.g.
https://example.com —> https://example.com?utm_campaign=xyz –loop–> https://example.com?utm_campaign=xyzThis stops if we purge the page cache for homepage.
We are using the latest version of W3TC 2.1.0.
Redis for page cache (Redis DB ID 1).
Redis for object cache (Redis DB ID 2).
For Page Cache, we have specified following as ‘Accepted query strings:’ to optimize the page cache for marketing parameters.utm_source utm_medium utm_content utm_terms utm_term utm_keyword utm_campaign utm_campaignname gclid dclid fbclid adgroupid network creative utm_adset
- The topic ‘Unexpected redirects related to page cache?’ is closed to new replies.