{"id":30361,"date":"2025-03-05T09:03:00","date_gmt":"2025-03-05T08:03:00","guid":{"rendered":"https:\/\/www.web-systems.pl\/wordpress-update-without-breaking-your-site\/"},"modified":"2026-10-13T14:39:51","modified_gmt":"2026-10-13T13:39:51","slug":"wordpress-update-without-breaking-your-site","status":"publish","type":"post","link":"https:\/\/www.web-systems.pl\/en\/wordpress-update-without-breaking-your-site\/","title":{"rendered":"WordPress update: how to do it without breaking your site"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">A safe WordPress update always follows the same order: a fresh backup, a test on staging, then core, plugins and theme, and finally a check of the paths your company makes money on.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Have you been avoiding the &#8220;Update&#8221; button for months? Then every extra week adds more changes that will have to be installed all at once later. And the bigger the pile of new stuff, the harder it is to work out which change caused the conflict. Below is a procedure that will take the stress out of this step.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_86 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.web-systems.pl\/en\/wordpress-update-without-breaking-your-site\/#Why_is_putting_off_updates_a_bigger_risk_than_the_update_itself\" >Why is putting off updates a bigger risk than the update itself?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.web-systems.pl\/en\/wordpress-update-without-breaking-your-site\/#Backup_before_the_update_where_to_start\" >Backup before the update: where to start<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.web-systems.pl\/en\/wordpress-update-without-breaking-your-site\/#Staging_test_environment_check_the_changes_before_your_customers_see_them\" >Staging test environment: check the changes before your customers see them<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.web-systems.pl\/en\/wordpress-update-without-breaking-your-site\/#WordPress_update_step_by_step_core_plugins_theme\" >WordPress update step by step: core, plugins, theme<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.web-systems.pl\/en\/wordpress-update-without-breaking-your-site\/#What_to_check_after_the_update_testing_the_key_paths\" >What to check after the update: testing the key paths<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.web-systems.pl\/en\/wordpress-update-without-breaking-your-site\/#What_to_do_when_an_update_breaks_the_site\" >What to do when an update breaks the site?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.web-systems.pl\/en\/wordpress-update-without-breaking-your-site\/#Automatic_WordPress_updates_which_to_turn_on_and_which_to_keep_manual\" >Automatic WordPress updates: which to turn on and which to keep manual<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.web-systems.pl\/en\/wordpress-update-without-breaking-your-site\/#Frequently_asked_questions\" >Frequently asked questions<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.web-systems.pl\/en\/wordpress-update-without-breaking-your-site\/#How_often_should_I_update_plugins_and_WordPress\" >How often should I update plugins and WordPress?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.web-systems.pl\/en\/wordpress-update-without-breaking-your-site\/#Can_I_update_WordPress_without_staging\" >Can I update WordPress without staging?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.web-systems.pl\/en\/wordpress-update-without-breaking-your-site\/#What_should_I_do_when_the_site_shows_a_critical_error_after_an_update\" >What should I do when the site shows a critical error after an update?<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_is_putting_off_updates_a_bigger_risk_than_the_update_itself\"><\/span>Why is putting off updates a bigger risk than the update itself?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Because the backlog piles up. Changes and unpatched vulnerabilities grow with every week, so a late jump across several versions hurts more than regular, small steps. The makers of the system recommend staying on the latest release, and for a jump across several versions they point to the extended procedure in the <a href=\"https:\/\/wordpress.org\/documentation\/article\/updating-wordpress\/\" rel=\"nofollow noopener\" target=\"_blank\">official WordPress update documentation<\/a>. Oh, and one more thing. An update overwrites the core files, so any fix typed directly into them will simply disappear. Keep your own modifications in a child theme or in a separate plugin. And yes, regular patching is just one piece of a bigger puzzle, which is <a href=\"https:\/\/www.web-systems.pl\/en\/wordpress-security-hardening-protect-your-site-from-attacks\/\">hardening your WordPress security<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Backup_before_the_update_where_to_start\"><\/span>Backup before the update: where to start<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Without a full copy of the files and the database, we do not click &#8220;Update&#8221;. Period. The backup has to cover both, sit outside the server the site runs on, and actually be restorable (a copy nobody has ever restored is more of a hope than a safeguard). So practice a restore once, calmly, before you have to do it under pressure. What counts is a copy from the day of the update, not from a week ago. After all, orders, messages and new posts have come in since then. Don&#8217;t have a set method yet? A good starting point is a <a href=\"https:\/\/www.web-systems.pl\/en\/how-to-back-up-wordpress-website-with-updraftplus\/\">backup made with UpdraftPlus<\/a> that sends the archive to external cloud storage.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Staging_test_environment_check_the_changes_before_your_customers_see_them\"><\/span>Staging test environment: check the changes before your customers see them<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Staging is a copy of the site where you test the update without touching production, that is, the version your visitors see. When is it essential? When you run a store, have forms connected to a CRM or a mailing system, rely on a dozen or more plugins or use a custom-built theme. Many hosting companies provide such a copy with one click in the panel. You can also set up an installation locally, on your own computer. We describe how to organize the whole deployment process in our article on <a href=\"https:\/\/www.web-systems.pl\/en\/staging-and-version-control-in-wordpress\/\">staging and versioning changes<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"WordPress_update_step_by_step_core_plugins_theme\"><\/span>WordPress update step by step: core, plugins, theme<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">One thing at a time. A single element per step, and a quick look at the site after each one. That is the only way to know what caused an error, if one appears.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Core<\/strong>: Dashboard &gt; Updates &gt; &#8220;Update Now&#8221;.<\/li>\n<li><strong>Plugins<\/strong>: one by one, starting with the critical ones, e.g. WooCommerce.<\/li>\n<li><strong>Theme<\/strong>: the parent theme first, then the child theme.<\/li>\n<li><strong>Translations<\/strong>: last, once everything else works.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Before you start on the plugins, look through their changelog, that is, the list of changes. Especially when the first digit of the version number changes, because that usually means something bigger is going on. And what if WordPress suddenly asks for FTP credentials? It is about who owns the files on the server. Just enter the details of the FTP account that was used to upload the site.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_to_check_after_the_update_testing_the_key_paths\"><\/span>What to check after the update: testing the key paths<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After the update, you click through the paths your company makes money on or collects leads through. Opening the home page alone proves nothing. Nothing.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>the contact form, including whether the message actually reaches the inbox,<\/li>\n<li>the cart and a test payment,<\/li>\n<li>customer login and the account panel,<\/li>\n<li>the menu and the mobile version,<\/li>\n<li>the on-site search.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Also look at the server error log and the browser console, because a good share of faults simply cannot be seen on the screen. Only when the test on staging passes cleanly do you repeat the same sequence on production.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_to_do_when_an_update_breaks_the_site\"><\/span>What to do when an update breaks the site?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">First of all, don&#8217;t panic. When a critical error occurs, WordPress sends the administrator an email with a link to recovery mode, where you can turn off the plugin or theme at fault. A white screen and no access to the panel at all? Then you connect via FTP or your hosting file manager and rename the folder of the suspect plugin. That deactivates it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The message about a failed update will disappear once you delete the <em>.maintenance<\/em> file from the main installation folder. Leave restoring the backup for the very end, as a last resort. But be careful: if after the failure you see strange redirects or files that nobody uploaded, the site may have been infected. In that case, removing viruses from the site will help.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Automatic_WordPress_updates_which_to_turn_on_and_which_to_keep_manual\"><\/span>Automatic WordPress updates: which to turn on and which to keep manual<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">WordPress installs minor fixes and core security patches by itself, in the background. Major releases still require a click, which the update guide on WordPress.org confirms. You turn on automatic updates for plugins and themes one by one, on the list in the panel. With simple add-ons, that is convenient. With a store and integrations? In my opinion, it is better to keep a close eye on things. The rule is actually simple: automation where a failure costs nothing, manual and tested where sales are at stake. And a steady rhythm, e.g. once a month, works much better than bursts of activity every six months.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A WordPress update stops being a risk when it has a fixed procedure: backup, staging, elements one by one and a test of the sales paths. After a few such cycles it is fifteen minutes of work, not a whole nervous evening. Want to handle it yourself and know exactly what you are clicking? WordPress and <a href=\"https:\/\/www.web-systems.pl\/en\/wordpress-woocommerce-training\/\">WooCommerce training<\/a> will come in handy.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Frequently_asked_questions\"><\/span>Frequently asked questions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<div id=\"rank-math-faq\" class=\"rank-math-block\">\n<div class=\"rank-math-list \">\n<div id=\"faq-question-1790789561068-0\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><span class=\"ez-toc-section\" id=\"How_often_should_I_update_plugins_and_WordPress\"><\/span>How often should I update plugins and WordPress?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Regularly, in a fixed cycle, e.g. every month. Install security fixes right away, because they close known vulnerabilities. Install major releases only after a test on a copy of the site.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1790789561068-1\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><span class=\"ez-toc-section\" id=\"Can_I_update_WordPress_without_staging\"><\/span>Can I update WordPress without staging?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>With a small brochure site and a fresh backup, usually yes. In an online store or on a site with integrations, better not, because an error hits orders and leads right away.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1790789561068-2\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><span class=\"ez-toc-section\" id=\"What_should_I_do_when_the_site_shows_a_critical_error_after_an_update\"><\/span>What should I do when the site shows a critical error after an update?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Check the administrator inbox, open the recovery mode link from the email and turn off the plugin or theme that caused the error. Without access to the panel, rename the plugin folder via FTP. Didn&#8217;t help? Restore the backup.<\/p>\n\n<\/div>\n<\/div>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>A safe WordPress update always follows the same order: a fresh backup, a test on staging, then core, plugins and theme, and finally a check of the paths your company makes money on. Have you been avoiding the &#8220;Update&#8221; button for months? Then every extra week adds more changes that will have to be installed [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":30327,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[832,838],"tags":[2332,1081,901,1797,2324,1192],"class_list":["post-30361","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-guides","category-wordpress-en","tag-backup","tag-how-to","tag-security","tag-staging-en","tag-updates-x","tag-wordpress-en"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/posts\/30361","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/comments?post=30361"}],"version-history":[{"count":3,"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/posts\/30361\/revisions"}],"predecessor-version":[{"id":30410,"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/posts\/30361\/revisions\/30410"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/media\/30327"}],"wp:attachment":[{"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/media?parent=30361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/categories?post=30361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/tags?post=30361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}