WordPress Manual Upgrade for Experts: Difference between revisions

mNo edit summary
mNo edit summary
Line 32: Line 32:
==Upgrade==
==Upgrade==


*Download whichever version of WordPress you need / want: https://wordpress.org/download/releases/
*Download whichever version of WordPress you need / want from here (Minor version upgrades are the safest, IE 4.9.13 to 4.9.16): https://wordpress.org/download/releases/
*Extract the files (if downloading a TAR version);
*Extract the files (if downloading a TAR version)
 
AND
 
*Move or copy the ''extracted'' files to a directory of the same name as the ''original'' web server directory (IE, after the above MV command when backing up the WordPress Site, the original Directory containing the site should not exist (or at least be empty)): mv Source Destination
<syntaxhighlight lang="text">
<syntaxhighlight lang="text">
tar -xf WhatEverFileName
tar -xf WhatEverFileName
Line 43: Line 47:
</syntaxhighlight>
</syntaxhighlight>


*Move or copy the ''extracted'' files to a directory of the same name as the ''original'' web server directory (IE, after the above MV command when backing up the WordPress Site, the original Directory containing the site should not exist (or at least be empty)): mv Source Destination
*
*Set the proper ownership and file permissions on the new files (the below example is for Apache on CentOS)
*Set the proper ownership and file permissions on the new files (the below example is for Apache on CentOS)
<syntaxhighlight lang="text">
<syntaxhighlight lang="text">