Moderator
Yui
(@fierevere)
永子
Easy,
Back up your site, so you can roll back in case you encounter problems.
Ensure that your PHP version is at least 5.6.20+ (7.2 recommended. It will be OK to update PHP prior to WordPress upgrade. WP 4.9 can run on PHP up to 7.2)
Update plugins and theme. Check if everything is running smooth.
Dashboard: Updates.
You can update with one button click to 5.4.1
Update plugins and theme. If here will be more updates for them.
Check if everything is smooth.
ok Yui,
thank you very much !
My actual php version is 5.6.40
but the button to upgrade doesn’t appears on the WP dashboard
(does it appears only if i have php 7.2 ?)
Moderator
Yui
(@fierevere)
永子
5.6.40 is End of Life,
but it support direct update to WP 5.4.x
If you dont have button – check if you are administrator.
Some 3rd party WP builds can have updates blocked.
Back Up.
Update plugins, themes
Get the archive for desired version https://wordpress.org/download/releases/
If you can – close site for visitors (maintenance mode)
Order deny,allow
Deny from all
on top of your .htaccess will do the job and keep your db safe, when you are on the next step
Remove /wp-admin/ and /wp-includes/ folders
Replace them with archive versions, and .php files in site root.
Remove maintenance mode strings from .htaccess
Go dashboard and update plugins and themes.
Check if you have Dashboard: Updates, reinstall button (or upgrade, if you choosen not the latest WP branch)
thank you for your detailled answer.
Yes, i have an administrator account.
My theme is a bespoke one, it was specially developed by a studio for my site.