-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
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
Post Permalink Changes are not Clearing the Cache File for the Old Permalink #359
Comments
@sarangandk Thank you very much for the bug report and the detailed steps to recreate this! I have confirmed the bug. It looks like Quick Cache isn't properly detecting when the permalink changes. I'll label this as a bug and add it to the todo list. Thanks! |
This bug was fixed as part of the work on #441. |
Next release changelog:
|
This fix has been released with ZenCache v150409: If you need to follow-up with something related to this GitHub Issue, please open a new GitHub Issue. |
I found a bug in Quick Cache latest version. When I change permalink for a post and visit the old permalink, that old permalink and the new permalink works and duplicate content. It should delete the old cache and automatically redirect to new permalink without Quick Cache plugin.
To reproduce the error, try the following:
1.) Create a post in WordPress with some random content and publish.
2.) Let's say the permalink for the newly post is http://domain.tld/hello-world.html
3.) Log out from WordPress admin panel and visit http://domain.tld/hello-world.html to get the post cached.
4.) Now login again in WordPress admin panel, edit the post at http://domain.tld/hello-world.html and change the permalink to http://domain.tld/hi-world.html, save the post.
5.) Now logout from admin panel.
6.) Visit http://domain.tld/hello-world.html & http://domain.tld/hi-world.html
7.) Both page will load fine = Duplicate content.
What should have happened is, the cache for the old permalink should have been cleared.
The text was updated successfully, but these errors were encountered: