{"id":2568,"date":"2019-05-10T08:29:43","date_gmt":"2019-05-10T13:29:43","guid":{"rendered":"http:\/\/bluegalaxy.info\/codewalk\/?p=2568"},"modified":"2019-05-12T10:49:10","modified_gmt":"2019-05-12T15:49:10","slug":"wordpress-how-to-downgrade-to-a-previous-version","status":"publish","type":"post","link":"https:\/\/bluegalaxy.info\/codewalk\/2019\/05\/10\/wordpress-how-to-downgrade-to-a-previous-version\/","title":{"rendered":"WordPress: How to downgrade to a previous version"},"content":{"rendered":"\n<p>I recently updated this blog to WordPress version 5.1.1, only to find that one of my plugins called CodePen Embedded Pens Shortcode stopped working. I didn&#8217;t think to deactivate, reinstall, and reactivate the plugin again in the new version, which would have solved the problem, so instead I looked for options for rolling back my WordPress to an earlier version. This article details how to do that.<\/p>\n\n\n\n<p>To safely roll back to a previous version, do the following:<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Step 1: Download a fresh copy of the previous WordPress version<\/h4>\n\n\n\n<p>Previous versions of WordPress can be downloaded here:<br><a href=\"https:\/\/wordpress.org\/download\/releases\/\">https:\/\/wordpress.org\/download\/releases\/<\/a><br><br>In my case I wanted to roll back to version 4.7, so I clicked the .zip to download it. <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"629\" height=\"233\" src=\"http:\/\/bluegalaxy.info\/codewalk\/wp-content\/uploads\/2019\/05\/image.png\" alt=\"\" class=\"wp-image-2574\" srcset=\"https:\/\/bluegalaxy.info\/codewalk\/wp-content\/uploads\/2019\/05\/image.png 629w, https:\/\/bluegalaxy.info\/codewalk\/wp-content\/uploads\/2019\/05\/image-300x111.png 300w\" sizes=\"auto, (max-width: 629px) 100vw, 629px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Step 2: Deactivate all of your plugins<\/h4>\n\n\n\n<p>In the WordPress dashboard, click the top checkbox to check all plugins and then choose Deactivate &#8211;&gt; Apply.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"515\" height=\"243\" src=\"http:\/\/bluegalaxy.info\/codewalk\/wp-content\/uploads\/2019\/05\/deactivate2.jpg\" alt=\"\" class=\"wp-image-2606\" srcset=\"https:\/\/bluegalaxy.info\/codewalk\/wp-content\/uploads\/2019\/05\/deactivate2.jpg 515w, https:\/\/bluegalaxy.info\/codewalk\/wp-content\/uploads\/2019\/05\/deactivate2-300x142.jpg 300w\" sizes=\"auto, (max-width: 515px) 100vw, 515px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Step 3: Log out of WordPress<\/h4>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"278\" height=\"159\" src=\"http:\/\/bluegalaxy.info\/codewalk\/wp-content\/uploads\/2019\/05\/wp-logout.jpg\" alt=\"\" class=\"wp-image-2609\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Step 4: FTP into your WordPress server location<\/h4>\n\n\n\n<p>Once logged into your WordPress site via an FTP program like FileZilla, delete the wp-admin and wp-includes folders. <br><strong>Note: DO NOT delete the wp-content folder!<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/bluegalaxy.info\/codewalk\/wp-content\/uploads\/2019\/05\/wp-downgrade-delete.jpg\" alt=\"\" class=\"wp-image-2618\" width=\"362\" height=\"375\" srcset=\"https:\/\/bluegalaxy.info\/codewalk\/wp-content\/uploads\/2019\/05\/wp-downgrade-delete.jpg 419w, https:\/\/bluegalaxy.info\/codewalk\/wp-content\/uploads\/2019\/05\/wp-downgrade-delete-290x300.jpg 290w\" sizes=\"auto, (max-width: 362px) 100vw, 362px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Step 5: Upload previous version WordPress files via FTP<\/h4>\n\n\n\n<p>Now with the same FTP connection, upload wp-admin, wp-includes, and the rest of the wp files from the version of WordPress that you are downgrading to. These files will overwrite the WordPress files on your server. <br><strong>Note: DO NOT overwrite the wp-content folder!<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/bluegalaxy.info\/codewalk\/wp-content\/uploads\/2019\/05\/wp-downgrade-upload-1.jpg\" alt=\"\" class=\"wp-image-2621\" width=\"368\" height=\"381\" srcset=\"https:\/\/bluegalaxy.info\/codewalk\/wp-content\/uploads\/2019\/05\/wp-downgrade-upload-1.jpg 419w, https:\/\/bluegalaxy.info\/codewalk\/wp-content\/uploads\/2019\/05\/wp-downgrade-upload-1-290x300.jpg 290w\" sizes=\"auto, (max-width: 368px) 100vw, 368px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Step 6: Log back in and update your WordPress database<\/h4>\n\n\n\n<p>Once you log back into your WordPress dashboard, you will be prompted to update your WordPress database. Click the button that says Update WordPress Database, and then the downgrade to previous version of WordPress will be complete.<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/bluegalaxy.info\/codewalk\/wp-content\/uploads\/2019\/05\/wp-update-db.jpg\" alt=\"\" class=\"wp-image-2625\" width=\"339\" height=\"199\" srcset=\"https:\/\/bluegalaxy.info\/codewalk\/wp-content\/uploads\/2019\/05\/wp-update-db.jpg 431w, https:\/\/bluegalaxy.info\/codewalk\/wp-content\/uploads\/2019\/05\/wp-update-db-300x176.jpg 300w\" sizes=\"auto, (max-width: 339px) 100vw, 339px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>I recently updated this blog to WordPress version 5.1.1, only to find that one of my plugins called CodePen Embedded Pens Shortcode stopped working. I didn&#8217;t think to deactivate, reinstall, and reactivate the plugin again in the new version, which would have solved the problem, so instead I looked for options for rolling back my &hellip; <a href=\"https:\/\/bluegalaxy.info\/codewalk\/2019\/05\/10\/wordpress-how-to-downgrade-to-a-previous-version\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">WordPress: How to downgrade to a previous version<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[190,9],"class_list":["post-2568","post","type-post","status-publish","format-standard","hentry","category-wordpress","tag-codepen","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/bluegalaxy.info\/codewalk\/wp-json\/wp\/v2\/posts\/2568","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bluegalaxy.info\/codewalk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bluegalaxy.info\/codewalk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bluegalaxy.info\/codewalk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bluegalaxy.info\/codewalk\/wp-json\/wp\/v2\/comments?post=2568"}],"version-history":[{"count":33,"href":"https:\/\/bluegalaxy.info\/codewalk\/wp-json\/wp\/v2\/posts\/2568\/revisions"}],"predecessor-version":[{"id":2628,"href":"https:\/\/bluegalaxy.info\/codewalk\/wp-json\/wp\/v2\/posts\/2568\/revisions\/2628"}],"wp:attachment":[{"href":"https:\/\/bluegalaxy.info\/codewalk\/wp-json\/wp\/v2\/media?parent=2568"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bluegalaxy.info\/codewalk\/wp-json\/wp\/v2\/categories?post=2568"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bluegalaxy.info\/codewalk\/wp-json\/wp\/v2\/tags?post=2568"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}