Hello @pawkat
I am sorry about the issue you are experiencing with the redirects and I am happy to assist you with this.
The disk-enhanced caching method doesn’t support caching redirects.
Redirects work in that case like if there’s no W3TC plugin.
Can you please let me know if you are using a caching method other than Disk: Enhanced and if you possibly have the option “Cache URIs with query string variables” enabled.
Also, after inspecting your website, I can also see that you have mod_pagespeed, so there is a possibility of the double caching layer.
As I mentioned before, the disk-enhanced caching method does not cache query parameters.
Thanks!
Thread Starter
pawkat
(@pawkat)
@vmarko, thank you for the fast reply.
My settings:
Page cache method – Disk: Basic (https://prnt.sc/10uvk6b)
Cache URIs with query string variables – off.
I tried to on “Cache URIs with query string variables”, and it’s helpful.
Hello @pawkat
Thank you for the information.
I am not sure I understand. Does the option help in your case?
Have you tried Disk: Enhanced?
Thanks!
Thread Starter
pawkat
(@pawkat)
Hello @vmarko
Cache URIs with query string variables doesn’t help.
Disk: Enhanced option solved the problem.
Can you please tell us how Disk: Enhanced differs from Disk: Basic?
Hello @pawkat
Thank you for the information. Glad to know the issue is resolved.
Disk: Enhanced – avoids invoking any PHP script, instead, it modifies the .htaccess/nginx file to direct Apache2/nginx to a static (cached) version of the resource.
So you should use “Enhanced” as it serves cached pages using the server’s URL rewriting capabilities, skipping PHP and WordPress entirely. It’s faster and more efficient.
Thanks!
Thread Starter
pawkat
(@pawkat)
Thank you so much @vmarko