We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When Comet Cache is activated, trailing-slash 301 redirects (if configured) do not work on posts.
To replicate:
The text was updated successfully, but these errors were encountered:
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.
Sorry, something went wrong.
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.
nginx
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 ; }
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/
No branches or pull requests
When Comet Cache is activated, trailing-slash 301 redirects (if configured) do not work on posts.
To replicate:
(example.com/post-name -> example.com/post-name/)
(example.com/post-name -> example.com/post-name)
The text was updated successfully, but these errors were encountered: