{"id":2532,"date":"2008-02-23T21:34:45","date_gmt":"2008-02-23T21:34:45","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/old-post-date\/"},"modified":"2009-06-17T22:58:11","modified_gmt":"2009-06-17T22:58:11","slug":"old-post-date","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/old-post-date\/","author":186678,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.3","stable_tag":"trunk","tested":"2.5.1","requires":"2.3","requires_php":"","requires_plugins":"","header_name":"old_post_date","header_author":"Weston Ruter","header_description":"","assets_banners_color":"","last_updated":"2009-06-17 22:58:11","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/weston.ruter.net\/donate\/","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/old-post-date\/","header_author_uri":"http:\/\/weston.ruter.net\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1771,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[1358,2215,166,727],"plugin_category":[49],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-2532","plugin","type-plugin","status-closed","hentry","plugin_tags-date","plugin_tags-location","plugin_tags-posts","plugin_tags-redirect","plugin_category-maps-and-location","plugin_committers-westonruter"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/old-post-date.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p><em>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 <a href=\"http:\/\/weston.ruter.net\/contact\/\">contact me<\/a>.<\/em><\/p>\n <p>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 <code>post_date<\/code>. Whenever a post is saved and the <code>post_date<\/code>\nis changed, a new post meta entry with the key '<code>old_post_date<\/code>' is inserted with the value of the new <code>post_date<\/code>. \nWhen a visitor gets a 404 from a permalink that contains chronology, this plugin looks up the post meta for an <code>old_post_date<\/code>\nthat matches their request; if multiple matches are found, then it narrows down the results by looking at the requested post slug in both <code>post_name<\/code> and then in <code>_old_post_slug<\/code>. Finally, the user is redirected to the permalink for the found post, which should be the post they originally requested.<\/p>\n <p>Upon activation, this plugin creates a new <code>old_post_date<\/code> post meta entry corresponding to each post's current <code>post_date<\/code>.<\/p>\n <p>If you value this plugin, <em>please donate<\/em> to ensure that it may continue to be maintained and improved.<\/p>\n <h4>Changelog<\/h4>\n <p><em>2008-06-06: 1.0.3<\/em><\/p>\n <ul>\n<li>Not saving old post_date if the post has draft status<\/li>\n<\/ul>\n <p><em>2008-06-06: 1.0.2<\/em><\/p>\n <ul>\n<li>Using permanent (302) redirects instead of temporary (301) ones<\/li>\n<\/ul>\n <p><em>2008-02-24: 1.0.1<\/em><\/p>\n <ul>\n<li>Now accounting for when there are no matching old post dates<\/li>\n<\/ul>","raw_excerpt":"If post_date changes, chronological permalinks which contain parts of the old date will automatically redirect to the\nnew permalink.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/2532","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=2532"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/westonruter"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=2532"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=2532"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=2532"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=2532"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=2532"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=2532"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}