{"id":4169,"date":"2022-06-05T10:54:23","date_gmt":"2022-06-05T17:54:23","guid":{"rendered":"https:\/\/SUMMALAI.COM\/?p=4169"},"modified":"2022-06-05T10:55:07","modified_gmt":"2022-06-05T17:55:07","slug":"how-to-update-wordpress-to-6-manually","status":"publish","type":"post","link":"https:\/\/SUMMALAI.COM\/?p=4169","title":{"rendered":"How to Update WordPress to 6 Manually."},"content":{"rendered":"\n<p><strong>Summa&#8217;s notes<\/strong><\/p>\n\n\n\n<p>1, You may need to stop the httpd service first if you are using a non-hosting platform.<\/p>\n\n\n\n<p>For example, <\/p>\n\n\n\n<p>I am using Centos Stream, to stop the web service,<\/p>\n\n\n\n<p><strong><em>systemctl stop httpd.service<\/em><\/strong><\/p>\n\n\n\n<p>When the update is finished, to start the httpd service,<\/p>\n\n\n\n<p><strong><em>systemctl start httpd.service<\/em><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"392\" height=\"89\" src=\"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2022\/06\/image.png\" alt=\"\" class=\"wp-image-4170\" srcset=\"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2022\/06\/image.png 392w, https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2022\/06\/image-300x68.png 300w\" sizes=\"(max-width: 392px) 100vw, 392px\" \/><figcaption>stop and start httpd service<\/figcaption><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>2, I skipped the steps for deactivating and activating plugins.<\/p>\n\n\n\n<p>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<\/p>\n\n\n\n<p>These are the short instructions, if you want more check out the&nbsp;<a href=\"https:\/\/wordpress.org\/support\/article\/upgrading-wordpress-extended-instructions\/\">extended upgrade<\/a>&nbsp;instructions. If you experience problems with the Three Step Update, you may want to review the&nbsp;<a href=\"https:\/\/wordpress.org\/support\/article\/upgrading-wordpress-extended-instructions\/\">more detailed upgrade instructions<\/a>.<\/p>\n\n\n\n<p>For these instructions, it is assumed that your blog\u2019s URL is&nbsp;<code>http:\/\/example.com\/wordpress\/<\/code>.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-1-replace-wordpress-files\"><a href=\"https:\/\/wordpress.org\/support\/article\/updating-wordpress\/#step-1-replace-wordpress-files\">Step 1: Replace WordPress files<\/a><\/h3>\n\n\n\n<ol class=\"wp-block-list\"><li>Get the&nbsp;<a href=\"https:\/\/wordpress.org\/download\/\">latest WordPress<\/a>&nbsp;zip (or tar.gz) file.<\/li><li>Unpack the zip file that you downloaded.<\/li><li>Deactivate plugins.<\/li><li>Delete the old&nbsp;<code>wp-includes<\/code>&nbsp;and&nbsp;<code>wp-admin<\/code>&nbsp;directories on your web host (through your&nbsp;<a href=\"https:\/\/wordpress.org\/support\/article\/ftp-clients\/\">FTP<\/a><a>&nbsp;<\/a>or shell access).<\/li><li>Using&nbsp;<a href=\"https:\/\/wordpress.org\/support\/article\/ftp-clients\/\">FTP&nbsp;<\/a>or your shell access, upload the new&nbsp;<code>wp-includes<\/code>&nbsp;and&nbsp;<code>wp-admin<\/code>&nbsp;directories to your web host, in place of the previously deleted directories.<\/li><li>Upload the individual files from the new&nbsp;<code>wp-content<\/code>&nbsp;folder to your existing&nbsp;<code>wp-content<\/code>&nbsp;folder, overwriting existing files. Do NOT delete your existing&nbsp;<code>wp-content<\/code>&nbsp;folder. Do NOT delete any files or folders in your existing&nbsp;<code>wp-content<\/code>&nbsp;directory (except for the one being overwritten by new files).<\/li><li>Upload all new loose files from the root directory of the new version to your existing WordPress root directory.<\/li><\/ol>\n\n\n\n<p>NOTE \u2013 you should replace all the old WordPress files with the new ones in the&nbsp;<code>wp-includes<\/code>&nbsp;and&nbsp;<code>wp-admin<\/code>&nbsp;directories and sub-directories, and in the root directory (such as&nbsp;<code>index.php<\/code>,&nbsp;<code>wp-login.php<\/code>&nbsp;and so on). Don\u2019t worry \u2013 your&nbsp;<code>wp-config.php<\/code>&nbsp;will be safe.<\/p>\n\n\n\n<p>Be careful when you come to copying the&nbsp;<code>wp-content<\/code>&nbsp;directory. You should make sure that you only copy the files from inside this directory, rather than replacing your entire&nbsp;<code>wp-content<\/code>&nbsp;directory. This is where your themes and plugins live, so you will want to keep them. If you have customized the default or classic themes without renaming them, make sure not to overwrite those files, otherwise you will lose your changes. (Though you might want to compare them for new features or fixes..)<\/p>\n\n\n\n<p>Lastly you should take a look at the&nbsp;<code>wp-config-sample.php<\/code>&nbsp;file, to see if any new settings have been introduced that you might want to add to your own&nbsp;<code>wp-config.php<\/code>.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-1-5-remove-maintenance-file\"><a href=\"https:\/\/wordpress.org\/support\/article\/updating-wordpress\/#step-1-5-remove-maintenance-file\">Step 1.5: Remove .maintenance file<\/a><\/h3>\n\n\n\n<p>If you\u2019re upgrading manually after a failed auto-upgrade, delete the file .maintenance from your WordPress directory using FTP. This will remove the \u201cfailed update\u201d nag message.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-2-update-your-installation\"><a href=\"https:\/\/wordpress.org\/support\/article\/updating-wordpress\/#step-2-update-your-installation\">Step 2: Update your installation<\/a><\/h3>\n\n\n\n<p>Visit your main WordPress admin page at \/wp-admin. You may be asked to login again. If a database upgrade is necessary at this point, WordPress will detect it and give you a link to a URL like&nbsp;<code>http:\/\/example.com\/wordpress\/wp-admin\/upgrade.php<\/code>. Follow that link and follow the instructions. This will update your database to be compatible with the latest code. You should do this as soon as possible after step 1.<\/p>\n\n\n\n<p>Don\u2019t forget to reactivate plugins!<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-3-do-something-nice-for-yourself\"><a href=\"https:\/\/wordpress.org\/support\/article\/updating-wordpress\/#step-3-do-something-nice-for-yourself\">Step 3: Do something nice for yourself<\/a><\/h3>\n\n\n\n<p>If you have caching enabled, clear the cache at this point so the changes will go live immediately. Otherwise, visitors to your site (including you) will continue to see the old version (until the cache updates).<\/p>\n\n\n\n<p>Your WordPress installation is successfully updated. That\u2019s as simple as we can make it without&nbsp;<a href=\"https:\/\/codex.wordpress.org\/Installing\/Updating_WordPress_with_Subversion\">Updating WordPress Using Subversion<\/a>.<\/p>\n\n\n\n<p>Consider rewarding yourself with a blog post about the update, reading that book or article you\u2019ve been putting off, or simply sitting back for a few moments and letting the world pass you by.<\/p>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/support\/article\/updating-wordpress\/#top\">Top \u2191<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"final-steps\"><a href=\"https:\/\/wordpress.org\/support\/article\/updating-wordpress\/#final-steps\">Final Steps<\/a><\/h2>\n\n\n\n<p>Your update is now complete, so you can go in and enable your Plugins again.<br>If you have issues with logging in, try clearing cookies in your browser.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Ref: https:\/\/wordpress.org\/support\/article\/updating-wordpress\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Summa&#8217;s notes 1, You may need to stop the httpd service first if you are using a non-hosting platform. For example, I am using Centos Stream, to stop the web service, systemctl stop httpd.service When the update is finished, to start the httpd service, systemctl start httpd.service 2, I skipped the steps for deactivating and <a class=\"read-more\" href=\"https:\/\/SUMMALAI.COM\/?p=4169\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[104,262,5,178],"tags":[1191,1190],"class_list":["post-4169","post","type-post","status-publish","format-standard","hentry","category-apache","category-centos","category-linux","category-wordpress","tag-update-wordpress-manually","tag-update-wordpress-to-6-manually"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/4169","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4169"}],"version-history":[{"count":2,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/4169\/revisions"}],"predecessor-version":[{"id":4172,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/4169\/revisions\/4172"}],"wp:attachment":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}