Notice: This plugin is not being actively maintained. Other priorities have arisen which have forced development to discontinue. Being open source and free, you are of course free to take the code and improve upon it; if you are a developer and would like to be added as a commiter to this plugin, please contact me.
Just as the core WordPress functionality now keeps track of old post slugs and redirects visitors to proper permalink, this plugin does the same thing for the
post_date. Whenever a post is saved and the
is changed, a new post meta entry with the key ‘
old_post_date‘ is inserted with the value of the new
When a visitor gets a 404 from a permalink that contains chronology, this plugin looks up the post meta for an
that matches their request; if multiple matches are found, then it narrows down the results by looking at the requested post slug in both
post_name and then in
_old_post_slug. Finally, the user is redirected to the permalink for the found post, which should be the post they originally requested.
Upon activation, this plugin creates a new
old_post_date post meta entry corresponding to each post’s current
If you value this plugin, please donate to ensure that it may continue to be maintained and improved.
- Not saving old post_date if the post has draft status
- Using permanent (302) redirects instead of temporary (301) ones
- Now accounting for when there are no matching old post dates