Open JordanMG opened 5 years ago
What does the Comet Cache debug output at the cached page bottom say? What URL does it think it's showing?
EDIT my Apache-based trailing slash redirects have been working fine for a few years now.
The debug output shows the trailing slash in the URL.
I'm thinking it's an nginx
config issue. Comet Cache shouldn't even be getting a hit, if you're properly redirecting at webserver level.
Yeah, I never imagined Comet Cache would be dealing with this either, but it seems to be.
Nginx config:
location / { try_files $uri $uri/ /index.php?$args ; }
The issue can also be replicated on the official Comet Cache blog:
https://cometcache.com/blog https://cometcache.com/blog/
https://cometcache.com/blog/comet-cache-v170808-rc-release-candidate https://cometcache.com/blog/comet-cache-v170808-rc-release-candidate/
When Comet Cache is activated, trailing-slash 301 redirects (if configured) do not work on posts.
To replicate: